diff --git a/composer.json b/composer.json
index 3a15d321..878d0eec 100644
--- a/composer.json
+++ b/composer.json
@@ -5,8 +5,8 @@
"license": "GPL-3.0-or-later",
"require": {
"php": ">=7.4",
- "moodlehq/moodle-cs": "^v3.3.11",
- "phpcompatibility/php-compatibility": "dev-develop#0a17f9ed"
+ "moodlehq/moodle-cs": "^v3.3.12",
+ "phpcompatibility/php-compatibility": "dev-develop#306cd263"
},
"config": {
"platform": {
diff --git a/composer.lock b/composer.lock
index 00ccf136..3568cfce 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "1f240b14e4e06c4a29dfe747bfe9fbb1",
+ "content-hash": "04850f493c5607268a216c743489db99",
"packages": [
{
"name": "dealerdirect/phpcodesniffer-composer-installer",
@@ -86,23 +86,23 @@
},
{
"name": "moodlehq/moodle-cs",
- "version": "v3.3.11",
+ "version": "v3.3.12",
"source": {
"type": "git",
"url": "https://github.com/moodlehq/moodle-cs.git",
- "reference": "a415a541c7b9b56698db8bf0335ce767d02c05bb"
+ "reference": "9e3dcb07bfb3d0642f74e15253a5b44388782425"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/moodlehq/moodle-cs/zipball/a415a541c7b9b56698db8bf0335ce767d02c05bb",
- "reference": "a415a541c7b9b56698db8bf0335ce767d02c05bb",
+ "url": "https://api.github.com/repos/moodlehq/moodle-cs/zipball/9e3dcb07bfb3d0642f74e15253a5b44388782425",
+ "reference": "9e3dcb07bfb3d0642f74e15253a5b44388782425",
"shasum": ""
},
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
- "phpcompatibility/php-compatibility": "dev-develop#0a17f9ed",
- "phpcsstandards/phpcsextra": "^1.1.0",
- "squizlabs/php_codesniffer": "^3.7.2"
+ "phpcompatibility/php-compatibility": "dev-develop#306cd263",
+ "phpcsstandards/phpcsextra": "^1.2.1",
+ "squizlabs/php_codesniffer": "^3.8.0"
},
"replace": {
"moodlehq/moodle-local_codechecker": "3.1.0"
@@ -131,22 +131,25 @@
"email": "andrew@nicols.co.uk"
},
{
- "name": "Eloy Lafuente",
- "email": "stronk7@moodle.com"
+ "name": "Eloy Lafuente (stronk7)"
}
],
"description": "Moodle Coding Sniffer rules",
"keywords": [
+ "codesniffer",
+ "coding",
+ "moodle",
"phpcs",
- "standards",
- "wordpress"
+ "sniff",
+ "standard",
+ "style"
],
"support": {
"issues": "https://github.com/moodlehq/moodle-cs/issues",
"source": "https://github.com/moodlehq/moodle-cs",
"wiki": "https://github.com/moodlehq/moodle-cs/wiki"
},
- "time": "2023-11-29T16:29:32+00:00"
+ "time": "2023-12-19T15:30:23+00:00"
},
{
"name": "phpcompatibility/php-compatibility",
@@ -154,12 +157,12 @@
"source": {
"type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
- "reference": "0a17f9ed"
+ "reference": "306cd263"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/0a17f9ed",
- "reference": "0a17f9ed",
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/306cd263",
+ "reference": "306cd263",
"shasum": ""
},
"require": {
@@ -219,35 +222,36 @@
],
"support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
+ "security": "https://github.com/PHPCompatibility/PHPCompatibility/security/policy",
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
},
- "time": "2023-09-13T12:40:15+00:00"
+ "time": "2023-12-04T17:28:03+00:00"
},
{
"name": "phpcsstandards/phpcsextra",
- "version": "1.1.2",
+ "version": "1.2.1",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHPCSExtra.git",
- "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5"
+ "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/746c3190ba8eb2f212087c947ba75f4f5b9a58d5",
- "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",
+ "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",
"shasum": ""
},
"require": {
"php": ">=5.4",
- "phpcsstandards/phpcsutils": "^1.0.8",
- "squizlabs/php_codesniffer": "^3.7.1"
+ "phpcsstandards/phpcsutils": "^1.0.9",
+ "squizlabs/php_codesniffer": "^3.8.0"
},
"require-dev": {
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpcsstandards/phpcsdevcs": "^1.1.6",
"phpcsstandards/phpcsdevtools": "^1.2.1",
- "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0"
+ "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
},
"type": "phpcodesniffer-standard",
"extra": {
@@ -282,35 +286,50 @@
],
"support": {
"issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues",
+ "security": "https://github.com/PHPCSStandards/PHPCSExtra/security/policy",
"source": "https://github.com/PHPCSStandards/PHPCSExtra"
},
- "time": "2023-09-20T22:06:18+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/PHPCSStandards",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2023-12-08T16:49:07+00:00"
},
{
"name": "phpcsstandards/phpcsutils",
- "version": "1.0.8",
+ "version": "1.0.9",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
- "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7"
+ "reference": "908247bc65010c7b7541a9551e002db12e9dae70"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/69465cab9d12454e5e7767b9041af0cd8cd13be7",
- "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/908247bc65010c7b7541a9551e002db12e9dae70",
+ "reference": "908247bc65010c7b7541a9551e002db12e9dae70",
"shasum": ""
},
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
"php": ">=5.4",
- "squizlabs/php_codesniffer": "^3.7.1 || 4.0.x-dev@dev"
+ "squizlabs/php_codesniffer": "^3.8.0 || 4.0.x-dev@dev"
},
"require-dev": {
"ext-filter": "*",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpcsstandards/phpcsdevcs": "^1.1.6",
- "yoast/phpunit-polyfills": "^1.0.5 || ^2.0.0"
+ "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0"
},
"type": "phpcodesniffer-standard",
"extra": {
@@ -355,22 +374,37 @@
"support": {
"docs": "https://phpcsutils.com/",
"issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues",
+ "security": "https://github.com/PHPCSStandards/PHPCSUtils/security/policy",
"source": "https://github.com/PHPCSStandards/PHPCSUtils"
},
- "time": "2023-07-16T21:39:41+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/PHPCSStandards",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2023-12-08T14:50:00+00:00"
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.7.2",
+ "version": "3.8.0",
"source": {
"type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879"
+ "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
+ "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879",
- "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5805f7a4e4958dbb5e944ef1e6edae0a303765e7",
+ "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7",
"shasum": ""
},
"require": {
@@ -380,7 +414,7 @@
"php": ">=5.4.0"
},
"require-dev": {
- "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
},
"bin": [
"bin/phpcs",
@@ -399,22 +433,45 @@
"authors": [
{
"name": "Greg Sherwood",
- "role": "lead"
+ "role": "Former lead"
+ },
+ {
+ "name": "Juliette Reinders Folmer",
+ "role": "Current lead"
+ },
+ {
+ "name": "Contributors",
+ "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
}
],
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
+ "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
"keywords": [
"phpcs",
"standards",
"static analysis"
],
"support": {
- "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
- "source": "https://github.com/squizlabs/PHP_CodeSniffer",
- "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
+ "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
+ "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
+ "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
+ "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
},
- "time": "2023-02-22T23:07:41+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/PHPCSStandards",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2023-12-08T12:32:31+00:00"
}
],
"packages-dev": [],
diff --git a/thirdpartylibs.xml b/thirdpartylibs.xml
index a146dda9..aaaf7ff5 100644
--- a/thirdpartylibs.xml
+++ b/thirdpartylibs.xml
@@ -3,35 +3,35 @@
vendor/squizlabs/php_codesniffer
PHP_CodeSniffer
- 3.7.2 (ed8e00df0)
+ 3.8.0
BSD
3-Clause
vendor/phpcompatibility/php-compatibility
PHP Compatibility Coding Standard
- 10.0dev (0a17f9ed)
+ 10.0dev (306cd263)
LGPL
3
vendor/phpcsstandards/phpcsextra
A collection of code standards for use with PHP_CodeSniffer
- 1.1.2 (746c319)
+ 1.2.1
LGPL
3
vendor/phpcsstandards/phpcsutils
A suite of utility functions for use with PHP_CodeSniffer
- 1.0.8 (69465ca)
+ 1.0.9
LGPL
3
vendor/moodlehq/moodle-cs
Moodle Coding Style
- v3.3.8 (ff540d2)
+ v3.3.12
GPL
3
diff --git a/vendor/autoload.php b/vendor/autoload.php
index 0f8907d9..008f6210 100644
--- a/vendor/autoload.php
+++ b/vendor/autoload.php
@@ -22,4 +22,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
-return ComposerAutoloaderInit64503f750e78560d45fa4b45a3035e4a::getLoader();
+return ComposerAutoloaderInit04850f493c5607268a216c743489db99::getLoader();
diff --git a/vendor/bin/phpcbf b/vendor/bin/phpcbf
index 2d75fbbf..1c0c79c4 100755
--- a/vendor/bin/phpcbf
+++ b/vendor/bin/phpcbf
@@ -116,9 +116,4 @@ if (PHP_VERSION_ID < 80000) {
}
}
-
-if (__FILE__ === realpath($_SERVER['SCRIPT_NAME'])) {
- $_SERVER['SCRIPT_NAME'] = realpath(__DIR__ . '/..'.'/squizlabs/php_codesniffer/bin/phpcbf');
-}
-
return include __DIR__ . '/..'.'/squizlabs/php_codesniffer/bin/phpcbf';
diff --git a/vendor/bin/phpcs b/vendor/bin/phpcs
index 377580a7..04e658cf 100755
--- a/vendor/bin/phpcs
+++ b/vendor/bin/phpcs
@@ -116,9 +116,4 @@ if (PHP_VERSION_ID < 80000) {
}
}
-
-if (__FILE__ === realpath($_SERVER['SCRIPT_NAME'])) {
- $_SERVER['SCRIPT_NAME'] = realpath(__DIR__ . '/..'.'/squizlabs/php_codesniffer/bin/phpcs');
-}
-
return include __DIR__ . '/..'.'/squizlabs/php_codesniffer/bin/phpcs';
diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php
index b6367cf3..6d8cd7b4 100644
--- a/vendor/composer/autoload_real.php
+++ b/vendor/composer/autoload_real.php
@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
-class ComposerAutoloaderInit64503f750e78560d45fa4b45a3035e4a
+class ComposerAutoloaderInit04850f493c5607268a216c743489db99
{
private static $loader;
@@ -24,12 +24,12 @@ public static function getLoader()
require __DIR__ . '/platform_check.php';
- spl_autoload_register(array('ComposerAutoloaderInit64503f750e78560d45fa4b45a3035e4a', 'loadClassLoader'), true, true);
+ spl_autoload_register(array('ComposerAutoloaderInit04850f493c5607268a216c743489db99', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
- spl_autoload_unregister(array('ComposerAutoloaderInit64503f750e78560d45fa4b45a3035e4a', 'loadClassLoader'));
+ spl_autoload_unregister(array('ComposerAutoloaderInit04850f493c5607268a216c743489db99', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
- call_user_func(\Composer\Autoload\ComposerStaticInit64503f750e78560d45fa4b45a3035e4a::getInitializer($loader));
+ call_user_func(\Composer\Autoload\ComposerStaticInit04850f493c5607268a216c743489db99::getInitializer($loader));
$loader->register(true);
diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php
index 234d5bdf..bced0c6d 100644
--- a/vendor/composer/autoload_static.php
+++ b/vendor/composer/autoload_static.php
@@ -4,7 +4,7 @@
namespace Composer\Autoload;
-class ComposerStaticInit64503f750e78560d45fa4b45a3035e4a
+class ComposerStaticInit04850f493c5607268a216c743489db99
{
public static $prefixLengthsPsr4 = array (
'P' =>
@@ -72,9 +72,9 @@ class ComposerStaticInit64503f750e78560d45fa4b45a3035e4a
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
- $loader->prefixLengthsPsr4 = ComposerStaticInit64503f750e78560d45fa4b45a3035e4a::$prefixLengthsPsr4;
- $loader->prefixDirsPsr4 = ComposerStaticInit64503f750e78560d45fa4b45a3035e4a::$prefixDirsPsr4;
- $loader->classMap = ComposerStaticInit64503f750e78560d45fa4b45a3035e4a::$classMap;
+ $loader->prefixLengthsPsr4 = ComposerStaticInit04850f493c5607268a216c743489db99::$prefixLengthsPsr4;
+ $loader->prefixDirsPsr4 = ComposerStaticInit04850f493c5607268a216c743489db99::$prefixDirsPsr4;
+ $loader->classMap = ComposerStaticInit04850f493c5607268a216c743489db99::$classMap;
}, null, ClassLoader::class);
}
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
index 977e8922..201ef4f8 100644
--- a/vendor/composer/installed.json
+++ b/vendor/composer/installed.json
@@ -83,24 +83,24 @@
},
{
"name": "moodlehq/moodle-cs",
- "version": "v3.3.11",
- "version_normalized": "3.3.11.0",
+ "version": "v3.3.12",
+ "version_normalized": "3.3.12.0",
"source": {
"type": "git",
"url": "https://github.com/moodlehq/moodle-cs.git",
- "reference": "a415a541c7b9b56698db8bf0335ce767d02c05bb"
+ "reference": "9e3dcb07bfb3d0642f74e15253a5b44388782425"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/moodlehq/moodle-cs/zipball/a415a541c7b9b56698db8bf0335ce767d02c05bb",
- "reference": "a415a541c7b9b56698db8bf0335ce767d02c05bb",
+ "url": "https://api.github.com/repos/moodlehq/moodle-cs/zipball/9e3dcb07bfb3d0642f74e15253a5b44388782425",
+ "reference": "9e3dcb07bfb3d0642f74e15253a5b44388782425",
"shasum": ""
},
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
- "phpcompatibility/php-compatibility": "dev-develop#0a17f9ed",
- "phpcsstandards/phpcsextra": "^1.1.0",
- "squizlabs/php_codesniffer": "^3.7.2"
+ "phpcompatibility/php-compatibility": "dev-develop#306cd263",
+ "phpcsstandards/phpcsextra": "^1.2.1",
+ "squizlabs/php_codesniffer": "^3.8.0"
},
"replace": {
"moodlehq/moodle-local_codechecker": "3.1.0"
@@ -113,7 +113,7 @@
"sebastian/phpcpd": "^6.0",
"thor-juhasz/phpunit-coverage-check": "^0.3.0"
},
- "time": "2023-11-29T16:29:32+00:00",
+ "time": "2023-12-19T15:30:23+00:00",
"type": "phpcodesniffer-standard",
"installation-source": "dist",
"autoload": {
@@ -131,15 +131,18 @@
"email": "andrew@nicols.co.uk"
},
{
- "name": "Eloy Lafuente",
- "email": "stronk7@moodle.com"
+ "name": "Eloy Lafuente (stronk7)"
}
],
"description": "Moodle Coding Sniffer rules",
"keywords": [
+ "codesniffer",
+ "coding",
+ "moodle",
"phpcs",
- "standards",
- "wordpress"
+ "sniff",
+ "standard",
+ "style"
],
"support": {
"issues": "https://github.com/moodlehq/moodle-cs/issues",
@@ -155,12 +158,12 @@
"source": {
"type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
- "reference": "0a17f9ed"
+ "reference": "306cd263"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/0a17f9ed",
- "reference": "0a17f9ed",
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/306cd263",
+ "reference": "306cd263",
"shasum": ""
},
"require": {
@@ -182,7 +185,7 @@
"suggest": {
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
},
- "time": "2023-09-13T12:40:15+00:00",
+ "time": "2023-12-04T17:28:03+00:00",
"default-branch": true,
"type": "phpcodesniffer-standard",
"extra": {
@@ -222,38 +225,39 @@
],
"support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
+ "security": "https://github.com/PHPCompatibility/PHPCompatibility/security/policy",
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
},
"install-path": "../phpcompatibility/php-compatibility"
},
{
"name": "phpcsstandards/phpcsextra",
- "version": "1.1.2",
- "version_normalized": "1.1.2.0",
+ "version": "1.2.1",
+ "version_normalized": "1.2.1.0",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHPCSExtra.git",
- "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5"
+ "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/746c3190ba8eb2f212087c947ba75f4f5b9a58d5",
- "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",
+ "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",
"shasum": ""
},
"require": {
"php": ">=5.4",
- "phpcsstandards/phpcsutils": "^1.0.8",
- "squizlabs/php_codesniffer": "^3.7.1"
+ "phpcsstandards/phpcsutils": "^1.0.9",
+ "squizlabs/php_codesniffer": "^3.8.0"
},
"require-dev": {
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpcsstandards/phpcsdevcs": "^1.1.6",
"phpcsstandards/phpcsdevtools": "^1.2.1",
- "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0"
+ "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
},
- "time": "2023-09-20T22:06:18+00:00",
+ "time": "2023-12-08T16:49:07+00:00",
"type": "phpcodesniffer-standard",
"extra": {
"branch-alias": {
@@ -288,38 +292,53 @@
],
"support": {
"issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues",
+ "security": "https://github.com/PHPCSStandards/PHPCSExtra/security/policy",
"source": "https://github.com/PHPCSStandards/PHPCSExtra"
},
+ "funding": [
+ {
+ "url": "https://github.com/PHPCSStandards",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
"install-path": "../phpcsstandards/phpcsextra"
},
{
"name": "phpcsstandards/phpcsutils",
- "version": "1.0.8",
- "version_normalized": "1.0.8.0",
+ "version": "1.0.9",
+ "version_normalized": "1.0.9.0",
"source": {
"type": "git",
"url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
- "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7"
+ "reference": "908247bc65010c7b7541a9551e002db12e9dae70"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/69465cab9d12454e5e7767b9041af0cd8cd13be7",
- "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/908247bc65010c7b7541a9551e002db12e9dae70",
+ "reference": "908247bc65010c7b7541a9551e002db12e9dae70",
"shasum": ""
},
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
"php": ">=5.4",
- "squizlabs/php_codesniffer": "^3.7.1 || 4.0.x-dev@dev"
+ "squizlabs/php_codesniffer": "^3.8.0 || 4.0.x-dev@dev"
},
"require-dev": {
"ext-filter": "*",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpcsstandards/phpcsdevcs": "^1.1.6",
- "yoast/phpunit-polyfills": "^1.0.5 || ^2.0.0"
+ "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0"
},
- "time": "2023-07-16T21:39:41+00:00",
+ "time": "2023-12-08T14:50:00+00:00",
"type": "phpcodesniffer-standard",
"extra": {
"branch-alias": {
@@ -364,23 +383,38 @@
"support": {
"docs": "https://phpcsutils.com/",
"issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues",
+ "security": "https://github.com/PHPCSStandards/PHPCSUtils/security/policy",
"source": "https://github.com/PHPCSStandards/PHPCSUtils"
},
+ "funding": [
+ {
+ "url": "https://github.com/PHPCSStandards",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
"install-path": "../phpcsstandards/phpcsutils"
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.7.2",
- "version_normalized": "3.7.2.0",
+ "version": "3.8.0",
+ "version_normalized": "3.8.0.0",
"source": {
"type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879"
+ "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
+ "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879",
- "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5805f7a4e4958dbb5e944ef1e6edae0a303765e7",
+ "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7",
"shasum": ""
},
"require": {
@@ -390,9 +424,9 @@
"php": ">=5.4.0"
},
"require-dev": {
- "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
},
- "time": "2023-02-22T23:07:41+00:00",
+ "time": "2023-12-08T12:32:31+00:00",
"bin": [
"bin/phpcs",
"bin/phpcbf"
@@ -411,21 +445,44 @@
"authors": [
{
"name": "Greg Sherwood",
- "role": "lead"
+ "role": "Former lead"
+ },
+ {
+ "name": "Juliette Reinders Folmer",
+ "role": "Current lead"
+ },
+ {
+ "name": "Contributors",
+ "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
}
],
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
+ "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
"keywords": [
"phpcs",
"standards",
"static analysis"
],
"support": {
- "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
- "source": "https://github.com/squizlabs/PHP_CodeSniffer",
- "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
+ "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
+ "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
+ "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
+ "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
},
+ "funding": [
+ {
+ "url": "https://github.com/PHPCSStandards",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
"install-path": "../squizlabs/php_codesniffer"
}
],
diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php
index 918156a0..a9ca4dab 100644
--- a/vendor/composer/installed.php
+++ b/vendor/composer/installed.php
@@ -3,7 +3,7 @@
'name' => 'moodlehq/local_codechecker',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
- 'reference' => '0eecbc52b33aea33f319d87830ea4281d80e70ea',
+ 'reference' => '30b722a87b99d45f6d35ecbc1c3f7c36badf848e',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -22,16 +22,16 @@
'moodlehq/local_codechecker' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
- 'reference' => '0eecbc52b33aea33f319d87830ea4281d80e70ea',
+ 'reference' => '30b722a87b99d45f6d35ecbc1c3f7c36badf848e',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'moodlehq/moodle-cs' => array(
- 'pretty_version' => 'v3.3.11',
- 'version' => '3.3.11.0',
- 'reference' => 'a415a541c7b9b56698db8bf0335ce767d02c05bb',
+ 'pretty_version' => 'v3.3.12',
+ 'version' => '3.3.12.0',
+ 'reference' => '9e3dcb07bfb3d0642f74e15253a5b44388782425',
'type' => 'phpcodesniffer-standard',
'install_path' => __DIR__ . '/../moodlehq/moodle-cs',
'aliases' => array(),
@@ -46,7 +46,7 @@
'phpcompatibility/php-compatibility' => array(
'pretty_version' => 'dev-develop',
'version' => 'dev-develop',
- 'reference' => '0a17f9ed',
+ 'reference' => '306cd263',
'type' => 'phpcodesniffer-standard',
'install_path' => __DIR__ . '/../phpcompatibility/php-compatibility',
'aliases' => array(
@@ -55,27 +55,27 @@
'dev_requirement' => false,
),
'phpcsstandards/phpcsextra' => array(
- 'pretty_version' => '1.1.2',
- 'version' => '1.1.2.0',
- 'reference' => '746c3190ba8eb2f212087c947ba75f4f5b9a58d5',
+ 'pretty_version' => '1.2.1',
+ 'version' => '1.2.1.0',
+ 'reference' => '11d387c6642b6e4acaf0bd9bf5203b8cca1ec489',
'type' => 'phpcodesniffer-standard',
'install_path' => __DIR__ . '/../phpcsstandards/phpcsextra',
'aliases' => array(),
'dev_requirement' => false,
),
'phpcsstandards/phpcsutils' => array(
- 'pretty_version' => '1.0.8',
- 'version' => '1.0.8.0',
- 'reference' => '69465cab9d12454e5e7767b9041af0cd8cd13be7',
+ 'pretty_version' => '1.0.9',
+ 'version' => '1.0.9.0',
+ 'reference' => '908247bc65010c7b7541a9551e002db12e9dae70',
'type' => 'phpcodesniffer-standard',
'install_path' => __DIR__ . '/../phpcsstandards/phpcsutils',
'aliases' => array(),
'dev_requirement' => false,
),
'squizlabs/php_codesniffer' => array(
- 'pretty_version' => '3.7.2',
- 'version' => '3.7.2.0',
- 'reference' => 'ed8e00df0a83aa96acf703f8c2979ff33341f879',
+ 'pretty_version' => '3.8.0',
+ 'version' => '3.8.0.0',
+ 'reference' => '5805f7a4e4958dbb5e944ef1e6edae0a303765e7',
'type' => 'library',
'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
'aliases' => array(),
diff --git a/vendor/moodlehq/moodle-cs/composer.json b/vendor/moodlehq/moodle-cs/composer.json
index 3ec2e096..2d999892 100644
--- a/vendor/moodlehq/moodle-cs/composer.json
+++ b/vendor/moodlehq/moodle-cs/composer.json
@@ -3,9 +3,13 @@
"type": "phpcodesniffer-standard",
"description": "Moodle Coding Sniffer rules",
"keywords": [
+ "moodle",
"phpcs",
- "standards",
- "WordPress"
+ "coding",
+ "style",
+ "standard",
+ "sniff",
+ "codesniffer"
],
"license": "GPL-2.0-or-later",
"authors": [
@@ -14,15 +18,14 @@
"email": "andrew@nicols.co.uk"
},
{
- "name": "Eloy Lafuente",
- "email": "stronk7@moodle.com"
+ "name": "Eloy Lafuente (stronk7)"
}
],
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
- "squizlabs/php_codesniffer": "^3.7.2",
- "phpcsstandards/phpcsextra": "^1.1.0",
- "phpcompatibility/php-compatibility": "dev-develop#0a17f9ed"
+ "squizlabs/php_codesniffer": "^3.8.0",
+ "phpcsstandards/phpcsextra": "^1.2.1",
+ "phpcompatibility/php-compatibility": "dev-develop#306cd263"
},
"config": {
"allow-plugins": {
diff --git a/vendor/moodlehq/moodle-cs/moodle/Sniffs/Arrays/CommaAfterLastSniff.php b/vendor/moodlehq/moodle-cs/moodle/Sniffs/Arrays/CommaAfterLastSniff.php
deleted file mode 100644
index 0345cc35..00000000
--- a/vendor/moodlehq/moodle-cs/moodle/Sniffs/Arrays/CommaAfterLastSniff.php
+++ /dev/null
@@ -1,226 +0,0 @@
-
- */
- private $validValues = [
- 'enforce' => true,
- 'forbid' => true,
- 'skip' => true,
- ];
-
- /**
- * Returns an array of tokens this test wants to listen for.
- *
- * @since 1.0.0
- *
- * @return array
- */
- public function register()
- {
- return Collections::arrayOpenTokensBC();
- }
-
- /**
- * Processes this test, when one of its tokens is encountered.
- *
- * @since 1.0.0
- *
- * @param \PHP_CodeSniffer\Files\File $phpcsFile The file being scanned.
- * @param int $stackPtr The position of the current token
- * in the stack passed in $tokens.
- *
- * @return void
- */
- public function process(File $phpcsFile, $stackPtr)
- {
- // Validate the property input. Invalid values will result in the check being skipped.
- if (isset($this->validValues[$this->singleLine]) === false) {
- $this->singleLine = 'skip';
- }
- if (isset($this->validValues[$this->multiLine]) === false) {
- $this->multiLine = 'skip';
- }
-
- $openClose = Arrays::getOpenClose($phpcsFile, $stackPtr);
- if ($openClose === false) {
- // Short list, real square bracket, live coding or parse error.
- return;
- }
-
- $tokens = $phpcsFile->getTokens();
- $opener = $openClose['opener'];
- $closer = $openClose['closer'];
-
- $action = $this->singleLine;
- $phrase = 'single-line';
- $errorCode = 'SingleLine';
- if ($tokens[$opener]['line'] !== $tokens[$closer]['line']) {
- $action = $this->multiLine;
- $phrase = 'multi-line';
- $errorCode = 'MultiLine';
- }
-
- if ($action === 'skip') {
- // Nothing to do.
- return;
- }
-
- $lastNonEmpty = $phpcsFile->findPrevious(Tokens::$emptyTokens, ($closer - 1), $opener, true);
- if ($lastNonEmpty === false || $lastNonEmpty === $opener) {
- // Bow out: empty array.
- return;
- }
-
- // If the closer is on the same line as the last element, change the error code for multi-line arrays.
- if ($errorCode === 'MultiLine'
- && $tokens[$lastNonEmpty]['line'] === $tokens[$closer]['line']
- ) {
- $errorCode .= 'CloserSameLine';
- }
-
- $isComma = ($tokens[$lastNonEmpty]['code'] === \T_COMMA);
-
- $phpcsFile->recordMetric(
- $stackPtr,
- \sprintf(self::METRIC_NAME, \ucfirst($phrase)),
- ($isComma === true ? 'yes' : 'no')
- );
-
- switch ($action) {
- case 'enforce':
- if ($isComma === true) {
- return;
- }
-
- $error = 'There should be a comma after the last array item in a %s array.';
- $errorCode = 'Missing' . $errorCode;
- $data = [$phrase];
- $fix = $phpcsFile->addFixableError($error, $lastNonEmpty, $errorCode, $data);
- if ($fix === true) {
- $extraContent = ',';
-
- if (($tokens[$lastNonEmpty]['code'] === \T_END_HEREDOC
- || $tokens[$lastNonEmpty]['code'] === \T_END_NOWDOC)
- // Check for indentation, if indented, it's a PHP 7.3+ heredoc/nowdoc.
- && $tokens[$lastNonEmpty]['content'] === \ltrim($tokens[$lastNonEmpty]['content'])
- ) {
- // Prevent parse errors in PHP < 7.3 which doesn't support flexible heredoc/nowdoc.
- $extraContent = $phpcsFile->eolChar . $extraContent;
- }
-
- $phpcsFile->fixer->addContent($lastNonEmpty, $extraContent);
- }
-
- return;
-
- case 'forbid':
- if ($isComma === false) {
- return;
- }
-
- $error = 'A comma after the last array item in a %s array is not allowed.';
- $errorCode = 'Found' . $errorCode;
- $data = [$phrase];
- $fix = $phpcsFile->addFixableError($error, $lastNonEmpty, $errorCode, $data);
- if ($fix === true) {
- $start = $lastNonEmpty;
- $end = $lastNonEmpty;
-
- // Make sure we're not leaving a superfluous blank line behind.
- $prevNonWhitespace = $phpcsFile->findPrevious(\T_WHITESPACE, ($lastNonEmpty - 1), $opener, true);
- $nextNonWhitespace = $phpcsFile->findNext(\T_WHITESPACE, ($lastNonEmpty + 1), ($closer + 1), true);
- if ($prevNonWhitespace !== false
- && $tokens[$prevNonWhitespace]['line'] < $tokens[$lastNonEmpty]['line']
- && $nextNonWhitespace !== false
- && $tokens[$nextNonWhitespace]['line'] > $tokens[$lastNonEmpty]['line']
- ) {
- $start = ($prevNonWhitespace + 1);
- }
-
- $phpcsFile->fixer->beginChangeset();
-
- for ($i = $start; $i <= $end; $i++) {
- $phpcsFile->fixer->replaceToken($i, '');
- }
-
- $phpcsFile->fixer->endChangeset();
- }
-
- return;
- }
- }
-}
diff --git a/vendor/moodlehq/moodle-cs/moodle/ruleset.xml b/vendor/moodlehq/moodle-cs/moodle/ruleset.xml
index 74ec915b..8098255c 100644
--- a/vendor/moodlehq/moodle-cs/moodle/ruleset.xml
+++ b/vendor/moodlehq/moodle-cs/moodle/ruleset.xml
@@ -20,15 +20,10 @@
Affects all major branches since Moodle 3.9.
Require a comma after the last element in a multi-line array, but prevent in a single-line array definition
-
- TODO: Enable this back and remove our copied Sniff below once PHPCSExtra v1.2.0 is released.
+ -->
- -->
-
-
-
@@ -107,21 +102,6 @@
-
-
-
-
-
-
0
@@ -131,7 +111,6 @@
Namespace statements, and class imports (use statements) should not use a leading backslash.
-->
-
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/AbstractFunctionCallParameterSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/AbstractFunctionCallParameterSniff.php
index 73a3cbb8..83321c2d 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/AbstractFunctionCallParameterSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/AbstractFunctionCallParameterSniff.php
@@ -44,10 +44,10 @@ abstract class AbstractFunctionCallParameterSniff extends Sniff
*
* @since 8.2.0
*
- * @var array The only requirement for this array is that the top level
- * array keys are the names of the functions you're looking for.
- * Other than that, the array can have arbitrary content
- * depending on your needs.
+ * @var array The only requirement for this array is that the top level
+ * array keys are the names of the functions you're looking for.
+ * Other than that, the array can have arbitrary content
+ * depending on your needs.
*/
protected $targetFunctions = [];
@@ -59,7 +59,7 @@ abstract class AbstractFunctionCallParameterSniff extends Sniff
*
* @since 8.2.0
*
- * @var array
+ * @var array
*/
private $ignoreTokens = [
\T_NEW => true,
@@ -71,7 +71,7 @@ abstract class AbstractFunctionCallParameterSniff extends Sniff
*
* @since 8.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/AbstractInitialValueSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/AbstractInitialValueSniff.php
index afdf1e95..96e761c7 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/AbstractInitialValueSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/AbstractInitialValueSniff.php
@@ -40,7 +40,7 @@ abstract class AbstractInitialValueSniff extends Sniff
*
* @since 10.0.0
*
- * @var array Type indicator => suggested partial error phrase
+ * @var array Type indicator => suggested partial error phrase.
*/
protected $initialValueTypes = [
'const' => 'when defining constants using the const keyword',
@@ -54,7 +54,7 @@ abstract class AbstractInitialValueSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ComplexVersionDeprecatedRemovedFeatureTrait.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ComplexVersionDeprecatedRemovedFeatureTrait.php
index 8123869a..537b1edd 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ComplexVersionDeprecatedRemovedFeatureTrait.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ComplexVersionDeprecatedRemovedFeatureTrait.php
@@ -98,7 +98,7 @@ protected function getVersionInfo(array $itemArray)
* @param string $itemBaseCode The basis for the error code.
* @param string[] $versionInfo Array of version info as received from the getVersionInfo() method.
*
- * @return array
+ * @return array
*/
protected function getMessageInfo($itemName, $itemBaseCode, array $versionInfo)
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ComplexVersionNewFeatureTrait.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ComplexVersionNewFeatureTrait.php
index 6b6601ad..42279e4c 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ComplexVersionNewFeatureTrait.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ComplexVersionNewFeatureTrait.php
@@ -77,7 +77,7 @@ protected function getVersionInfo(array $itemArray)
* @param string $itemBaseCode The basis for the error code.
* @param string[] $versionInfo Array of version info as received from the getVersionInfo() method.
*
- * @return array
+ * @return array
*/
protected function getMessageInfo($itemName, $itemBaseCode, array $versionInfo)
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/HashAlgorithmsTrait.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/HashAlgorithmsTrait.php
index a6bd4c9a..c058de1b 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/HashAlgorithmsTrait.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/HashAlgorithmsTrait.php
@@ -41,7 +41,7 @@ trait HashAlgorithmsTrait
* @since 7.0.7 Moved from the `RemovedHashAlgorithms` sniff to the base `Sniff` class.
* @since 10.0.0 Moved from the base `Sniff` class to the `HashAlgorithmsTrait`.
*
- * @var array
+ * @var array>
*/
protected $hashAlgoFunctions = [
'hash_file' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/PCRERegexTrait.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/PCRERegexTrait.php
index 568082eb..5a6b503d 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/PCRERegexTrait.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/PCRERegexTrait.php
@@ -40,7 +40,7 @@ trait PCRERegexTrait
* @since 7.0.5 This array was originally contained within the `process()` method.
* @since 10.0.0 Moved from the `RemovedPCREModifiersSniff` to this trait.
*
- * @var array
+ * @var array
*/
private $doublesSeparators = [
'{' => '}',
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ScannedCode.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ScannedCode.php
index 593817de..160c2a63 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ScannedCode.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Helpers/ScannedCode.php
@@ -38,16 +38,16 @@ final class ScannedCode
* Default testVersion if no valid testVersion was provided or
* could be determined based on the provided information.
*
- * @var array
+ * @var array
*/
private static $testVersionsDefault = [null, null];
/**
* Test versions applicable for the current PHPCS run.
*
- * @var array Array with two values.
- * Index 0 contains the low end supported PHP version.
- * Index 1 contains the high end supported PHP version.
+ * @var array Array with two values.
+ * Index 0 contains the low end supported PHP version.
+ * Index 1 contains the high end supported PHP version.
*/
private static $testVersions;
@@ -82,9 +82,9 @@ final class ScannedCode
* - Will throw a PHP Exception instead of a warning for an invalid testVersion.
* - The method is now static.
*
- * @return array An array containing min/max version of PHP that we are checking
- * against (see above). If only a single version number is specified,
- * then this is used as both the min and max.
+ * @return array An array containing min/max version of PHP that we are checking
+ * against (see above). If only a single version number is specified,
+ * then this is used as both the min and max.
*
* @throws \PHPCompatibility\Exceptions\InvalidTestVersionRange When the range in the testVersion is invalid.
* @throws \PHPCompatibility\Exceptions\InvalidTestVersion When the testVersion itself is invalid.
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Attributes/NewAttributesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Attributes/NewAttributesSniff.php
index 62f1ba5b..80511aa5 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Attributes/NewAttributesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Attributes/NewAttributesSniff.php
@@ -41,7 +41,7 @@ class NewAttributesSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/ForbiddenExtendingFinalPHPClassSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/ForbiddenExtendingFinalPHPClassSniff.php
index 6042f4c8..de55cd9e 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/ForbiddenExtendingFinalPHPClassSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/ForbiddenExtendingFinalPHPClassSniff.php
@@ -30,8 +30,8 @@ class ForbiddenExtendingFinalPHPClassSniff extends Sniff
*
* @since 10.0.0
*
- * @var array(string => int) Key is the fully qualified classname.
- * Value the PHP version in which the class became final.
+ * @var array Key is the fully qualified classname.
+ * Value the PHP version in which the class became final.
*/
protected $finalClasses = [
'\__PHP_Incomplete_Class' => '8.0',
@@ -42,7 +42,7 @@ class ForbiddenExtendingFinalPHPClassSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewAnonymousClassesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewAnonymousClassesSniff.php
index fccb88ce..9415b571 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewAnonymousClassesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewAnonymousClassesSniff.php
@@ -32,7 +32,7 @@ class NewAnonymousClassesSniff extends Sniff
*
* @since 7.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewClassesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewClassesSniff.php
index 3748ed4e..549f20a8 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewClassesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewClassesSniff.php
@@ -53,7 +53,7 @@ class NewClassesSniff extends Sniff
*
* @since 5.5
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $newClasses = [
'ArrayObject' => [
@@ -871,7 +871,7 @@ class NewClassesSniff extends Sniff
*
* @since 7.1.4
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $newExceptions = [
'com_exception' => [
@@ -1111,7 +1111,7 @@ class NewClassesSniff extends Sniff
* as return type declarations.
* @since 10.0.0 `T_RETURN_TYPE` token removed after PHPCS < 3.7.1 version drop.
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewConstVisibilitySniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewConstVisibilitySniff.php
index 1317a1f8..6e9eeb03 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewConstVisibilitySniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewConstVisibilitySniff.php
@@ -34,7 +34,7 @@ class NewConstVisibilitySniff extends Sniff
*
* @since 7.0.7
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewConstructorPropertyPromotionSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewConstructorPropertyPromotionSniff.php
index 84925a63..56030821 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewConstructorPropertyPromotionSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewConstructorPropertyPromotionSniff.php
@@ -34,7 +34,7 @@ final class NewConstructorPropertyPromotionSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewFinalConstantsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewFinalConstantsSniff.php
index b6dba642..918a2c26 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewFinalConstantsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewFinalConstantsSniff.php
@@ -34,7 +34,7 @@ class NewFinalConstantsSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewLateStaticBindingSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewLateStaticBindingSniff.php
index 9ee5f014..e357ad78 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewLateStaticBindingSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewLateStaticBindingSniff.php
@@ -40,7 +40,7 @@ class NewLateStaticBindingSniff extends Sniff
* @since 7.0.3
* @since 10.0.0 Now also sniffs for `T_STRING`.
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewReadonlyClassesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewReadonlyClassesSniff.php
index 4bd3fa31..c83488b5 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewReadonlyClassesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewReadonlyClassesSniff.php
@@ -34,7 +34,7 @@ final class NewReadonlyClassesSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewReadonlyPropertiesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewReadonlyPropertiesSniff.php
index f1bb810b..ce8eefdd 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewReadonlyPropertiesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewReadonlyPropertiesSniff.php
@@ -36,7 +36,7 @@ final class NewReadonlyPropertiesSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewTypedPropertiesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewTypedPropertiesSniff.php
index 1344cc2b..b9fcbef5 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewTypedPropertiesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/NewTypedPropertiesSniff.php
@@ -62,7 +62,7 @@ class NewTypedPropertiesSniff extends Sniff
*
* @since 10.0.0
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $newTypes = [
'mixed' => [
@@ -93,7 +93,7 @@ class NewTypedPropertiesSniff extends Sniff
*
* @since 10.0.0
*
- * @var array(string => string|false)
+ * @var array
*/
protected $invalidTypes = [
'boolean' => 'bool',
@@ -108,7 +108,7 @@ class NewTypedPropertiesSniff extends Sniff
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $unionOnlyTypes = [
'false' => true,
@@ -121,7 +121,7 @@ class NewTypedPropertiesSniff extends Sniff
*
* @since 9.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/RemovedClassesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/RemovedClassesSniff.php
index a55897a4..c9f9ddc5 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/RemovedClassesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/RemovedClassesSniff.php
@@ -55,7 +55,7 @@ class RemovedClassesSniff extends Sniff
*
* @since 10.0.0
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $removedClasses = [
'HW_API' => [
@@ -204,7 +204,7 @@ class RemovedClassesSniff extends Sniff
*
* @since 10.0.0
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $removedExceptions = [
'SQLiteException' => [
@@ -219,7 +219,7 @@ class RemovedClassesSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/RemovedOrphanedParentSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/RemovedOrphanedParentSniff.php
index c15f9f52..6dd77258 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/RemovedOrphanedParentSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Classes/RemovedOrphanedParentSniff.php
@@ -38,7 +38,7 @@ class RemovedOrphanedParentSniff extends Sniff
*
* @since 9.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewConstantsInTraitsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewConstantsInTraitsSniff.php
index 104f2f0f..02f3faad 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewConstantsInTraitsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewConstantsInTraitsSniff.php
@@ -34,7 +34,7 @@ final class NewConstantsInTraitsSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewConstantsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewConstantsSniff.php
index 73009412..8c005a9a 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewConstantsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewConstantsSniff.php
@@ -38,7 +38,7 @@ class NewConstantsSniff extends Sniff
*
* @since 8.1.0
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $newConstants = [
'E_STRICT' => [
@@ -7705,6 +7705,342 @@ class NewConstantsSniff extends Sniff
'8.2' => true,
'extension' => 'sockets',
],
+
+ 'CURLINFO_CAPATH' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLINFO_CAINFO' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLOPT_MIME_OPTIONS' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLMIMEOPT_FORMESCAPE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLOPT_WS_OPTIONS' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLWS_RAW_MODE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLOPT_SSH_HOSTKEYFUNCTION' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLOPT_PROTOCOLS_STR' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLOPT_REDIR_PROTOCOLS_STR' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLOPT_CA_CACHE_TIMEOUT' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLOPT_QUICK_EXIT' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLKHMATCH_OK' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLKHMATCH_MISMATCH' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLKHMATCH_MISSING' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'CURLKHMATCH_LAST' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'curl',
+ ],
+ 'MIXED_NUMBERS' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'intl',
+ ],
+ 'HIDDEN_OVERLAY' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'intl',
+ ],
+ 'OPENSSL_CMS_OLDMIMETYPE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'openssl',
+ ],
+ 'PKCS7_NOOLDMIMETYPE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'openssl',
+ ],
+ 'SIGINFO' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pcntl',
+ ],
+ 'PDO_ODBC_TYPE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pdo_odbc',
+ ],
+ 'PGSQL_TRACE_SUPPRESS_TIMESTAMPS' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'PGSQL_TRACE_REGRESS_MODE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'PGSQL_ERRORS_SQLSTATE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'PGSQL_PIPELINE_SYNC' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'PGSQL_PIPELINE_ON' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'PGSQL_PIPELINE_OFF' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'PGSQL_PIPELINE_ABORTED' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'PGSQL_SHOW_CONTEXT_NEVER' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'PGSQL_SHOW_CONTEXT_ERRORS' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'PGSQL_SHOW_CONTEXT_ALWAYS' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'POSIX_SC_ARG_MAX' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_SC_PAGESIZE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_SC_NPROCESSORS_CONF' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_SC_NPROCESSORS_ONLN' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_PC_LINK_MAX' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_PC_MAX_CANON' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_PC_MAX_INPUT' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_PC_NAME_MAX' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_PC_PATH_MAX' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_PC_PIPE_BUF' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_PC_CHOWN_RESTRICTED' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_PC_NO_TRUNC' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_PC_ALLOC_SIZE_MIN' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'POSIX_PC_SYMLINK_MAX' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'SO_ATTACH_REUSEPORT_CBPF' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'SO_DETACH_FILTER' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'SO_DETACH_BPF' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'TCP_QUICKACK' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'IP_DONTFRAG' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'IP_MTU_DISCOVER' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'IP_PMTUDISC_DO' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'IP_PMTUDISC_DONT' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'IP_PMTUDISC_WANT' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'IP_PMTUDISC_PROBE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'IP_PMTUDISC_INTERFACE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'IP_PMTUDISC_OMIT' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'AF_DIVERT' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'SOL_UDPLITE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'UDPLITE_RECV_CSCOV' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'UDPLITE_SEND_CSCOV' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'SO_RERROR' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'SO_ZEROIZE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'SO_SPLICE' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'TCP_REPAIR' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'SO_REUSEPORT_LB' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
+ 'IP_BIND_ADDRESS_NO_PORT' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
];
@@ -7713,7 +8049,7 @@ class NewConstantsSniff extends Sniff
*
* @since 8.1.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewMagicClassConstantSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewMagicClassConstantSniff.php
index 26ca3024..20397dec 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewMagicClassConstantSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/NewMagicClassConstantSniff.php
@@ -43,7 +43,7 @@ class NewMagicClassConstantSniff extends Sniff
*
* @since 7.1.4
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/RemovedConstantsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/RemovedConstantsSniff.php
index f0434e20..13659b05 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/RemovedConstantsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Constants/RemovedConstantsSniff.php
@@ -42,7 +42,7 @@ class RemovedConstantsSniff extends Sniff
*
* @since 8.1.0
*
- * @var array(string => array(string => bool|string))
+ * @var array>
*/
protected $removedConstants = [
'F_DUPFD' => [
@@ -2660,7 +2660,7 @@ class RemovedConstantsSniff extends Sniff
*
* @since 8.1.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/DiscouragedSwitchContinueSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/DiscouragedSwitchContinueSniff.php
index ac9a6492..b3ede2e7 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/DiscouragedSwitchContinueSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/DiscouragedSwitchContinueSniff.php
@@ -42,7 +42,7 @@ class DiscouragedSwitchContinueSniff extends Sniff
*
* @since 8.2.0
*
- * @var array
+ * @var array
*/
protected $loopStructures = [
\T_FOR => \T_FOR,
@@ -57,7 +57,7 @@ class DiscouragedSwitchContinueSniff extends Sniff
*
* @since 8.2.0
*
- * @var array
+ * @var array
*/
protected $caseTokens = [
\T_CASE => \T_CASE,
@@ -71,7 +71,7 @@ class DiscouragedSwitchContinueSniff extends Sniff
*
* @since 8.2.0
*
- * @var array
+ * @var array
*/
protected $acceptedLevelTokens = [
\T_LNUMBER => \T_LNUMBER,
@@ -85,7 +85,7 @@ class DiscouragedSwitchContinueSniff extends Sniff
*
* @since 8.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenBreakContinueOutsideLoopSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenBreakContinueOutsideLoopSniff.php
index 5c580ebb..30fbaa28 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenBreakContinueOutsideLoopSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenBreakContinueOutsideLoopSniff.php
@@ -35,7 +35,7 @@ class ForbiddenBreakContinueOutsideLoopSniff extends Sniff
*
* @since 7.0.7
*
- * @var array
+ * @var array
*/
protected $validLoopStructures = [
\T_FOR => \T_FOR,
@@ -50,7 +50,7 @@ class ForbiddenBreakContinueOutsideLoopSniff extends Sniff
*
* @since 7.0.7
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenBreakContinueVariableArgumentsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenBreakContinueVariableArgumentsSniff.php
index 089da91b..cd588f56 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenBreakContinueVariableArgumentsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenBreakContinueVariableArgumentsSniff.php
@@ -43,7 +43,7 @@ class ForbiddenBreakContinueVariableArgumentsSniff extends Sniff
* @since 7.0.5
* @since 7.1.0 Changed from class constants to property.
*
- * @var array
+ * @var array
*/
private $errorTypes = [
'variableArgument' => 'a variable argument',
@@ -55,7 +55,7 @@ class ForbiddenBreakContinueVariableArgumentsSniff extends Sniff
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
private $varArgTokens = [
\T_VARIABLE => \T_VARIABLE,
@@ -68,7 +68,7 @@ class ForbiddenBreakContinueVariableArgumentsSniff extends Sniff
*
* @since 5.5
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenSwitchWithMultipleDefaultBlocksSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenSwitchWithMultipleDefaultBlocksSniff.php
index 0579705a..b7cc427c 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenSwitchWithMultipleDefaultBlocksSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/ForbiddenSwitchWithMultipleDefaultBlocksSniff.php
@@ -32,7 +32,7 @@ class ForbiddenSwitchWithMultipleDefaultBlocksSniff extends Sniff
*
* @since 7.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewExecutionDirectivesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewExecutionDirectivesSniff.php
index fba1d80b..f48a6254 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewExecutionDirectivesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewExecutionDirectivesSniff.php
@@ -52,7 +52,7 @@ class NewExecutionDirectivesSniff extends Sniff
*
* @since 7.0.3
*
- * @var array(string => array(string => bool|string|array))
+ * @var array>
*/
protected $newDirectives = [
'ticks' => [
@@ -88,7 +88,7 @@ class NewExecutionDirectivesSniff extends Sniff
*
* @since 7.0.3
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewForeachExpressionReferencingSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewForeachExpressionReferencingSniff.php
index b5b747e7..dc064a82 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewForeachExpressionReferencingSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewForeachExpressionReferencingSniff.php
@@ -35,7 +35,7 @@ class NewForeachExpressionReferencingSniff extends Sniff
*
* @since 9.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewListInForeachSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewListInForeachSniff.php
index ab210f3d..530f9b9f 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewListInForeachSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewListInForeachSniff.php
@@ -33,7 +33,7 @@ class NewListInForeachSniff extends Sniff
*
* @since 9.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewMultiCatchSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewMultiCatchSniff.php
index 1dc53409..cd11f8ab 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewMultiCatchSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewMultiCatchSniff.php
@@ -33,7 +33,7 @@ class NewMultiCatchSniff extends Sniff
*
* @since 7.0.7
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewNonCapturingCatchSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewNonCapturingCatchSniff.php
index fe040a92..48811ba6 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewNonCapturingCatchSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ControlStructures/NewNonCapturingCatchSniff.php
@@ -33,7 +33,7 @@ class NewNonCapturingCatchSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Extensions/RemovedExtensionsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Extensions/RemovedExtensionsSniff.php
index 1f2a575a..3349a8c0 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Extensions/RemovedExtensionsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Extensions/RemovedExtensionsSniff.php
@@ -58,7 +58,7 @@ class RemovedExtensionsSniff extends Sniff
*
* @since 7.0.2
*
- * @var array
+ * @var string[]
*/
public $functionWhitelist;
@@ -70,7 +70,7 @@ class RemovedExtensionsSniff extends Sniff
*
* @since 5.5
*
- * @var array(string => array(string => bool|string|null))
+ * @var array>
*/
protected $removedExtensions = [
'activescript' => [
@@ -212,7 +212,7 @@ class RemovedExtensionsSniff extends Sniff
*
* @since 5.5
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/AbstractPrivateMethodsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/AbstractPrivateMethodsSniff.php
index 086daa90..3b72dbb1 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/AbstractPrivateMethodsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/AbstractPrivateMethodsSniff.php
@@ -45,7 +45,7 @@ class AbstractPrivateMethodsSniff extends Sniff
*
* @since 9.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenFinalPrivateMethodsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenFinalPrivateMethodsSniff.php
index 04345540..d58ece27 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenFinalPrivateMethodsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenFinalPrivateMethodsSniff.php
@@ -42,7 +42,7 @@ class ForbiddenFinalPrivateMethodsSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenParameterShadowSuperGlobalsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenParameterShadowSuperGlobalsSniff.php
index 27a7c6f1..8762eaff 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenParameterShadowSuperGlobalsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenParameterShadowSuperGlobalsSniff.php
@@ -37,7 +37,7 @@ class ForbiddenParameterShadowSuperGlobalsSniff extends Sniff
* @since 7.1.3 Allows for closures.
* @since 10.0.0 Allows for PHP 7.4+ arrow functions.
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenParametersWithSameNameSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenParametersWithSameNameSniff.php
index acc59261..0f71c0c8 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenParametersWithSameNameSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenParametersWithSameNameSniff.php
@@ -35,7 +35,7 @@ class ForbiddenParametersWithSameNameSniff extends Sniff
* @since 7.1.3 Allows for closures.
* @since 10.0.0 Allows for PHP 7.4+ arrow functions.
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenToStringParametersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenToStringParametersSniff.php
index a6c4f762..6f514172 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenToStringParametersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenToStringParametersSniff.php
@@ -36,7 +36,7 @@ class ForbiddenToStringParametersSniff extends Sniff
*
* @since 9.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenVariableNamesInClosureUseSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenVariableNamesInClosureUseSniff.php
index 4eb4d3a1..f8f8b0c1 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenVariableNamesInClosureUseSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/ForbiddenVariableNamesInClosureUseSniff.php
@@ -39,7 +39,7 @@ class ForbiddenVariableNamesInClosureUseSniff extends Sniff
*
* @since 7.1.4
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewClosureSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewClosureSniff.php
index 6ca78d75..db9add6d 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewClosureSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewClosureSniff.php
@@ -49,7 +49,7 @@ class NewClosureSniff extends Sniff
*
* @since 7.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewExceptionsFromToStringSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewExceptionsFromToStringSniff.php
index 4d2a91e4..af3572c2 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewExceptionsFromToStringSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewExceptionsFromToStringSniff.php
@@ -39,7 +39,7 @@ class NewExceptionsFromToStringSniff extends Sniff
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
private $docblockIgnoreTokens = [
\T_WHITESPACE => \T_WHITESPACE,
@@ -50,7 +50,7 @@ class NewExceptionsFromToStringSniff extends Sniff
*
* @since 9.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewNullableTypesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewNullableTypesSniff.php
index 76db6e14..1c3588cc 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewNullableTypesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewNullableTypesSniff.php
@@ -41,7 +41,7 @@ class NewNullableTypesSniff extends Sniff
* @since 7.0.7
* @since 10.0.0 Allows for PHP 7.4+ arrow functions.
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewParamTypeDeclarationsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewParamTypeDeclarationsSniff.php
index 1b8f5566..de59df28 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewParamTypeDeclarationsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewParamTypeDeclarationsSniff.php
@@ -74,7 +74,7 @@ class NewParamTypeDeclarationsSniff extends Sniff
* @since 7.0.0
* @since 7.0.3 Now lists all param type declarations, not just the PHP 7+ scalar ones.
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $newTypes = [
'array' => [
@@ -144,7 +144,7 @@ class NewParamTypeDeclarationsSniff extends Sniff
*
* @since 7.0.3
*
- * @var array(string => string)
+ * @var array
*/
protected $invalidTypes = [
'static' => 'self',
@@ -157,7 +157,7 @@ class NewParamTypeDeclarationsSniff extends Sniff
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $unionOnlyTypes = [
'false' => true,
@@ -172,7 +172,7 @@ class NewParamTypeDeclarationsSniff extends Sniff
* @since 7.1.3 Now also checks closures.
* @since 10.0.0 Now also checks PHP 7.4+ arrow functions.
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewReturnTypeDeclarationsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewReturnTypeDeclarationsSniff.php
index 82cd6d7e..760aebeb 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewReturnTypeDeclarationsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewReturnTypeDeclarationsSniff.php
@@ -64,7 +64,7 @@ class NewReturnTypeDeclarationsSniff extends Sniff
*
* @since 7.0.0
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $newTypes = [
'int' => [
@@ -152,7 +152,7 @@ class NewReturnTypeDeclarationsSniff extends Sniff
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $unionOnlyTypes = [
'false' => true,
@@ -164,7 +164,7 @@ class NewReturnTypeDeclarationsSniff extends Sniff
*
* @since 10.0.0
*
- * @var array Key: string type name, value: PHP version in which the type was introduced.
+ * @var array Key: string type name, value: PHP version in which the type was introduced.
*/
protected $standAloneTypes = [
'void' => '7.1',
@@ -180,7 +180,7 @@ class NewReturnTypeDeclarationsSniff extends Sniff
* @since 7.1.2 Now also checks based on the function and closure keywords.
* @since 10.0.0 Now also checks PHP 7.4+ arrow functions.
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewTrailingCommaSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewTrailingCommaSniff.php
index 3375f2a4..c39863eb 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewTrailingCommaSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NewTrailingCommaSniff.php
@@ -34,7 +34,7 @@ class NewTrailingCommaSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NonStaticMagicMethodsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NonStaticMagicMethodsSniff.php
index a39c6599..c6deb125 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NonStaticMagicMethodsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/NonStaticMagicMethodsSniff.php
@@ -46,7 +46,7 @@ class NonStaticMagicMethodsSniff extends Sniff
* @since 5.6 The array format has changed to allow the sniff to also verify the
* use of the correct visibility for a magic method.
*
- * @var array(string)
+ * @var array>
*/
protected $magicMethods = [
'__construct' => [
@@ -119,7 +119,7 @@ class NonStaticMagicMethodsSniff extends Sniff
* @since 7.1.4 Now also checks anonymous classes.
* @since 10.0.0 Switch to check based on T_FUNCTION token instead of OO construct token.
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedCallingDestructAfterConstructorExitSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedCallingDestructAfterConstructorExitSniff.php
index 76cc9d80..37a6d2e4 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedCallingDestructAfterConstructorExitSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedCallingDestructAfterConstructorExitSniff.php
@@ -40,7 +40,7 @@ class RemovedCallingDestructAfterConstructorExitSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedOptionalBeforeRequiredParamSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedOptionalBeforeRequiredParamSniff.php
index 66aa99a4..667c9eb9 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedOptionalBeforeRequiredParamSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedOptionalBeforeRequiredParamSniff.php
@@ -41,7 +41,7 @@ class RemovedOptionalBeforeRequiredParamSniff extends Sniff
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
private $allowedInDefault = [
\T_NULL => \T_NULL,
@@ -52,7 +52,7 @@ class RemovedOptionalBeforeRequiredParamSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedReturnByReferenceFromVoidSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedReturnByReferenceFromVoidSniff.php
index 911c5284..1b663413 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedReturnByReferenceFromVoidSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionDeclarations/RemovedReturnByReferenceFromVoidSniff.php
@@ -35,7 +35,7 @@ class RemovedReturnByReferenceFromVoidSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/NewMagicMethodsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/NewMagicMethodsSniff.php
index 13793853..2d06770e 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/NewMagicMethodsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/NewMagicMethodsSniff.php
@@ -47,7 +47,7 @@ class NewMagicMethodsSniff extends Sniff
*
* @since 7.0.4
*
- * @var array(string => array(string => bool|string))
+ * @var array>
*/
protected $newMagicMethods = [
'__construct' => [
@@ -114,7 +114,7 @@ class NewMagicMethodsSniff extends Sniff
*
* @since 7.0.4
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedMagicAutoloadSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedMagicAutoloadSniff.php
index 49b091f7..dcb9c6fd 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedMagicAutoloadSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedMagicAutoloadSniff.php
@@ -44,7 +44,7 @@ class RemovedMagicAutoloadSniff extends Sniff
*
* @since 8.1.0
*
- * @var array
+ * @var array
*/
private $checkForScopes = [
\T_NAMESPACE => \T_NAMESPACE,
@@ -55,7 +55,7 @@ class RemovedMagicAutoloadSniff extends Sniff
*
* @since 8.1.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedNamespacedAssertSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedNamespacedAssertSniff.php
index 0d6fa1dc..26c1d655 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedNamespacedAssertSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedNamespacedAssertSniff.php
@@ -45,7 +45,7 @@ class RemovedNamespacedAssertSniff extends Sniff
*
* @since 9.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedPHP4StyleConstructorsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedPHP4StyleConstructorsSniff.php
index f8f85761..7cf25ec1 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedPHP4StyleConstructorsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/RemovedPHP4StyleConstructorsSniff.php
@@ -51,7 +51,7 @@ class RemovedPHP4StyleConstructorsSniff extends Sniff
*
* @since 7.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/ReservedFunctionNamesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/ReservedFunctionNamesSniff.php
index f474f533..937596e2 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/ReservedFunctionNamesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionNameRestrictions/ReservedFunctionNamesSniff.php
@@ -37,7 +37,7 @@ class ReservedFunctionNamesSniff implements Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/ArgumentFunctionsReportCurrentValueSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/ArgumentFunctionsReportCurrentValueSniff.php
index e91cff46..5a34aa22 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/ArgumentFunctionsReportCurrentValueSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/ArgumentFunctionsReportCurrentValueSniff.php
@@ -44,7 +44,7 @@ class ArgumentFunctionsReportCurrentValueSniff extends Sniff
*
* @since 9.1.0
*
- * @var array
+ * @var array
*/
protected $changedFunctions = [
'func_get_arg' => true,
@@ -58,7 +58,7 @@ class ArgumentFunctionsReportCurrentValueSniff extends Sniff
*
* @since 9.1.0
*
- * @var array
+ * @var array
*/
private $skipPastNested = [
'T_CLASS' => true,
@@ -74,7 +74,7 @@ class ArgumentFunctionsReportCurrentValueSniff extends Sniff
*
* @since 9.1.0
*
- * @var array
+ * @var array
*/
private $plusPlusMinusMinus = [
\T_DEC => true,
@@ -86,7 +86,7 @@ class ArgumentFunctionsReportCurrentValueSniff extends Sniff
*
* @since 9.1.0
*
- * @var array
+ * @var array
*/
private $ignoreForStartOfStatement = [
\T_COMMA,
@@ -100,7 +100,7 @@ class ArgumentFunctionsReportCurrentValueSniff extends Sniff
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
private $ignoreForStartOfStatementVarUse = [
\T_COMMA,
@@ -115,7 +115,7 @@ class ArgumentFunctionsReportCurrentValueSniff extends Sniff
*
* @since 9.1.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/ArgumentFunctionsUsageSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/ArgumentFunctionsUsageSniff.php
index c11f29dd..dbb0eac1 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/ArgumentFunctionsUsageSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/ArgumentFunctionsUsageSniff.php
@@ -42,7 +42,7 @@ class ArgumentFunctionsUsageSniff extends Sniff
*
* @since 8.2.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'func_get_args' => true,
@@ -56,7 +56,7 @@ class ArgumentFunctionsUsageSniff extends Sniff
*
* @since 8.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewFunctionParametersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewFunctionParametersSniff.php
index d8a5bd2e..7651abaa 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewFunctionParametersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewFunctionParametersSniff.php
@@ -45,7 +45,7 @@ class NewFunctionParametersSniff extends AbstractFunctionCallParameterSniff
* @since 10.0.0 - The parameter offsets were changed from 0-based to 1-based.
* - The property was renamed from `$newFunctionParameters` to `$targetFunctions`.
*
- * @var array
+ * @var array>>
*/
protected $targetFunctions = [
'array_filter' => [
@@ -950,6 +950,13 @@ class NewFunctionParametersSniff extends AbstractFunctionCallParameterSniff
'5.3' => true,
],
],
+ 'strrchr' => [
+ 3 => [
+ 'name' => 'before_needle',
+ '8.2' => false,
+ '8.3' => true,
+ ],
+ ],
'strstr' => [
3 => [
'name' => 'before_needle',
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewFunctionsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewFunctionsSniff.php
index fdedfad9..116215aa 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewFunctionsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewFunctionsSniff.php
@@ -45,7 +45,7 @@ class NewFunctionsSniff extends Sniff
* but that sniff is no longer being extended.
* @since 7.0.8 Renamed from `$forbiddenFunctions` to the more descriptive `$newFunctions`.
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $newFunctions = [
'class_implements' => [
@@ -4938,6 +4938,56 @@ class NewFunctionsSniff extends Sniff
'8.3' => true,
'extension' => 'mbstring',
],
+ 'pg_set_error_context_visibility' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'pg_enter_pipeline_mode' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'pg_exit_pipeline_mode' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'pg_pipeline_sync' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'pg_pipeline_status' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'pgsql',
+ ],
+ 'posix_sysconf' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'posix_pathconf' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'posix_fpathconf' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'posix_eaccess' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'posix',
+ ],
+ 'socket_atmark' => [
+ '8.2' => false,
+ '8.3' => true,
+ 'extension' => 'sockets',
+ ],
];
@@ -4946,7 +4996,7 @@ class NewFunctionsSniff extends Sniff
*
* @since 5.6
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewNamedParametersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewNamedParametersSniff.php
index 78eab157..28732def 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewNamedParametersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/NewNamedParametersSniff.php
@@ -34,7 +34,7 @@ class NewNamedParametersSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/OptionalToRequiredFunctionParametersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/OptionalToRequiredFunctionParametersSniff.php
index cbfa7d89..610a68f3 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/OptionalToRequiredFunctionParametersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/OptionalToRequiredFunctionParametersSniff.php
@@ -48,7 +48,7 @@ class OptionalToRequiredFunctionParametersSniff extends AbstractFunctionCallPara
* compatibility with the `AbstractFunctionCallParameterSniff` class.
* - The parameter offsets were changed from 0-based to 1-based.
*
- * @var array
+ * @var array>>
*/
protected $targetFunctions = [
'crypt' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RemovedFunctionParametersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RemovedFunctionParametersSniff.php
index 1936a869..7dd228dc 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RemovedFunctionParametersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RemovedFunctionParametersSniff.php
@@ -51,7 +51,7 @@ class RemovedFunctionParametersSniff extends AbstractFunctionCallParameterSniff
* @since 10.0.0 - The parameter offsets were changed from 0-based to 1-based.
* - The property was renamed from `$removedFunctionParameters` to `$targetFunctions`.
*
- * @var array
+ * @var array>>
*/
protected $targetFunctions = [
'curl_version' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RemovedFunctionsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RemovedFunctionsSniff.php
index f2661ea4..6c724f3f 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RemovedFunctionsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RemovedFunctionsSniff.php
@@ -49,7 +49,7 @@ class RemovedFunctionsSniff extends Sniff
* but that sniff is no longer being extended.
* @since 7.0.8 Property renamed from `$forbiddenFunctions` to `$removedFunctions`.
*
- * @var array(string => array(string => bool|string|null))
+ * @var array>
*/
protected $removedFunctions = [
'crack_check' => [
@@ -5082,7 +5082,7 @@ class RemovedFunctionsSniff extends Sniff
*
* @since 5.6
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RequiredToOptionalFunctionParametersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RequiredToOptionalFunctionParametersSniff.php
index aa2ae9fe..b087da20 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RequiredToOptionalFunctionParametersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/FunctionUse/RequiredToOptionalFunctionParametersSniff.php
@@ -48,7 +48,7 @@ class RequiredToOptionalFunctionParametersSniff extends AbstractFunctionCallPara
* compatibility with the `AbstractFunctionCallParameterSniff` class.
* - The parameter offsets were changed from 0-based to 1-based.
*
- * @var array
+ * @var array>>
*/
protected $targetFunctions = [
'array_diff_assoc' => [
@@ -410,7 +410,7 @@ public function processNoParameters(File $phpcsFile, $stackPtr, $functionName)
*
* @param array $itemArray Version and other information about the item.
*
- * @return array
+ * @return array
*/
protected function getVersionInfo(array $itemArray)
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Generators/NewGeneratorReturnSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Generators/NewGeneratorReturnSniff.php
index 3cd74087..491a0f70 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Generators/NewGeneratorReturnSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Generators/NewGeneratorReturnSniff.php
@@ -36,7 +36,7 @@ class NewGeneratorReturnSniff extends Sniff
*
* @since 9.0.0
*
- * @var array
+ * @var array
*/
private $validConditions = [
\T_FUNCTION => \T_FUNCTION,
@@ -49,7 +49,7 @@ class NewGeneratorReturnSniff extends Sniff
*
* @since 8.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/IniDirectives/NewIniDirectivesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/IniDirectives/NewIniDirectivesSniff.php
index e7156403..2ebcfe03 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/IniDirectives/NewIniDirectivesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/IniDirectives/NewIniDirectivesSniff.php
@@ -47,7 +47,7 @@ class NewIniDirectivesSniff extends AbstractFunctionCallParameterSniff
* @since 10.0.0 Moved from the base `Sniff` class to this sniff and renamed from
* `$iniFunctions` to `$targetFunctions`.
*
- * @var array
+ * @var array>
*/
protected $targetFunctions = [
'ini_get' => [
@@ -69,7 +69,7 @@ class NewIniDirectivesSniff extends AbstractFunctionCallParameterSniff
* @since 5.5
* @since 7.0.3 Support for 'alternative' has been added.
*
- * @var array(string)
+ * @var array>
*/
protected $newIniDirectives = [
'auto_globals_jit' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/IniDirectives/RemovedIniDirectivesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/IniDirectives/RemovedIniDirectivesSniff.php
index c01d4525..5e7f43d9 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/IniDirectives/RemovedIniDirectivesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/IniDirectives/RemovedIniDirectivesSniff.php
@@ -49,7 +49,7 @@ class RemovedIniDirectivesSniff extends AbstractFunctionCallParameterSniff
* @since 10.0.0 Moved from the base `Sniff` class to this sniff and renamed from
* `$iniFunctions` to `$targetFunctions`.
*
- * @var array
+ * @var array>
*/
protected $targetFunctions = [
'ini_get' => [
@@ -71,7 +71,7 @@ class RemovedIniDirectivesSniff extends AbstractFunctionCallParameterSniff
* @since 5.5
* @since 7.0.3 Support for 'alternative' has been added.
*
- * @var array(string)
+ * @var array>
*/
protected $deprecatedIniDirectives = [
'crack.default_dictionary' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantArraysUsingConstSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantArraysUsingConstSniff.php
index ddeafb82..18654082 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantArraysUsingConstSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantArraysUsingConstSniff.php
@@ -36,7 +36,7 @@ class NewConstantArraysUsingConstSniff extends Sniff
*
* @since 7.1.4
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantArraysUsingDefineSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantArraysUsingDefineSniff.php
index 70fac113..29a9bc58 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantArraysUsingDefineSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantArraysUsingDefineSniff.php
@@ -38,7 +38,7 @@ class NewConstantArraysUsingDefineSniff extends AbstractFunctionCallParameterSni
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'define' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantScalarExpressionsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantScalarExpressionsSniff.php
index ec8ed3ef..40e90ced 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantScalarExpressionsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewConstantScalarExpressionsSniff.php
@@ -56,7 +56,7 @@ class NewConstantScalarExpressionsSniff extends AbstractInitialValueSniff
*
* @since 8.2.0
*
- * @var array
+ * @var array
*/
protected $safeOperands = [
\T_LNUMBER => \T_LNUMBER,
@@ -81,7 +81,7 @@ class NewConstantScalarExpressionsSniff extends AbstractInitialValueSniff
*
* @since 8.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewHeredocSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewHeredocSniff.php
index 34655941..76f4a3f9 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewHeredocSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewHeredocSniff.php
@@ -56,7 +56,7 @@ class NewHeredocSniff extends AbstractInitialValueSniff
* @since 8.2.0
* @since 10.0.0 Renamed from `$errorPhrases` to `$initialValueTypes`.
*
- * @var array
+ * @var array Type indicator => suggested partial error phrase.
*/
protected $initialValueTypes = [
'const' => 'constants',
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewNewInInitializersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewNewInInitializersSniff.php
index 4196d7db..81ea7efd 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewNewInInitializersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/InitialValue/NewNewInInitializersSniff.php
@@ -53,7 +53,7 @@ final class NewNewInInitializersSniff extends AbstractInitialValueSniff
*
* @since 10.0.0.
*
- * @var array
+ * @var array Type indicator => suggested partial error phrase.
*/
protected $initialValueTypes = [
'const' => 'global/namespaced constants declared using the const keyword',
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/InternalInterfacesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/InternalInterfacesSniff.php
index 2753c46e..d8503729 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/InternalInterfacesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/InternalInterfacesSniff.php
@@ -37,7 +37,7 @@ class InternalInterfacesSniff extends Sniff
*
* @since 7.0.3
*
- * @var array(string => string)
+ * @var array
*/
protected $internalInterfaces = [
'Traversable' => 'shouldn\'t be implemented directly, implement the Iterator or IteratorAggregate interface instead.',
@@ -52,7 +52,7 @@ class InternalInterfacesSniff extends Sniff
*
* @since 10.0.0
*
- * @var array(string => bool)
+ * @var array
*/
private $cannotBeExtended = [
'DateTimeInterface' => true,
@@ -66,7 +66,7 @@ class InternalInterfacesSniff extends Sniff
*
* @since 7.0.3
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/NewInterfacesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/NewInterfacesSniff.php
index bc488707..4b17d887 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/NewInterfacesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/NewInterfacesSniff.php
@@ -46,7 +46,7 @@ class NewInterfacesSniff extends Sniff
*
* @since 7.0.3
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $newInterfaces = [
'Traversable' => [
@@ -164,7 +164,7 @@ class NewInterfacesSniff extends Sniff
*
* @since 7.0.3
*
- * @var array(string => array(string => string))
+ * @var array>
*/
protected $unsupportedMethods = [
'Serializable' => [
@@ -178,7 +178,7 @@ class NewInterfacesSniff extends Sniff
*
* @since 7.0.3
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/RemovedSerializableSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/RemovedSerializableSniff.php
index 8e4588e7..f6a883a0 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/RemovedSerializableSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Interfaces/RemovedSerializableSniff.php
@@ -73,7 +73,7 @@ class RemovedSerializableSniff extends Sniff
*
* @since 10.0.0
*
- * @var array
+ * @var string[]
*/
private $phpSerializableInterfaces = [
'serializable',
@@ -112,7 +112,7 @@ class RemovedSerializableSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
@@ -342,8 +342,8 @@ private function cleanInterfaceNames($interfaceNames)
* @param int $stackPtr The position of the current token in the
* stack passed in $tokens.
*
- * @return array Array with two keys: '__serialize' and '__unserialize'.
- * The values are boolean indicators of whether the method declarations were found.
+ * @return array Array with two keys: '__serialize' and '__unserialize'.
+ * The values are boolean indicators of whether the method declarations were found.
*/
private function findMagicMethods($phpcsFile, $stackPtr)
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/CaseSensitiveKeywordsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/CaseSensitiveKeywordsSniff.php
index b098b809..164cc55d 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/CaseSensitiveKeywordsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/CaseSensitiveKeywordsSniff.php
@@ -35,7 +35,7 @@ class CaseSensitiveKeywordsSniff extends Sniff
*
* @since 7.1.4
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/ForbiddenNamesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/ForbiddenNamesSniff.php
index 705680fa..fb84fb23 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/ForbiddenNamesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/ForbiddenNamesSniff.php
@@ -45,7 +45,7 @@ class ForbiddenNamesSniff extends Sniff
*
* @since 5.5
*
- * @var array(string => string)
+ * @var array
*/
protected $invalidNames = [
'abstract' => '5.0',
@@ -133,7 +133,7 @@ class ForbiddenNamesSniff extends Sniff
* @since 7.0.8
* @since 10.0.0 Moved from the ForbiddenNamesAsDeclared sniff to this sniff.
*
- * @var array
+ * @var array
*/
protected $otherForbiddenNames = [
'null' => '7.0',
@@ -159,7 +159,7 @@ class ForbiddenNamesSniff extends Sniff
* @since 7.0.8
* @since 10.0.0 Moved from the ForbiddenNamesAsDeclared sniff to this sniff.
*
- * @var array
+ * @var array
*/
protected $softReservedNames = [
'resource' => '7.0',
@@ -179,7 +179,7 @@ class ForbiddenNamesSniff extends Sniff
* @since 7.0.8
* @since 10.0.0 Moved from the ForbiddenNamesAsDeclared sniff to this sniff.
*
- * @var array
+ * @var array
*/
private $allOtherForbiddenNames = [];
@@ -188,7 +188,7 @@ class ForbiddenNamesSniff extends Sniff
*
* @since 7.0.1
*
- * @var array(string => string)
+ * @var array
*/
protected $validUseNames = [
'const' => true,
@@ -200,7 +200,7 @@ class ForbiddenNamesSniff extends Sniff
*
* @since 7.1.4
*
- * @var array
+ * @var array
*/
private $allowedModifiers = [];
@@ -209,7 +209,7 @@ class ForbiddenNamesSniff extends Sniff
*
* @since 5.5
*
- * @var array
+ * @var array
*/
protected $targetedTokens = [
\T_NAMESPACE,
@@ -229,7 +229,7 @@ class ForbiddenNamesSniff extends Sniff
*
* @since 5.5
*
- * @return array
+ * @return array
*/
public function register()
{
@@ -432,6 +432,9 @@ protected function processNamespaceDeclaration(File $phpcsFile, $stackPtr)
* Deal with PHP 8 relaxing the rules.
* "The namespace declaration will accept any name, including isolated reserved keywords.
* The only restriction is that the namespace name cannot start with a `namespace` segment"
+ *
+ * Note: keywords which didn't become reserved prior to PHP 8.0 should never be flagged
+ * when used in namespace names, as they are not problematic in PHP < 8.0.
*/
$nextContentLC = \strtolower($tokens[$next]['content']);
if (ScannedCode::shouldRunOnOrBelow('7.4') === false
@@ -464,16 +467,59 @@ protected function processNamespaceDeclaration(File $phpcsFile, $stackPtr)
}
foreach ($parts as $part) {
- $this->checkName($phpcsFile, $i, $part);
- $this->checkOtherName($phpcsFile, $i, $part, 'namespace declaration');
+ if ($this->isKeywordReservedPriorToPHP8($part) === true) {
+ $this->checkName($phpcsFile, $i, $part);
+ $this->checkOtherName($phpcsFile, $i, $part, 'namespace declaration');
+ }
}
} else {
- $this->checkName($phpcsFile, $i, $tokens[$i]['content']);
- $this->checkOtherName($phpcsFile, $i, $tokens[$i]['content'], 'namespace declaration');
+ if ($this->isKeywordReservedPriorToPHP8($tokens[$i]['content']) === true) {
+ $this->checkName($phpcsFile, $i, $tokens[$i]['content']);
+ $this->checkOtherName($phpcsFile, $i, $tokens[$i]['content'], 'namespace declaration');
+ }
}
}
}
+ /**
+ * Check if a keyword was marked as reserved prior to PHP 8.0.
+ *
+ * Helper method for the `processNamespaceDeclaration()` method.
+ *
+ * Keywords which didn't become reserved prior to PHP 8.0 should never be flagged
+ * when used in namespace names, as they are not problematic in PHP < 8.0.
+ *
+ * @param string $name The name to check.
+ *
+ * @return bool
+ */
+ private function isKeywordReservedPriorToPHP8($name)
+ {
+ $nameLC = \strtolower($name);
+
+ if (isset($this->invalidNames[$nameLC]) === true
+ && $this->invalidNames[$nameLC] !== 'all'
+ && \version_compare($this->invalidNames[$nameLC], '8.0', '>=')
+ ) {
+ return false;
+ }
+
+ if (isset($this->softReservedNames[$nameLC]) === true
+ && \version_compare($this->softReservedNames[$nameLC], '8.0', '>=')
+ ) {
+ return false;
+ }
+
+ if (isset($this->otherForbiddenNames[$nameLC]) === true
+ && isset($this->softReservedNames[$nameLC]) === false
+ && \version_compare($this->otherForbiddenNames[$nameLC], '8.0', '>=')
+ ) {
+ return false;
+ }
+
+ return true;
+ }
+
/**
* Processes class/trait/interface declarations.
*
@@ -518,18 +564,12 @@ protected function processOODeclaration(File $phpcsFile, $stackPtr)
*/
protected function processFunctionDeclaration(File $phpcsFile, $stackPtr)
{
- /*
- * Deal with PHP 7 relaxing the rules.
- * "As of PHP 7.0.0 these keywords are allowed as property, constant, and method names
- * of classes, interfaces and traits."
- */
- if (Scopes::isOOMethod($phpcsFile, $stackPtr) === true
- && ScannedCode::shouldRunOnOrBelow('5.6') === false
- ) {
+ $name = FunctionDeclarations::getName($phpcsFile, $stackPtr);
+ if (empty($name)) {
return;
}
- $name = FunctionDeclarations::getName($phpcsFile, $stackPtr);
+ $nameLC = \strtolower($name);
/*
* Deal with `readonly` being a reserved keyword, but still being allowed
@@ -538,7 +578,27 @@ protected function processFunctionDeclaration(File $phpcsFile, $stackPtr)
* @link https://github.com/php/php-src/pull/7468 (PHP 8.1)
* @link https://github.com/php/php-src/pull/9512 (PHP 8.2 follow-up)
*/
- if (\strtolower($name) === 'readonly') {
+ if ($nameLC === 'readonly') {
+ return;
+ }
+
+ if (isset($this->invalidNames[$nameLC]) === false) {
+ return;
+ }
+
+ /*
+ * Deal with PHP 7 relaxing the rules.
+ * "As of PHP 7.0.0 these keywords are allowed as property, constant, and method names
+ * of classes, interfaces and traits."
+ *
+ * Note: keywords which didn't become reserved prior to PHP 7.0 should never be flagged
+ * when used as method names, as they are not problematic in PHP < 7.0.
+ */
+ if (Scopes::isOOMethod($phpcsFile, $stackPtr) === true
+ && (ScannedCode::shouldRunOnOrBelow('5.6') === false
+ || ($this->invalidNames[$nameLC] !== 'all'
+ && \version_compare($this->invalidNames[$nameLC], '7.0', '>=')))
+ ) {
return;
}
@@ -575,10 +635,15 @@ protected function processConstDeclaration(File $phpcsFile, $stackPtr)
* Deal with PHP 7 relaxing the rules.
* "As of PHP 7.0.0 these keywords are allowed as property, constant, and method names
* of classes, interfaces and traits, except that class may not be used as constant name."
+ *
+ * Note: keywords which didn't become reserved prior to PHP 7.0 should never be flagged
+ * when used as OO constant names, as they are not problematic in PHP < 7.0.
*/
if ($nameLc !== 'class'
&& Scopes::isOOConstant($phpcsFile, $stackPtr) === true
- && ScannedCode::shouldRunOnOrBelow('5.6') === false
+ && (ScannedCode::shouldRunOnOrBelow('5.6') === false
+ || ($this->invalidNames[$nameLc] !== 'all'
+ && \version_compare($this->invalidNames[$nameLc], '7.0', '>=')))
) {
return;
}
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/NewKeywordsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/NewKeywordsSniff.php
index 677a0ca2..05261dd4 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/NewKeywordsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Keywords/NewKeywordsSniff.php
@@ -58,7 +58,7 @@ class NewKeywordsSniff extends Sniff
* parent class. This index has been renamed to `callback` and now expect
* one of the PHP accepted callback formats.
*
- * @var array(string => array(string => bool|string))
+ * @var array>
*/
protected $newKeywords = [
'T_HALT_COMPILER' => [
@@ -172,7 +172,7 @@ class NewKeywordsSniff extends Sniff
*
* @since 7.0.5
*
- * @var array(string => string)
+ * @var array
*/
protected $translateContentToToken = [];
@@ -182,7 +182,7 @@ class NewKeywordsSniff extends Sniff
*
* @since 5.5
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/LanguageConstructs/NewEmptyNonVariableSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/LanguageConstructs/NewEmptyNonVariableSniff.php
index 69574bb9..34f97552 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/LanguageConstructs/NewEmptyNonVariableSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/LanguageConstructs/NewEmptyNonVariableSniff.php
@@ -39,7 +39,7 @@ class NewEmptyNonVariableSniff extends Sniff
*
* @since 7.0.4
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/LanguageConstructs/NewLanguageConstructsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/LanguageConstructs/NewLanguageConstructsSniff.php
index 0db15141..ba7e99a9 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/LanguageConstructs/NewLanguageConstructsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/LanguageConstructs/NewLanguageConstructsSniff.php
@@ -41,7 +41,7 @@ class NewLanguageConstructsSniff extends Sniff
*
* @since 5.6
*
- * @var array(string => array(string => bool|string))
+ * @var array>
*/
protected $newConstructs = [
'T_NS_SEPARATOR' => [
@@ -62,7 +62,7 @@ class NewLanguageConstructsSniff extends Sniff
*
* @since 5.6
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/AssignmentOrderSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/AssignmentOrderSniff.php
index 163d3a07..e048b0e9 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/AssignmentOrderSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/AssignmentOrderSniff.php
@@ -39,7 +39,7 @@ class AssignmentOrderSniff extends Sniff
*
* @since 9.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
@@ -101,8 +101,8 @@ public function process(File $phpcsFile, $stackPtr)
* @param \PHP_CodeSniffer\Files\File $phpcsFile The file being scanned.
* @param int $stackPtr The position of a list-like token.
*
- * @return array Array with the variables being assigned to as values and the corresponding
- * stack pointer to the start of each variable as keys.
+ * @return array Array with the variables being assigned to as values and the corresponding
+ * stack pointer to the start of each variable as keys.
*
* @throws \PHP_CodeSniffer\Exceptions\RuntimeException If the specified $stackPtr is not of
* type T_LIST, T_OPEN_SHORT_ARRAY or
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/ForbiddenEmptyListAssignmentSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/ForbiddenEmptyListAssignmentSniff.php
index 8f5f44f8..6dcd2a03 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/ForbiddenEmptyListAssignmentSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/ForbiddenEmptyListAssignmentSniff.php
@@ -36,7 +36,7 @@ class ForbiddenEmptyListAssignmentSniff extends Sniff
*
* @since 7.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewKeyedListSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewKeyedListSniff.php
index cf295d52..d7c0da72 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewKeyedListSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewKeyedListSniff.php
@@ -36,7 +36,7 @@ class NewKeyedListSniff extends Sniff
*
* @since 9.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewListReferenceAssignmentSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewListReferenceAssignmentSniff.php
index fa38f23f..1a4d849d 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewListReferenceAssignmentSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewListReferenceAssignmentSniff.php
@@ -38,7 +38,7 @@ class NewListReferenceAssignmentSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewShortListSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewShortListSniff.php
index 0f7c3294..1fddbc20 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewShortListSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Lists/NewShortListSniff.php
@@ -38,7 +38,7 @@ class NewShortListSniff extends Sniff
*
* @since 9.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/MethodUse/ForbiddenToStringParametersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/MethodUse/ForbiddenToStringParametersSniff.php
index 6d8bfc17..70b80b33 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/MethodUse/ForbiddenToStringParametersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/MethodUse/ForbiddenToStringParametersSniff.php
@@ -37,7 +37,7 @@ class ForbiddenToStringParametersSniff extends Sniff
*
* @since 9.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/MethodUse/NewDirectCallsToCloneSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/MethodUse/NewDirectCallsToCloneSniff.php
index fa3e8dd4..a3469043 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/MethodUse/NewDirectCallsToCloneSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/MethodUse/NewDirectCallsToCloneSniff.php
@@ -38,7 +38,7 @@ class NewDirectCallsToCloneSniff extends Sniff
*
* @since 9.1.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Miscellaneous/NewPHPOpenTagEOFSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Miscellaneous/NewPHPOpenTagEOFSniff.php
index 0ce2dee0..8e86ae5b 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Miscellaneous/NewPHPOpenTagEOFSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Miscellaneous/NewPHPOpenTagEOFSniff.php
@@ -47,7 +47,7 @@ class NewPHPOpenTagEOFSniff extends Sniff
*
* @since 9.3.0
*
- * @return array
+ * @return array
*/
public function register()
{
@@ -62,7 +62,7 @@ public function register()
$targets[] = \T_STRING;
}
- if (\version_compare(\PHP_VERSION_ID, '70399', '>')) {
+ if (\PHP_VERSION_ID >= 70400) {
$targets[] = \T_OPEN_TAG;
}
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Miscellaneous/RemovedAlternativePHPTagsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Miscellaneous/RemovedAlternativePHPTagsSniff.php
index a0b27778..48f02757 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Miscellaneous/RemovedAlternativePHPTagsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Miscellaneous/RemovedAlternativePHPTagsSniff.php
@@ -45,11 +45,11 @@ class RemovedAlternativePHPTagsSniff extends Sniff
*
* @since 7.0.4
*
- * @return array
+ * @return array
*/
public function register()
{
- if (\version_compare(\PHP_VERSION_ID, '70000', '<') === true) {
+ if (\PHP_VERSION_ID < 70000) {
// phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.asp_tagsRemoved
$this->aspTags = (bool) \ini_get('asp_tags');
}
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Namespaces/ReservedNamesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Namespaces/ReservedNamesSniff.php
index 6a18c55b..8ae666f3 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Namespaces/ReservedNamesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Namespaces/ReservedNamesSniff.php
@@ -57,7 +57,7 @@ class ReservedNamesSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/NewExplicitOctalNotationSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/NewExplicitOctalNotationSniff.php
index d28d6009..3f3a32dd 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/NewExplicitOctalNotationSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/NewExplicitOctalNotationSniff.php
@@ -33,7 +33,7 @@ class NewExplicitOctalNotationSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/NewNumericLiteralSeparatorSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/NewNumericLiteralSeparatorSniff.php
index c3fa6e8d..fb13c533 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/NewNumericLiteralSeparatorSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/NewNumericLiteralSeparatorSniff.php
@@ -35,7 +35,7 @@ class NewNumericLiteralSeparatorSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/RemovedHexadecimalNumericStringsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/RemovedHexadecimalNumericStringsSniff.php
index d343ccbb..2862c9c8 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/RemovedHexadecimalNumericStringsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/RemovedHexadecimalNumericStringsSniff.php
@@ -46,10 +46,10 @@ class RemovedHexadecimalNumericStringsSniff extends Sniff
*
* @since 10.0.0
*
- * @var array True if all arguments in the function call accept hex numeric
- * strings. An array with 1-based parameter position (key) and
- * names (value) for those functions which only accept
- * hex numeric strings for select parameters.
+ * @var array|true> True if all arguments in the function call accept hex numeric
+ * strings. An array with 1-based parameter position (key) and
+ * names (value) for those functions which only accept
+ * hex numeric strings for select parameters.
*/
private $excludedFunctions = [
'gmp_abs' => true,
@@ -107,7 +107,7 @@ class RemovedHexadecimalNumericStringsSniff extends Sniff
*
* @since 7.0.3
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/ValidIntegersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/ValidIntegersSniff.php
index 58520e13..56038f53 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/ValidIntegersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Numbers/ValidIntegersSniff.php
@@ -43,7 +43,7 @@ class ValidIntegersSniff extends Sniff
*
* @since 7.0.3
*
- * @return array
+ * @return array
*/
public function register()
{
@@ -160,9 +160,9 @@ private function getBinaryInteger(File $phpcsFile, $tokens, $stackPtr)
*
* @since 7.0.3
*
- * @param array $tokens Token stack.
- * @param int $stackPtr The current position in the token stack.
- * @param string $numberInfo The information on the number to examine
+ * @param array $tokens Token stack.
+ * @param int $stackPtr The current position in the token stack.
+ * @param array $numberInfo The information on the number to examine
*
* @return string|bool The invalid octal as a string or false when this is not an invalid octal.
*/
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/ChangedConcatOperatorPrecedenceSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/ChangedConcatOperatorPrecedenceSniff.php
index f5f9b4c5..01ff13ba 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/ChangedConcatOperatorPrecedenceSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/ChangedConcatOperatorPrecedenceSniff.php
@@ -44,7 +44,7 @@ class ChangedConcatOperatorPrecedenceSniff extends Sniff
*
* @since 9.2.0
*
- * @var array
+ * @var array
*/
private $tokensWithLowerPrecedence = [
'T_BITWISE_AND' => true,
@@ -63,7 +63,7 @@ class ChangedConcatOperatorPrecedenceSniff extends Sniff
*
* @since 9.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/ForbiddenNegativeBitshiftSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/ForbiddenNegativeBitshiftSniff.php
index 9c2df5ff..fe2ae054 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/ForbiddenNegativeBitshiftSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/ForbiddenNegativeBitshiftSniff.php
@@ -40,7 +40,7 @@ class ForbiddenNegativeBitshiftSniff extends Sniff
*
* @since 8.2.0
*
- * @var array
+ * @var array
*/
private $inclusiveStopPoints = [
\T_COLON => true,
@@ -55,7 +55,7 @@ class ForbiddenNegativeBitshiftSniff extends Sniff
* @since 7.0.0
* @since 8.2.0 Now registers all bitshift tokens, not just bitshift right (`T_SR`).
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/NewOperatorsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/NewOperatorsSniff.php
index 8c93881d..a64c6786 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/NewOperatorsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/NewOperatorsSniff.php
@@ -42,7 +42,7 @@ class NewOperatorsSniff extends Sniff
*
* @since 5.6
*
- * @var array(string => array(string => bool|string))
+ * @var array>
*/
protected $newOperators = [
'T_POW' => [
@@ -82,7 +82,7 @@ class NewOperatorsSniff extends Sniff
*
* @since 5.6
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/NewShortTernarySniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/NewShortTernarySniff.php
index 8566e3fd..ebd67030 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/NewShortTernarySniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/NewShortTernarySniff.php
@@ -38,7 +38,7 @@ class NewShortTernarySniff extends Sniff
*
* @since 7.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/RemovedTernaryAssociativitySniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/RemovedTernaryAssociativitySniff.php
index cccf87b9..ec751ee2 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/RemovedTernaryAssociativitySniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Operators/RemovedTernaryAssociativitySniff.php
@@ -39,7 +39,7 @@ class RemovedTernaryAssociativitySniff extends Sniff
*
* @since 9.2.0
*
- * @var array
+ * @var array
*/
private $tokensWithLowerPrecedence = [
'T_YIELD_FROM' => true,
@@ -55,7 +55,7 @@ class RemovedTernaryAssociativitySniff extends Sniff
*
* @since 9.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ChangedIntToBoolParamTypeSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ChangedIntToBoolParamTypeSniff.php
index 20c6e357..cd0eb538 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ChangedIntToBoolParamTypeSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ChangedIntToBoolParamTypeSniff.php
@@ -35,7 +35,7 @@ class ChangedIntToBoolParamTypeSniff extends AbstractFunctionCallParameterSniff
*
* @since 10.0.0
*
- * @var array
+ * @var array>>
*/
protected $targetFunctions = [
'ob_implicit_flush' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ChangedObStartEraseFlagsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ChangedObStartEraseFlagsSniff.php
index bc46eab4..e72d93c2 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ChangedObStartEraseFlagsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ChangedObStartEraseFlagsSniff.php
@@ -39,7 +39,7 @@ class ChangedObStartEraseFlagsSniff extends AbstractFunctionCallParameterSniff
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'ob_start' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenGetClassNullSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenGetClassNullSniff.php
index bd9c6b85..828e4d8a 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenGetClassNullSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenGetClassNullSniff.php
@@ -34,7 +34,7 @@ class ForbiddenGetClassNullSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'get_class' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenSessionModuleNameUserSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenSessionModuleNameUserSniff.php
index 8aeaf13f..2671b72d 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenSessionModuleNameUserSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenSessionModuleNameUserSniff.php
@@ -37,7 +37,7 @@ class ForbiddenSessionModuleNameUserSniff extends AbstractFunctionCallParameterS
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'session_module_name' => true,
@@ -50,7 +50,7 @@ class ForbiddenSessionModuleNameUserSniff extends AbstractFunctionCallParameterS
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
private $targetTokens = [];
@@ -59,7 +59,7 @@ class ForbiddenSessionModuleNameUserSniff extends AbstractFunctionCallParameterS
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenStripTagsSelfClosingXHTMLSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenStripTagsSelfClosingXHTMLSniff.php
index 2e8a1e80..2f53b9cf 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenStripTagsSelfClosingXHTMLSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/ForbiddenStripTagsSelfClosingXHTMLSniff.php
@@ -33,7 +33,7 @@ class ForbiddenStripTagsSelfClosingXHTMLSniff extends AbstractFunctionCallParame
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'strip_tags' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewArrayMergeRecursiveWithGlobalsVarSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewArrayMergeRecursiveWithGlobalsVarSniff.php
index b1146f53..1190f67c 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewArrayMergeRecursiveWithGlobalsVarSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewArrayMergeRecursiveWithGlobalsVarSniff.php
@@ -33,7 +33,7 @@ final class NewArrayMergeRecursiveWithGlobalsVarSniff extends AbstractFunctionCa
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'array_merge_recursive' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewArrayReduceInitialTypeSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewArrayReduceInitialTypeSniff.php
index fff66a59..6eb84a10 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewArrayReduceInitialTypeSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewArrayReduceInitialTypeSniff.php
@@ -34,7 +34,7 @@ class NewArrayReduceInitialTypeSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'array_reduce' => true,
@@ -46,7 +46,7 @@ class NewArrayReduceInitialTypeSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.0.0
*
- * @var array
+ * @var array
*/
private $variableValueTokens = [
\T_VARIABLE,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewAssertCustomExceptionSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewAssertCustomExceptionSniff.php
index e49927a6..8f98186a 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewAssertCustomExceptionSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewAssertCustomExceptionSniff.php
@@ -36,7 +36,7 @@ class NewAssertCustomExceptionSniff extends AbstractFunctionCallParameterSniff
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'assert' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewFopenModesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewFopenModesSniff.php
index 777c527f..a5f0ce60 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewFopenModesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewFopenModesSniff.php
@@ -32,7 +32,7 @@ class NewFopenModesSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'fopen' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHTMLEntitiesEncodingDefaultSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHTMLEntitiesEncodingDefaultSniff.php
index 1f6cf644..4d7954cb 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHTMLEntitiesEncodingDefaultSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHTMLEntitiesEncodingDefaultSniff.php
@@ -39,7 +39,7 @@ class NewHTMLEntitiesEncodingDefaultSniff extends AbstractFunctionCallParameterS
*
* @since 9.3.0
*
- * @var array
+ * @var array>
*/
protected $targetFunctions = [
'html_entity_decode' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHTMLEntitiesFlagsDefaultSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHTMLEntitiesFlagsDefaultSniff.php
index c57bbadb..67873e2d 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHTMLEntitiesFlagsDefaultSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHTMLEntitiesFlagsDefaultSniff.php
@@ -39,7 +39,7 @@ class NewHTMLEntitiesFlagsDefaultSniff extends AbstractFunctionCallParameterSnif
*
* @since 10.0.0
*
- * @var array
+ * @var array>
*/
protected $targetFunctions = [
'get_html_translation_table' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHashAlgorithmsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHashAlgorithmsSniff.php
index e71df65d..e4a6f97d 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHashAlgorithmsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewHashAlgorithmsSniff.php
@@ -41,7 +41,7 @@ class NewHashAlgorithmsSniff extends AbstractFunctionCallParameterSniff
*
* @since 7.0.7
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $newAlgorithms = [
'md2' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewIDNVariantDefaultSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewIDNVariantDefaultSniff.php
index c635e14b..8c9a4c3e 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewIDNVariantDefaultSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewIDNVariantDefaultSniff.php
@@ -39,7 +39,7 @@ class NewIDNVariantDefaultSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.3.0
*
- * @var array
+ * @var array>
*/
protected $targetFunctions = [
'idn_to_ascii' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewIconvMbstringCharsetDefaultSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewIconvMbstringCharsetDefaultSniff.php
index 6f38981c..302d47e3 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewIconvMbstringCharsetDefaultSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewIconvMbstringCharsetDefaultSniff.php
@@ -50,7 +50,7 @@ class NewIconvMbstringCharsetDefaultSniff extends AbstractFunctionCallParameterS
*
* @since 9.3.0
*
- * @var array
+ * @var array>
*/
protected $targetFunctions = [
'iconv_mime_decode_headers' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewNegativeStringOffsetSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewNegativeStringOffsetSniff.php
index 2f91f26d..125c20c9 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewNegativeStringOffsetSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewNegativeStringOffsetSniff.php
@@ -34,7 +34,7 @@ class NewNegativeStringOffsetSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.0.0
*
- * @var array Function name => 1-based parameter offset of the affected parameters => parameter name.
+ * @var array> Function name => 1-based parameter offset of the affected parameters => parameter name.
*/
protected $targetFunctions = [
'file_get_contents' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewNumberFormatMultibyteSeparatorsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewNumberFormatMultibyteSeparatorsSniff.php
index 5a87b53a..3ce60b79 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewNumberFormatMultibyteSeparatorsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewNumberFormatMultibyteSeparatorsSniff.php
@@ -37,7 +37,7 @@ class NewNumberFormatMultibyteSeparatorsSniff extends AbstractFunctionCallParame
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'number_format' => true,
@@ -50,7 +50,7 @@ class NewNumberFormatMultibyteSeparatorsSniff extends AbstractFunctionCallParame
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
private $targetTokens = [];
@@ -59,7 +59,7 @@ class NewNumberFormatMultibyteSeparatorsSniff extends AbstractFunctionCallParame
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPCREModifiersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPCREModifiersSniff.php
index 38a1a062..468b214c 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPCREModifiersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPCREModifiersSniff.php
@@ -41,8 +41,8 @@ class NewPCREModifiersSniff extends AbstractFunctionCallParameterSniff
* @since 8.2.0
* @since 10.0.0 Value changed from an irrelevant value to an array.
*
- * @var array Key is the function name, value an array containing the 1-based parameter position
- * and the official name of the parameter.
+ * @var array> Key is the function name, value an array containing
+ * the 1-based parameter position and the official name of the parameter.
*/
protected $targetFunctions = [
'preg_filter' => [
@@ -87,7 +87,7 @@ class NewPCREModifiersSniff extends AbstractFunctionCallParameterSniff
*
* @since 8.2.0
*
- * @var array
+ * @var array>
*/
protected $newModifiers = [
'J' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPackFormatSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPackFormatSniff.php
index a8a0b470..510a5ece 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPackFormatSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPackFormatSniff.php
@@ -34,7 +34,7 @@ class NewPackFormatSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'pack' => true,
@@ -45,7 +45,7 @@ class NewPackFormatSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.0.0
*
- * @var array Regex pattern => Version array.
+ * @var array> Regex pattern => Version array.
*/
protected $newFormats = [
'`([Z])`' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPasswordAlgoConstantValuesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPasswordAlgoConstantValuesSniff.php
index 7803b23b..9c4c66c4 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPasswordAlgoConstantValuesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewPasswordAlgoConstantValuesSniff.php
@@ -41,7 +41,7 @@ class NewPasswordAlgoConstantValuesSniff extends AbstractFunctionCallParameterSn
*
* @since 9.3.0
*
- * @var array
+ * @var array>
*/
protected $targetFunctions = [
'password_hash' => [
@@ -59,7 +59,7 @@ class NewPasswordAlgoConstantValuesSniff extends AbstractFunctionCallParameterSn
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
private $invalidTokenTypes = [
\T_NULL => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewProcOpenCmdArraySniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewProcOpenCmdArraySniff.php
index 339ff833..3602c8e0 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewProcOpenCmdArraySniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewProcOpenCmdArraySniff.php
@@ -37,7 +37,7 @@ class NewProcOpenCmdArraySniff extends AbstractFunctionCallParameterSniff
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'proc_open' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewStripTagsAllowableTagsArraySniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewStripTagsAllowableTagsArraySniff.php
index 91b167dd..492ee8b9 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewStripTagsAllowableTagsArraySniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/NewStripTagsAllowableTagsArraySniff.php
@@ -35,7 +35,7 @@ class NewStripTagsAllowableTagsArraySniff extends AbstractFunctionCallParameterS
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'strip_tags' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedAssertStringAssertionSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedAssertStringAssertionSniff.php
index 24d97d0c..84bc6c84 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedAssertStringAssertionSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedAssertStringAssertionSniff.php
@@ -44,7 +44,7 @@ class RemovedAssertStringAssertionSniff extends AbstractFunctionCallParameterSni
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'assert' => true,
@@ -57,7 +57,7 @@ class RemovedAssertStringAssertionSniff extends AbstractFunctionCallParameterSni
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
private $targetTokens = [];
@@ -66,7 +66,7 @@ class RemovedAssertStringAssertionSniff extends AbstractFunctionCallParameterSni
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedGetDefinedFunctionsExcludeDisabledFalseSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedGetDefinedFunctionsExcludeDisabledFalseSniff.php
index 23d703ce..51f6822d 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedGetDefinedFunctionsExcludeDisabledFalseSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedGetDefinedFunctionsExcludeDisabledFalseSniff.php
@@ -35,7 +35,7 @@ class RemovedGetDefinedFunctionsExcludeDisabledFalseSniff extends AbstractFuncti
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'get_defined_functions' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedHashAlgorithmsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedHashAlgorithmsSniff.php
index 91ea7e57..762cb617 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedHashAlgorithmsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedHashAlgorithmsSniff.php
@@ -42,7 +42,7 @@ class RemovedHashAlgorithmsSniff extends AbstractFunctionCallParameterSniff
*
* @since 7.0.7
*
- * @var array(string => array(string => bool))
+ * @var array>
*/
protected $removedAlgorithms = [
'salsa10' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedIconvEncodingSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedIconvEncodingSniff.php
index 4e02705a..40059496 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedIconvEncodingSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedIconvEncodingSniff.php
@@ -39,7 +39,7 @@ class RemovedIconvEncodingSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'iconv_set_encoding' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedImplodeFlexibleParamOrderSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedImplodeFlexibleParamOrderSniff.php
index 85ceddec..ef50c6ca 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedImplodeFlexibleParamOrderSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedImplodeFlexibleParamOrderSniff.php
@@ -39,7 +39,7 @@ class RemovedImplodeFlexibleParamOrderSniff extends AbstractFunctionCallParamete
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'implode' => true,
@@ -51,7 +51,7 @@ class RemovedImplodeFlexibleParamOrderSniff extends AbstractFunctionCallParamete
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
private $constantStrings = [
'DIRECTORY_SEPARATOR' => true,
@@ -65,7 +65,7 @@ class RemovedImplodeFlexibleParamOrderSniff extends AbstractFunctionCallParamete
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
private $arrayFunctions = [
'compact' => true,
@@ -78,7 +78,7 @@ class RemovedImplodeFlexibleParamOrderSniff extends AbstractFunctionCallParamete
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
private $arrayFunctionExceptions = [
'array_key_exists' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbCheckEncodingNoArgsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbCheckEncodingNoArgsSniff.php
index 2261a63b..fc7aabb1 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbCheckEncodingNoArgsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbCheckEncodingNoArgsSniff.php
@@ -35,7 +35,7 @@ class RemovedMbCheckEncodingNoArgsSniff extends AbstractFunctionCallParameterSni
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'mb_check_encoding' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbStrrposEncodingThirdParamSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbStrrposEncodingThirdParamSniff.php
index 52ed9c2c..52017dcd 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbStrrposEncodingThirdParamSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbStrrposEncodingThirdParamSniff.php
@@ -49,7 +49,7 @@ class RemovedMbStrrposEncodingThirdParamSniff extends AbstractFunctionCallParame
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'mb_strrpos' => true,
@@ -60,7 +60,7 @@ class RemovedMbStrrposEncodingThirdParamSniff extends AbstractFunctionCallParame
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
private $numberTokens = [
\T_LNUMBER => \T_LNUMBER,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbstringModifiersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbstringModifiersSniff.php
index 116213b0..18c05059 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbstringModifiersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedMbstringModifiersSniff.php
@@ -44,7 +44,7 @@ class RemovedMbstringModifiersSniff extends AbstractFunctionCallParameterSniff
* @since 7.0.5
* @since 8.2.0 Renamed from `$functions` to `$targetFunctions`.
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'mb_ereg_replace' => 4,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedNonCryptoHashSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedNonCryptoHashSniff.php
index 47efc44e..06b6c1a3 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedNonCryptoHashSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedNonCryptoHashSniff.php
@@ -37,7 +37,7 @@ class RemovedNonCryptoHashSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'hash_hmac' => true,
@@ -51,7 +51,7 @@ class RemovedNonCryptoHashSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.0.0
*
- * @var array
+ * @var array
*/
protected $disabledCryptos = [
'adler32' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedPCREModifiersSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedPCREModifiersSniff.php
index e99824ce..0600ab5c 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedPCREModifiersSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedPCREModifiersSniff.php
@@ -52,8 +52,8 @@ class RemovedPCREModifiersSniff extends AbstractFunctionCallParameterSniff
* @since 8.2.0 Renamed from `$functions` to `$targetFunctions`.
* @since 10.0.0 Value changed from an irrelevant value to an array.
*
- * @var array Key is the function name, value an array containing the 1-based parameter position
- * and the official name of the parameter.
+ * @var array> Key is the function name, value an array containing
+ * the 1-based parameter position and the official name of the parameter.
*/
protected $targetFunctions = [
'preg_replace' => [
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedSetlocaleStringSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedSetlocaleStringSniff.php
index 4813119c..6bd96325 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedSetlocaleStringSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedSetlocaleStringSniff.php
@@ -39,7 +39,7 @@ class RemovedSetlocaleStringSniff extends AbstractFunctionCallParameterSniff
*
* @since 9.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'setlocale' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedSplAutoloadRegisterThrowFalseSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedSplAutoloadRegisterThrowFalseSniff.php
index fe5e40df..802b4e58 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedSplAutoloadRegisterThrowFalseSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedSplAutoloadRegisterThrowFalseSniff.php
@@ -36,7 +36,7 @@ class RemovedSplAutoloadRegisterThrowFalseSniff extends AbstractFunctionCallPara
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'spl_autoload_register' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedVersionCompareOperatorsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedVersionCompareOperatorsSniff.php
index fd059c1e..51bb8e87 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedVersionCompareOperatorsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/ParameterValues/RemovedVersionCompareOperatorsSniff.php
@@ -37,7 +37,7 @@ class RemovedVersionCompareOperatorsSniff extends AbstractFunctionCallParameterS
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
protected $targetFunctions = [
'version_compare' => true,
@@ -50,7 +50,7 @@ class RemovedVersionCompareOperatorsSniff extends AbstractFunctionCallParameterS
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
private $unsupportedOperators = [
'' => true,
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/ForbiddenCallTimePassByReferenceSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/ForbiddenCallTimePassByReferenceSniff.php
index fcccdb03..8e4562c8 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/ForbiddenCallTimePassByReferenceSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/ForbiddenCallTimePassByReferenceSniff.php
@@ -43,7 +43,7 @@ class ForbiddenCallTimePassByReferenceSniff extends Sniff
*
* @since 8.1.0
*
- * @var array
+ * @var array
*/
private $assignOrCompare = [];
@@ -52,7 +52,7 @@ class ForbiddenCallTimePassByReferenceSniff extends Sniff
*
* @since 5.5
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewArrayStringDereferencingSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewArrayStringDereferencingSniff.php
index c85a550a..b324fd42 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewArrayStringDereferencingSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewArrayStringDereferencingSniff.php
@@ -46,7 +46,7 @@ class NewArrayStringDereferencingSniff extends Sniff
*
* @since 7.1.4
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewArrayUnpackingSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewArrayUnpackingSniff.php
index 8ff12bfb..04b93e8a 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewArrayUnpackingSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewArrayUnpackingSniff.php
@@ -35,7 +35,7 @@ class NewArrayUnpackingSniff extends Sniff
*
* @since 10.0.0
*
- * @var array
+ * @var array
*/
private $arrayTokens = [
\T_ARRAY => \T_ARRAY,
@@ -48,7 +48,7 @@ class NewArrayUnpackingSniff extends Sniff
*
* @since 9.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewClassMemberAccessSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewClassMemberAccessSniff.php
index 6cb2d333..b2217b3c 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewClassMemberAccessSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewClassMemberAccessSniff.php
@@ -47,7 +47,7 @@ class NewClassMemberAccessSniff extends Sniff
*
* @since 8.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewDynamicAccessToStaticSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewDynamicAccessToStaticSniff.php
index d6c92ec1..d7f11c12 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewDynamicAccessToStaticSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewDynamicAccessToStaticSniff.php
@@ -36,7 +36,7 @@ class NewDynamicAccessToStaticSniff extends Sniff
*
* @since 8.1.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFirstClassCallablesSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFirstClassCallablesSniff.php
index a751f00b..d0b181db 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFirstClassCallablesSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFirstClassCallablesSniff.php
@@ -33,7 +33,7 @@ final class NewFirstClassCallablesSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFlexibleHeredocNowdocSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFlexibleHeredocNowdocSniff.php
index 0396d1d1..b3f68e2c 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFlexibleHeredocNowdocSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFlexibleHeredocNowdocSniff.php
@@ -38,7 +38,7 @@ class NewFlexibleHeredocNowdocSniff extends Sniff
*
* @since 9.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
@@ -47,7 +47,7 @@ public function register()
\T_END_NOWDOC,
];
- if (\version_compare(\PHP_VERSION_ID, '70299', '>') === false) {
+ if (\PHP_VERSION_ID < 70300) {
// Start identifier of a PHP 7.3 flexible heredoc/nowdoc.
$targets[] = \T_STRING;
}
@@ -99,7 +99,7 @@ protected function detectIndentedNonStandAloneClosingMarker(File $phpcsFile, $st
$trailingError = 'Having code - other than a semi-colon or new line - after the closing marker of a heredoc/nowdoc is not supported in PHP 7.2 or earlier.';
$trailingErrorCode = 'ClosingMarkerNoNewLine';
- if (\version_compare(\PHP_VERSION_ID, '70299', '>') === true) {
+ if (\PHP_VERSION_ID >= 70300) {
/*
* Check for indented closing marker.
*/
@@ -185,7 +185,7 @@ protected function detectClosingMarkerInBody(File $phpcsFile, $stackPtr)
$error = 'The body of a heredoc/nowdoc can not contain the heredoc/nowdoc closing marker as text at the start of a line since PHP 7.3.';
$errorCode = 'ClosingMarkerNoNewLine';
- if (\version_compare(\PHP_VERSION_ID, '70299', '>') === true) {
+ if (\PHP_VERSION_ID >= 70300) {
$nextNonWhitespace = $phpcsFile->findNext(\T_WHITESPACE, ($stackPtr + 1), null, true, null, true);
if ($nextNonWhitespace === false
|| $tokens[$nextNonWhitespace]['code'] === \T_SEMICOLON
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFunctionArrayDereferencingSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFunctionArrayDereferencingSniff.php
index 0091594c..e0d80e0e 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFunctionArrayDereferencingSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFunctionArrayDereferencingSniff.php
@@ -46,7 +46,7 @@ class NewFunctionArrayDereferencingSniff extends Sniff
*
* @since 7.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFunctionCallTrailingCommaSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFunctionCallTrailingCommaSniff.php
index 50eaabff..c0126913 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFunctionCallTrailingCommaSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewFunctionCallTrailingCommaSniff.php
@@ -35,7 +35,7 @@ class NewFunctionCallTrailingCommaSniff extends Sniff
*
* @since 8.2.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewInterpolatedStringDereferencingSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewInterpolatedStringDereferencingSniff.php
index c7ac5436..e3cda712 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewInterpolatedStringDereferencingSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewInterpolatedStringDereferencingSniff.php
@@ -35,7 +35,7 @@ class NewInterpolatedStringDereferencingSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewMagicConstantDereferencingSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewMagicConstantDereferencingSniff.php
index 10b13ebf..8f476d65 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewMagicConstantDereferencingSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewMagicConstantDereferencingSniff.php
@@ -33,7 +33,7 @@ class NewMagicConstantDereferencingSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewNestedStaticAccessSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewNestedStaticAccessSniff.php
index e013d755..5e8f9192 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewNestedStaticAccessSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewNestedStaticAccessSniff.php
@@ -38,7 +38,7 @@ class NewNestedStaticAccessSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewShortArraySniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewShortArraySniff.php
index 8fd2db6b..74053f64 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewShortArraySniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/NewShortArraySniff.php
@@ -35,7 +35,7 @@ class NewShortArraySniff extends Sniff
*
* @since 7.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/RemovedCurlyBraceArrayAccessSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/RemovedCurlyBraceArrayAccessSniff.php
index 5220a488..81de3820 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/RemovedCurlyBraceArrayAccessSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/RemovedCurlyBraceArrayAccessSniff.php
@@ -44,11 +44,11 @@ class RemovedCurlyBraceArrayAccessSniff extends Sniff
private $newArrayStringDereferencing;
/**
- * Target tokens as register by the NewArrayStringDereferencing sniff.
+ * Target tokens as registered by the NewArrayStringDereferencing sniff.
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
private $newArrayStringDereferencingTargets;
@@ -62,11 +62,11 @@ class RemovedCurlyBraceArrayAccessSniff extends Sniff
private $newClassMemberAccess;
/**
- * Target tokens as register by the NewClassMemberAccess sniff.
+ * Target tokens as registered by the NewClassMemberAccess sniff.
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
private $newClassMemberAccessTargets;
@@ -80,11 +80,11 @@ class RemovedCurlyBraceArrayAccessSniff extends Sniff
private $newFunctionArrayDereferencing;
/**
- * Target tokens as register by the NewFunctionArrayDereferencing sniff.
+ * Target tokens as registered by the NewFunctionArrayDereferencing sniff.
*
* @since 9.3.0
*
- * @var array
+ * @var array
*/
private $newFunctionArrayDereferencingTargets;
@@ -107,7 +107,7 @@ public function __construct()
*
* @since 9.3.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/RemovedNewReferenceSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/RemovedNewReferenceSniff.php
index cc168cdc..d398ad2f 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/RemovedNewReferenceSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Syntax/RemovedNewReferenceSniff.php
@@ -37,7 +37,7 @@ class RemovedNewReferenceSniff extends Sniff
*
* @since 5.5
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TextStrings/NewUnicodeEscapeSequenceSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TextStrings/NewUnicodeEscapeSequenceSniff.php
index 284b0f83..ba805420 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TextStrings/NewUnicodeEscapeSequenceSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TextStrings/NewUnicodeEscapeSequenceSniff.php
@@ -39,7 +39,7 @@ class NewUnicodeEscapeSequenceSniff extends Sniff
*
* @since 9.3.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TextStrings/RemovedDollarBraceStringEmbedsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TextStrings/RemovedDollarBraceStringEmbedsSniff.php
index 58fbcc1d..b264d84d 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TextStrings/RemovedDollarBraceStringEmbedsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TextStrings/RemovedDollarBraceStringEmbedsSniff.php
@@ -42,7 +42,7 @@ class RemovedDollarBraceStringEmbedsSniff extends Sniff
*
* @since 10.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TypeCasts/NewTypeCastsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TypeCasts/NewTypeCastsSniff.php
index 2d316c89..7e3a9deb 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TypeCasts/NewTypeCastsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TypeCasts/NewTypeCastsSniff.php
@@ -37,7 +37,7 @@ class NewTypeCastsSniff extends Sniff
*
* @since 8.0.1
*
- * @var array(string => array(string => bool|string))
+ * @var array>
*/
protected $newTypeCasts = [
'T_UNSET_CAST' => [
@@ -58,7 +58,7 @@ class NewTypeCastsSniff extends Sniff
*
* @since 8.0.1
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TypeCasts/RemovedTypeCastsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TypeCasts/RemovedTypeCastsSniff.php
index a76df4d5..bb5b9671 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TypeCasts/RemovedTypeCastsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/TypeCasts/RemovedTypeCastsSniff.php
@@ -41,7 +41,7 @@ class RemovedTypeCastsSniff extends Sniff
*
* @since 8.0.1
*
- * @var array(string => array(string => bool|string))
+ * @var array>
*/
protected $deprecatedTypeCasts = [
'T_UNSET_CAST' => [
@@ -64,7 +64,7 @@ class RemovedTypeCastsSniff extends Sniff
*
* @since 8.0.1
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Upgrade/LowPHPSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Upgrade/LowPHPSniff.php
index a5100b91..05276afb 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Upgrade/LowPHPSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Upgrade/LowPHPSniff.php
@@ -74,7 +74,7 @@ class LowPHPSniff extends Sniff
*
* @since 9.3.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/UseDeclarations/NewGroupUseDeclarationsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/UseDeclarations/NewGroupUseDeclarationsSniff.php
index e58187b4..87d48f10 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/UseDeclarations/NewGroupUseDeclarationsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/UseDeclarations/NewGroupUseDeclarationsSniff.php
@@ -42,7 +42,7 @@ class NewGroupUseDeclarationsSniff extends Sniff
*
* @since 7.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/UseDeclarations/NewUseConstFunctionSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/UseDeclarations/NewUseConstFunctionSniff.php
index 4dd80c41..59b814d9 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/UseDeclarations/NewUseConstFunctionSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/UseDeclarations/NewUseConstFunctionSniff.php
@@ -39,7 +39,7 @@ class NewUseConstFunctionSniff extends Sniff
*
* @since 7.1.4
*
- * @var array(string => string)
+ * @var array
*/
protected $validUseNames = [
'const' => true,
@@ -51,7 +51,7 @@ class NewUseConstFunctionSniff extends Sniff
*
* @since 7.1.4
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Variables/ForbiddenGlobalVariableVariableSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Variables/ForbiddenGlobalVariableVariableSniff.php
index 43d6a74f..dc32c550 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Variables/ForbiddenGlobalVariableVariableSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Variables/ForbiddenGlobalVariableVariableSniff.php
@@ -34,7 +34,7 @@ class ForbiddenGlobalVariableVariableSniff extends Sniff
*
* @since 7.0.0
*
- * @return array
+ * @return array
*/
public function register()
{
diff --git a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Variables/ForbiddenThisUseContextsSniff.php b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Variables/ForbiddenThisUseContextsSniff.php
index b71efaa9..19758f49 100644
--- a/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Variables/ForbiddenThisUseContextsSniff.php
+++ b/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniffs/Variables/ForbiddenThisUseContextsSniff.php
@@ -60,7 +60,7 @@ class ForbiddenThisUseContextsSniff extends Sniff
*
* @since 9.1.0
*
- * @var array
+ * @var array
*/
private $skipOverScopes = [
\T_FUNCTION => true,
@@ -72,7 +72,7 @@ class ForbiddenThisUseContextsSniff extends Sniff
*
* @since 9.1.0
*
- * @var array
+ * @var array