diff --git a/composer.json b/composer.json
index 7259e33dea..64533defdf 100644
--- a/composer.json
+++ b/composer.json
@@ -108,11 +108,11 @@
"php-webdriver/webdriver": "^1.14",
"phpmyadmin/coding-standard": "^4.0",
"phpstan/extension-installer": "^1.4",
- "phpstan/phpstan": "^1.12",
- "phpstan/phpstan-deprecation-rules": "^1.2",
- "phpstan/phpstan-phpunit": "^1.4",
- "phpstan/phpstan-strict-rules": "^1.6",
- "phpstan/phpstan-webmozart-assert": "^1.2",
+ "phpstan/phpstan": "^2.0",
+ "phpstan/phpstan-deprecation-rules": "^2.0",
+ "phpstan/phpstan-phpunit": "^2.0",
+ "phpstan/phpstan-strict-rules": "^2.0",
+ "phpstan/phpstan-webmozart-assert": "^2.0",
"phpunit/phpunit": "^10.4",
"pragmarx/google2fa-qrcode": "^3.0",
"psalm/plugin-phpunit": "^0.18.4",
diff --git a/composer.lock b/composer.lock
index c7af500976..f03bb4f0fb 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": "470c34891a7abf278b4fe93198e1e6c9",
+ "content-hash": "ebd5f44fa6a26180c91fee67cdf7022a",
"packages": [
{
"name": "composer/ca-bundle",
@@ -4442,20 +4442,20 @@
},
{
"name": "phpstan/phpstan",
- "version": "1.12.10",
+ "version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
- "reference": "fc463b5d0fe906dcf19689be692c65c50406a071"
+ "reference": "ab4e9b4415a5fc9e4d27f7fe16c8bc9d067dcd6d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/fc463b5d0fe906dcf19689be692c65c50406a071",
- "reference": "fc463b5d0fe906dcf19689be692c65c50406a071",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ab4e9b4415a5fc9e4d27f7fe16c8bc9d067dcd6d",
+ "reference": "ab4e9b4415a5fc9e4d27f7fe16c8bc9d067dcd6d",
"shasum": ""
},
"require": {
- "php": "^7.2|^8.0"
+ "php": "^7.4|^8.0"
},
"conflict": {
"phpstan/phpstan-shim": "*"
@@ -4496,30 +4496,30 @@
"type": "github"
}
],
- "time": "2024-11-11T15:37:09+00:00"
+ "time": "2024-11-11T15:43:04+00:00"
},
{
"name": "phpstan/phpstan-deprecation-rules",
- "version": "1.2.1",
+ "version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-deprecation-rules.git",
- "reference": "f94d246cc143ec5a23da868f8f7e1393b50eaa82"
+ "reference": "81833b5787e2e8f451b31218875e29e4ed600ab2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/f94d246cc143ec5a23da868f8f7e1393b50eaa82",
- "reference": "f94d246cc143ec5a23da868f8f7e1393b50eaa82",
+ "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/81833b5787e2e8f451b31218875e29e4ed600ab2",
+ "reference": "81833b5787e2e8f451b31218875e29e4ed600ab2",
"shasum": ""
},
"require": {
- "php": "^7.2 || ^8.0",
- "phpstan/phpstan": "^1.12"
+ "php": "^7.4 || ^8.0",
+ "phpstan/phpstan": "^2.0"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.2",
- "phpstan/phpstan-phpunit": "^1.0",
- "phpunit/phpunit": "^9.5"
+ "phpstan/phpstan-phpunit": "^2.0",
+ "phpunit/phpunit": "^9.6"
},
"type": "phpstan-extension",
"extra": {
@@ -4541,36 +4541,35 @@
"description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.",
"support": {
"issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues",
- "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.2.1"
+ "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/2.0.0"
},
- "time": "2024-09-11T15:52:35+00:00"
+ "time": "2024-10-26T16:04:11+00:00"
},
{
"name": "phpstan/phpstan-phpunit",
- "version": "1.4.1",
+ "version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-phpunit.git",
- "reference": "11d4235fbc6313ecbf93708606edfd3222e44949"
+ "reference": "4b6ad7fab8683ff4efd7887ba26ef8ee171c7475"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/11d4235fbc6313ecbf93708606edfd3222e44949",
- "reference": "11d4235fbc6313ecbf93708606edfd3222e44949",
+ "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/4b6ad7fab8683ff4efd7887ba26ef8ee171c7475",
+ "reference": "4b6ad7fab8683ff4efd7887ba26ef8ee171c7475",
"shasum": ""
},
"require": {
- "php": "^7.2 || ^8.0",
- "phpstan/phpstan": "^1.12"
+ "php": "^7.4 || ^8.0",
+ "phpstan/phpstan": "^2.0"
},
"conflict": {
"phpunit/phpunit": "<7.0"
},
"require-dev": {
- "nikic/php-parser": "^4.13.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
- "phpstan/phpstan-strict-rules": "^1.5.1",
- "phpunit/phpunit": "^9.5"
+ "phpstan/phpstan-strict-rules": "^2.0",
+ "phpunit/phpunit": "^9.6"
},
"type": "phpstan-extension",
"extra": {
@@ -4593,34 +4592,33 @@
"description": "PHPUnit extensions and rules for PHPStan",
"support": {
"issues": "https://github.com/phpstan/phpstan-phpunit/issues",
- "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.4.1"
+ "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.1"
},
- "time": "2024-11-12T12:43:59+00:00"
+ "time": "2024-11-12T12:48:00+00:00"
},
{
"name": "phpstan/phpstan-strict-rules",
- "version": "1.6.1",
+ "version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-strict-rules.git",
- "reference": "daeec748b53de80a97498462513066834ec28f8b"
+ "reference": "a4a6a08bd4a461e516b9c3b8fdbf0f1883b34158"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/daeec748b53de80a97498462513066834ec28f8b",
- "reference": "daeec748b53de80a97498462513066834ec28f8b",
+ "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/a4a6a08bd4a461e516b9c3b8fdbf0f1883b34158",
+ "reference": "a4a6a08bd4a461e516b9c3b8fdbf0f1883b34158",
"shasum": ""
},
"require": {
- "php": "^7.2 || ^8.0",
- "phpstan/phpstan": "^1.12.4"
+ "php": "^7.4 || ^8.0",
+ "phpstan/phpstan": "^2.0"
},
"require-dev": {
- "nikic/php-parser": "^4.13.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
- "phpstan/phpstan-deprecation-rules": "^1.1",
- "phpstan/phpstan-phpunit": "^1.0",
- "phpunit/phpunit": "^9.5"
+ "phpstan/phpstan-deprecation-rules": "^2.0",
+ "phpstan/phpstan-phpunit": "^2.0",
+ "phpunit/phpunit": "^9.6"
},
"type": "phpstan-extension",
"extra": {
@@ -4642,35 +4640,35 @@
"description": "Extra strict and opinionated rules for PHPStan",
"support": {
"issues": "https://github.com/phpstan/phpstan-strict-rules/issues",
- "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.6.1"
+ "source": "https://github.com/phpstan/phpstan-strict-rules/tree/2.0.0"
},
- "time": "2024-09-20T14:04:44+00:00"
+ "time": "2024-10-26T16:04:33+00:00"
},
{
"name": "phpstan/phpstan-webmozart-assert",
- "version": "1.2.11",
+ "version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-webmozart-assert.git",
- "reference": "960dd44e8466191590dd0d7940d3e9496eebebbd"
+ "reference": "0c641817d2a8f05c7157f92d91986e74d3c8ab0c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan-webmozart-assert/zipball/960dd44e8466191590dd0d7940d3e9496eebebbd",
- "reference": "960dd44e8466191590dd0d7940d3e9496eebebbd",
+ "url": "https://api.github.com/repos/phpstan/phpstan-webmozart-assert/zipball/0c641817d2a8f05c7157f92d91986e74d3c8ab0c",
+ "reference": "0c641817d2a8f05c7157f92d91986e74d3c8ab0c",
"shasum": ""
},
"require": {
- "php": "^7.2 || ^8.0",
- "phpstan/phpstan": "^1.12"
+ "php": "^7.4 || ^8.0",
+ "phpstan/phpstan": "^2.0"
},
"require-dev": {
- "nikic/php-parser": "^4.13.0",
+ "nikic/php-parser": "^5.1",
"php-parallel-lint/php-parallel-lint": "^1.2",
- "phpstan/phpstan-deprecation-rules": "^1.2",
- "phpstan/phpstan-phpunit": "^1.4",
- "phpstan/phpstan-strict-rules": "^1.6",
- "phpunit/phpunit": "^9.5",
+ "phpstan/phpstan-deprecation-rules": "^2.0",
+ "phpstan/phpstan-phpunit": "^2.0",
+ "phpstan/phpstan-strict-rules": "^2.0",
+ "phpunit/phpunit": "^9.6",
"webmozart/assert": "^1.11.0"
},
"type": "phpstan-extension",
@@ -4693,9 +4691,9 @@
"description": "PHPStan webmozart/assert extension",
"support": {
"issues": "https://github.com/phpstan/phpstan-webmozart-assert/issues",
- "source": "https://github.com/phpstan/phpstan-webmozart-assert/tree/1.2.11"
+ "source": "https://github.com/phpstan/phpstan-webmozart-assert/tree/2.0.0"
},
- "time": "2024-09-11T15:48:08+00:00"
+ "time": "2024-10-14T03:45:26+00:00"
},
{
"name": "phpunit/php-code-coverage",
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 6fcd0ae61e..977ce33832 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -1,17508 +1,23900 @@
parameters:
ignoreErrors:
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 11
path: app/constants.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 2
path: app/services_loader.php
-
- message: "#^Cannot access offset 'arguments' on mixed\\.$#"
+ message: '#^Cannot access offset ''arguments'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: app/services_loader.php
-
- message: "#^Cannot access offset 'class' on mixed\\.$#"
+ message: '#^Cannot access offset ''class'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: app/services_loader.php
-
- message: "#^Cannot access offset 'factory' on mixed\\.$#"
+ message: '#^Cannot access offset ''factory'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: app/services_loader.php
-
- message: "#^Cannot access offset 0 on mixed\\.$#"
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: app/services_loader.php
-
- message: "#^Parameter \\#1 \\$arguments of method Symfony\\\\Component\\\\DependencyInjection\\\\Loader\\\\Configurator\\\\ServiceConfigurator\\:\\:args\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$arguments of method Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator\:\:args\(\) expects array, mixed given\.$#'
+ identifier: argument.type
count: 1
path: app/services_loader.php
-
- message: "#^Parameter \\#1 \\$factory of method Symfony\\\\Component\\\\DependencyInjection\\\\Loader\\\\Configurator\\\\ServiceConfigurator\\:\\:factory\\(\\) expects array\\|string\\|Symfony\\\\Component\\\\DependencyInjection\\\\Loader\\\\Configurator\\\\ReferenceConfigurator\\|Symfony\\\\Component\\\\ExpressionLanguage\\\\Expression, mixed given\\.$#"
+ message: '#^Parameter \#1 \$factory of method Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator\:\:factory\(\) expects array\|string\|Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ReferenceConfigurator\|Symfony\\Component\\ExpressionLanguage\\Expression, mixed given\.$#'
+ identifier: argument.type
count: 1
path: app/services_loader.php
-
- message: "#^Parameter \\#1 \\$id of method Symfony\\\\Component\\\\DependencyInjection\\\\Loader\\\\Configurator\\\\ServicesConfigurator\\:\\:alias\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$id of method Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator\:\:alias\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: app/services_loader.php
-
- message: "#^Parameter \\#1 \\$id of method Symfony\\\\Component\\\\DependencyInjection\\\\Loader\\\\Configurator\\\\ServicesConfigurator\\:\\:set\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$id of method Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator\:\:set\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: app/services_loader.php
-
- message: "#^Parameter \\#1 \\$servicesFile of closure expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$servicesFile of closure expects array, mixed given\.$#'
+ identifier: argument.type
count: 2
path: app/services_loader.php
-
- message: "#^Parameter \\#1 \\$string of function substr expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function substr expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: app/services_loader.php
-
- message: "#^Parameter \\#2 \\$class of method Symfony\\\\Component\\\\DependencyInjection\\\\Loader\\\\Configurator\\\\ServicesConfigurator\\:\\:set\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$class of method Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator\:\:set\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: app/services_loader.php
-
- message: "#^Parameter \\#1 \\$filename of function is_readable expects string, mixed given\\.$#"
+ message: '#^Binary operation "\." between ''\
File \'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: public/index.php
-
- message: "#^Parameter \\#1 \\$filename of function is_readable expects string, mixed given\\.$#"
+ message: '#^Comparison operation "\<" between int\<80200, 80499\> and 80200 is always false\.$#'
+ identifier: smaller.alwaysFalse
+ count: 1
+ path: public/index.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function is_readable expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: public/index.php
+
+ -
+ message: '#^Binary operation "\." between ''\File \'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: public/setup/index.php
-
- message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#"
+ message: '#^Comparison operation "\<" between int\<80200, 80499\> and 80200 is always false\.$#'
+ identifier: smaller.alwaysFalse
+ count: 1
+ path: public/setup/index.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function is_readable expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: public/setup/index.php
+
+ -
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 2
+ path: src/Advisory/Advisor.php
+
+ -
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Advisory/Advisor.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Advisory/Advisor.php
-
- message: "#^Parameter \\#1 \\$haystack of function str_contains expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Advisory/Advisor.php
-
- message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Advisory/Advisor.php
-
- message: "#^Parameter \\#1 \\$url of static method PhpMyAdmin\\\\Core\\:\\:linkURL\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$url of static method PhpMyAdmin\\Core\:\:linkURL\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Advisory/Advisor.php
-
- message: "#^Parameter \\#2 \\$values of function vsprintf expects array\\, mixed given\\.$#"
+ message: '#^Parameter \#2 \$values of function vsprintf expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Advisory/Advisor.php
-
- message: "#^Parameter \\#3 \\$subject of function preg_replace_callback expects array\\|string, string\\|null given\\.$#"
+ message: '#^Parameter \#3 \$subject of function preg_replace_callback expects array\\|string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Advisory/Advisor.php
-
- message: "#^Property PhpMyAdmin\\\\Advisory\\\\Advisor\\:\\:\\$firedRules \\(array\\\\) does not accept non\\-empty\\-array\\\\.$#"
+ message: '#^Property PhpMyAdmin\\Advisory\\Advisor\:\:\$firedRules \(list\\) does not accept non\-empty\-list\\.$#'
+ identifier: assign.propertyType
count: 1
path: src/Advisory/Advisor.php
-
- message: "#^Property PhpMyAdmin\\\\Advisory\\\\Advisor\\:\\:\\$notFiredRules \\(array\\\\) does not accept non\\-empty\\-array\\\\.$#"
+ message: '#^Property PhpMyAdmin\\Advisory\\Advisor\:\:\$notFiredRules \(list\\) does not accept non\-empty\-list\\.$#'
+ identifier: assign.propertyType
count: 1
path: src/Advisory/Advisor.php
-
- message: "#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\\|string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Bookmarks/Bookmark.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Bookmarks/BookmarkRepository.php
-
- message: "#^Parameter \\#1 \\$row of method PhpMyAdmin\\\\Bookmarks\\\\BookmarkRepository\\:\\:createFromRow\\(\\) expects array\\, array\\ given\\.$#"
+ message: '#^Parameter \#1 \$row of method PhpMyAdmin\\Bookmarks\\BookmarkRepository\:\:createFromRow\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
count: 2
path: src/Bookmarks/BookmarkRepository.php
-
- message: "#^Parameter \\#1 \\$row of method PhpMyAdmin\\\\Bookmarks\\\\BookmarkRepository\\:\\:createFromRow\\(\\) expects array\\, mixed given\\.$#"
+ message: '#^Parameter \#1 \$row of method PhpMyAdmin\\Bookmarks\\BookmarkRepository\:\:createFromRow\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Bookmarks/BookmarkRepository.php
-
- message: "#^Parameter \\#2 \\$bookmarkFeature of class PhpMyAdmin\\\\Bookmarks\\\\Bookmark constructor expects PhpMyAdmin\\\\ConfigStorage\\\\Features\\\\BookmarkFeature, PhpMyAdmin\\\\ConfigStorage\\\\Features\\\\BookmarkFeature\\|null given\\.$#"
+ message: '#^Parameter \#2 \$bookmarkFeature of class PhpMyAdmin\\Bookmarks\\Bookmark constructor expects PhpMyAdmin\\ConfigStorage\\Features\\BookmarkFeature, PhpMyAdmin\\ConfigStorage\\Features\\BookmarkFeature\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Bookmarks/BookmarkRepository.php
-
- message: "#^Parameter \\#1 \\$description of method PhpMyAdmin\\\\BrowseForeigners\\:\\:getDescriptionAndTitle\\(\\) expects string, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 2
path: src/BrowseForeigners.php
-
- message: "#^Parameter \\#1 \\$state of static method PhpMyAdmin\\\\Charsets\\\\Charset\\:\\:fromServer\\(\\) expects array\\{Charset\\?\\: string, Description\\?\\: string, Default collation\\?\\: string, Maxlen\\?\\: string\\}, array\\ given\\.$#"
+ message: '#^Parameter \#1 \$description of method PhpMyAdmin\\BrowseForeigners\:\:getDescriptionAndTitle\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/BrowseForeigners.php
+
+ -
+ message: '#^Parameter \#1 \$state of static method PhpMyAdmin\\Charsets\\Charset\:\:fromServer\(\) expects array\{Charset\?\: string, Description\?\: string, Default collation\?\: string, Maxlen\?\: string\}, array\ given\.$#'
+ identifier: argument.type
count: 1
path: src/Charsets.php
-
- message: "#^Parameter \\#1 \\$state of static method PhpMyAdmin\\\\Charsets\\\\Collation\\:\\:fromServer\\(\\) expects array\\, array\\ given\\.$#"
+ message: '#^Parameter \#1 \$state of static method PhpMyAdmin\\Charsets\\Collation\:\:fromServer\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
count: 1
path: src/Charsets.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Command/CacheWarmupCommand.php
-
- message: "#^Parameter \\#1 \\$source of method PhpMyAdmin\\\\Config\\:\\:loadAndCheck\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$source of method PhpMyAdmin\\Config\:\:loadAndCheck\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Command/CacheWarmupCommand.php
-
- message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Command/CacheWarmupCommand.php
-
- message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#"
+ message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, SuhosinDisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, SuhosinDisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\.$#'
+ identifier: assign.propertyType
count: 1
path: src/Command/CacheWarmupCommand.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Command/FixPoTwigCommand.php
-
- message: "#^Cannot access offset 0 on mixed\\.$#"
- count: 2
- path: src/Command/FixPoTwigCommand.php
-
- -
- message: "#^Cannot access offset 1 on mixed\\.$#"
+ message: '#^Binary operation "\." between mixed and ''\:'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Command/FixPoTwigCommand.php
-
- message: "#^Cannot access offset 'exception' on mixed\\.$#"
+ message: '#^Binary operation "\." between mixed and ''\:0'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Command/FixPoTwigCommand.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Command/FixPoTwigCommand.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Command/FixPoTwigCommand.php
+
+ -
+ message: '#^Cannot access offset 1 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Command/FixPoTwigCommand.php
+
+ -
+ message: '#^Cannot access offset ''exception'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Command/TwigLintCommand.php
-
- message: "#^Cannot access offset 'file' on mixed\\.$#"
+ message: '#^Cannot access offset ''file'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Command/TwigLintCommand.php
-
- message: "#^Cannot access offset 'template' on mixed\\.$#"
+ message: '#^Cannot access offset ''template'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Command/TwigLintCommand.php
-
- message: "#^Cannot access offset 'valid' on mixed\\.$#"
+ message: '#^Cannot access offset ''valid'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Command/TwigLintCommand.php
-
- message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#"
+ message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 1
path: src/Command/TwigLintCommand.php
-
- message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Command/TwigLintCommand.php
-
- message: "#^Only booleans are allowed in a ternary operator condition, \\(callable\\)\\|null given\\.$#"
+ message: '#^Only booleans are allowed in a ternary operator condition, \(callable\)\|null given\.$#'
+ identifier: ternary.condNotBoolean
count: 1
path: src/Command/TwigLintCommand.php
-
- message: "#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in a ternary operator condition, mixed given\.$#'
+ identifier: ternary.condNotBoolean
count: 1
path: src/Command/TwigLintCommand.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 2
path: src/Command/TwigLintCommand.php
-
- message: "#^Parameter \\#1 \\$callback of function set_error_handler expects \\(callable\\(int, string, string, int\\)\\: bool\\)\\|null, Closure\\(int, string, string, int\\)\\: mixed given\\.$#"
+ message: '#^Parameter \#1 \$callback of function set_error_handler expects \(callable\(int, string, string, int\)\: bool\)\|null, Closure\(int, string, string, int\)\: mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Command/TwigLintCommand.php
-
- message: "#^Parameter \\#2 \\$template of method PhpMyAdmin\\\\Command\\\\TwigLintCommand\\:\\:renderException\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$template of method PhpMyAdmin\\Command\\TwigLintCommand\:\:renderException\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Command/TwigLintCommand.php
-
- message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Command/TwigLintCommand.php
-
- message: "#^Parameter \\#3 \\$exception of method PhpMyAdmin\\\\Command\\\\TwigLintCommand\\:\\:renderException\\(\\) expects Twig\\\\Error\\\\Error, mixed given\\.$#"
+ message: '#^Parameter \#3 \$exception of method PhpMyAdmin\\Command\\TwigLintCommand\:\:renderException\(\) expects Twig\\Error\\Error, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Command/TwigLintCommand.php
-
- message: "#^Parameter \\#4 \\$file of method PhpMyAdmin\\\\Command\\\\TwigLintCommand\\:\\:renderException\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#4 \$file of method PhpMyAdmin\\Command\\TwigLintCommand\:\:renderException\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Command/TwigLintCommand.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\DatabaseInterface\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\DatabaseInterface\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 3
path: src/Config.php
-
- message: "#^Cannot access offset 'LoginCookieValidity' on mixed\\.$#"
+ message: '#^Cannot access offset ''LoginCookieValidity'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Config.php
-
- message: "#^Cannot access offset 'Server' on mixed\\.$#"
+ message: '#^Cannot access offset ''Server'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Config.php
-
- message: "#^Cannot access offset 'ThemeDefault' on mixed\\.$#"
+ message: '#^Cannot access offset ''ThemeDefault'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Config.php
-
- message: "#^Cannot access offset 'config_mtime' on mixed\\.$#"
+ message: '#^Cannot access offset ''config_mtime'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Config.php
-
- message: "#^Cannot access offset 'lang' on mixed\\.$#"
+ message: '#^Cannot access offset ''lang'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 3
path: src/Config.php
-
- message: "#^Cannot access offset 'userprefs' on mixed\\.$#"
+ message: '#^Cannot access offset ''userprefs'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 5
path: src/Config.php
-
- message: "#^Cannot access offset 'userprefs_mtime' on mixed\\.$#"
+ message: '#^Cannot access offset ''userprefs_mtime'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Config.php
-
- message: "#^Cannot access offset 'userprefs_type' on mixed\\.$#"
+ message: '#^Cannot access offset ''userprefs_type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Config.php
-
- message: "#^Cannot access offset non\\-falsy\\-string on mixed\\.$#"
+ message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 10
path: src/Config.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 2
path: src/Config.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 7
path: src/Config.php
-
- message: "#^Method PhpMyAdmin\\\\Config\\:\\:getChangeLogFilePath\\(\\) should return string but returns mixed\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
+ count: 3
+ path: src/Config.php
+
+ -
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 1
path: src/Config.php
-
- message: "#^Method PhpMyAdmin\\\\Config\\:\\:getUploadTempDir\\(\\) should return string\\|null but returns string\\|false\\.$#"
+ message: '#^Method PhpMyAdmin\\Config\:\:getChangeLogFilePath\(\) should return string but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/Config.php
-
- message: "#^Only booleans are allowed in &&, string\\|null given on the right side\\.$#"
+ message: '#^Method PhpMyAdmin\\Config\:\:getUploadTempDir\(\) should return string\|null but returns string\|false\.$#'
+ identifier: return.type
count: 1
path: src/Config.php
-
- message: "#^Only booleans are allowed in a negated boolean, int\\<0, 2\\> given\\.$#"
+ message: '#^Only booleans are allowed in &&, string\|null given on the right side\.$#'
+ identifier: booleanAnd.rightNotBoolean
count: 1
path: src/Config.php
-
- message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, int\<0, 2\> given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Config.php
-
- message: "#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
+ count: 1
+ path: src/Config.php
+
+ -
+ message: '#^Only booleans are allowed in a negated boolean, string\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 2
path: src/Config.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Config.php
-
- message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, string\|false given\.$#'
+ identifier: if.condNotBoolean
count: 2
path: src/Config.php
-
- message: "#^Only booleans are allowed in \\|\\|, string\\|false given on the left side\\.$#"
+ message: '#^Only booleans are allowed in \|\|, string\|false given on the left side\.$#'
+ identifier: booleanOr.leftNotBoolean
count: 1
path: src/Config.php
-
- message: "#^Parameter \\#1 \\$code of method PhpMyAdmin\\\\I18n\\\\LanguageManager\\:\\:getLanguage\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$code of method PhpMyAdmin\\I18n\\LanguageManager\:\:getLanguage\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config.php
-
- message: "#^Parameter \\#1 \\$collation of method PhpMyAdmin\\\\DatabaseInterface\\:\\:setCollation\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$collation of method PhpMyAdmin\\DatabaseInterface\:\:setCollation\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config.php
-
- message: "#^Parameter \\#1 \\$filename of static method PhpMyAdmin\\\\Config\\:\\:renderCustom\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$filename of static method PhpMyAdmin\\Config\:\:renderCustom\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Config.php
-
- message: "#^Parameter \\#1 \\$haystack of function str_contains expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config.php
-
- message: "#^Parameter \\#1 \\$string of function rtrim expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$server of class PhpMyAdmin\\Config\\Settings\\Server constructor expects array\, array given\.$#'
+ identifier: argument.type
count: 1
path: src/Config.php
-
- message: "#^Parameter \\#1 \\$theme of method PhpMyAdmin\\\\Theme\\\\ThemeManager\\:\\:checkTheme\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$settings of class PhpMyAdmin\\Config\\Settings constructor expects array\, array given\.$#'
+ identifier: argument.type
count: 1
path: src/Config.php
-
- message: "#^Parameter \\#1 \\$theme of method PhpMyAdmin\\\\Theme\\\\ThemeManager\\:\\:setActiveTheme\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$settings of class PhpMyAdmin\\Config\\Settings constructor expects array\, array\ given\.$#'
+ identifier: argument.type
count: 1
path: src/Config.php
-
- message: "#^Parameter \\#1 \\$url of function parse_url expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function rtrim expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config.php
+
+ -
+ message: '#^Parameter \#1 \$theme of method PhpMyAdmin\\Theme\\ThemeManager\:\:checkTheme\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config.php
+
+ -
+ message: '#^Parameter \#1 \$theme of method PhpMyAdmin\\Theme\\ThemeManager\:\:setActiveTheme\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config.php
+
+ -
+ message: '#^Parameter \#1 \$url of function parse_url expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Config.php
-
- message: "#^Parameter \\#2 \\.\\.\\.\\$replacements of function array_replace_recursive expects array, mixed given\\.$#"
+ message: '#^Parameter \#2 \.\.\.\$replacements of function array_replace_recursive expects array, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config.php
-
- message: "#^Parameter \\#3 \\$default of method PhpMyAdmin\\\\Config\\:\\:setCookie\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#3 \$default of method PhpMyAdmin\\Config\:\:setCookie\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config.php
-
- message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\.$#"
+ message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, SuhosinDisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\.$#'
+ identifier: assign.propertyType
count: 2
path: src/Config.php
-
- message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\.$#"
+ message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, SuhosinDisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\\.$#'
+ identifier: assign.propertyType
count: 1
path: src/Config.php
-
- message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept mixed\\.$#"
+ message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, SuhosinDisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, SuhosinDisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\.$#'
+ identifier: assign.propertyType
count: 1
path: src/Config.php
-
- message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\{PmaAbsoluteUri\\: string, AuthLog\\: string, AuthLogSuccess\\: bool, PmaNoRelation_DisableWarning\\: bool, SuhosinDisableWarning\\: bool, LoginCookieValidityDisableWarning\\: bool, ReservedWordDisableWarning\\: bool, TranslationWarningThreshold\\: int, \\.\\.\\.\\}\\) does not accept non\\-empty\\-array\\\\.$#"
+ message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, SuhosinDisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept non\-empty\-array\\.$#'
+ identifier: assign.propertyType
count: 1
path: src/Config.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\." between ''\:'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Cannot access offset 'ServerDefault' on mixed\\.$#"
+ message: '#^Binary operation "\.\=" between ''mysqli\://'' and mixed results in an error\.$#'
+ identifier: assignOp.invalid
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Cannot access offset 'Servers' on mixed\\.$#"
+ message: '#^Binary operation "\.\=" between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 2
+ path: src/Config/ConfigFile.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
+ count: 1
+ path: src/Config/ConfigFile.php
+
+ -
+ message: '#^Cannot access offset ''ServerDefault'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Config/ConfigFile.php
+
+ -
+ message: '#^Cannot access offset ''Servers'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 8
path: src/Config/ConfigFile.php
-
- message: "#^Cannot access offset int on mixed\\.$#"
+ message: '#^Cannot access offset int on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 6
path: src/Config/ConfigFile.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 5
path: src/Config/ConfigFile.php
-
- message: "#^Method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getCanonicalPath\\(\\) should return string but returns string\\|null\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getConfig\\(\\) should return array but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\Config\\ConfigFile\:\:getCanonicalPath\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getServerName\\(\\) should return string but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\Config\\ConfigFile\:\:getConfig\(\) should return array\ but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Config/ConfigFile.php
+
+ -
+ message: '#^Method PhpMyAdmin\\Config\\ConfigFile\:\:getServerName\(\) should return string but returns mixed\.$#'
+ identifier: return.type
count: 2
path: src/Config/ConfigFile.php
-
- message: "#^Method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getServers\\(\\) should return array but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\Config\\ConfigFile\:\:getServers\(\) should return array\ but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#1 \\$array of function array_flip expects array\\, array given\\.$#"
+ message: '#^Parameter \#1 \$array of function array_flip expects array\, array\ given\.$#'
+ identifier: argument.type
count: 2
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#1 \\$array of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getFlatArray\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$array of method PhpMyAdmin\\Config\\ConfigFile\:\:getFlatArray\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#1 \\$path of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getCanonicalPath\\(\\) expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\ConfigFile\:\:getCanonicalPath\(\) expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#1 \\$path of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:set\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\ConfigFile\:\:set\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Core\\:\\:arrayRead\\(\\) expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Core\:\:arrayRead\(\) expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Core\\:\\:arrayRead\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Core\:\:arrayRead\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Core\\:\\:arrayRemove\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Core\:\:arrayRemove\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Core\\:\\:arrayWrite\\(\\) expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Core\:\:arrayWrite\(\) expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#2 \\$array of static method PhpMyAdmin\\\\Core\\:\\:arrayRead\\(\\) expects array, array\\|null given\\.$#"
+ message: '#^Parameter \#2 \$array of static method PhpMyAdmin\\Core\:\:arrayRead\(\) expects array\, array\\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#2 \\$array of static method PhpMyAdmin\\\\Core\\:\\:arrayRead\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#2 \$array of static method PhpMyAdmin\\Core\:\:arrayRead\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 4
path: src/Config/ConfigFile.php
-
- message: "#^Parameter \\#3 \\$canonicalPath of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:set\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$array of static method PhpMyAdmin\\Core\:\:arrayRemove\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Property PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:\\$setFilter type has no value type specified in iterable type array\\.$#"
+ message: '#^Parameter \#2 \$array of static method PhpMyAdmin\\Core\:\:arrayWrite\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Config/ConfigFile.php
+
+ -
+ message: '#^Parameter \#3 \$canonicalPath of method PhpMyAdmin\\Config\\ConfigFile\:\:set\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/ConfigFile.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Property PhpMyAdmin\\Config\\ConfigFile\:\:\$setFilter type has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
+ count: 1
+ path: src/Config/ConfigFile.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''/'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Config/Form.php
-
- message: "#^PHPDoc tag @var for variable \\$value has no value type specified in iterable type array\\.$#"
+ message: '#^Binary operation "\." between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: src/Config/Form.php
+
+ -
+ message: '#^Binary operation "\.\=" between mixed and non\-falsy\-string results in an error\.$#'
+ identifier: assignOp.invalid
count: 1
path: src/Config/Form.php
-
- message: "#^Parameter \\#1 \\$keys of function array_combine expects array\\, array\\, mixed\\> given\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 1
path: src/Config/Form.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^PHPDoc tag @var for variable \$value has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
+ count: 1
+ path: src/Config/Form.php
+
+ -
+ message: '#^Parameter \#1 \$keys of function array_combine expects array\, list\ given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config/Form.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 2
path: src/Config/FormDisplay.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
- count: 4
+ message: '#^Binary operation "\." between mixed and ''\-userprefs\-allow'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
path: src/Config/FormDisplay.php
-
- message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#"
- count: 4
- path: src/Config/FormDisplay.php
-
- -
- message: "#^Call to function function_exists\\(\\) with 'bzcompress'\\|'gzcompress'\\|'gzencode' will always evaluate to true\\.$#"
+ message: '#^Binary operation "\." between mixed and ''\: '' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Call to function function_exists\\(\\) with 'bzopen'\\|'gzopen'\\|'zip_open' will always evaluate to true\\.$#"
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Cannot access an offset on mixed\\.$#"
+ message: '#^Binary operation "\.\=" between mixed and non\-falsy\-string results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Config/FormDisplay.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
+ count: 4
+ path: src/Config/FormDisplay.php
+
+ -
+ message: '#^Call to function array_search\(\) requires parameter \#3 to be set\.$#'
+ identifier: function.strict
+ count: 4
+ path: src/Config/FormDisplay.php
+
+ -
+ message: '#^Call to function function_exists\(\) with ''bzcompress''\|''gzcompress''\|''gzencode'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Config/FormDisplay.php
+
+ -
+ message: '#^Call to function function_exists\(\) with ''bzopen''\|''gzopen''\|''zip_open'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Config/FormDisplay.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 3
path: src/Config/FormDisplay.php
-
- message: "#^Cannot access offset 'iconv' on mixed\\.$#"
+ message: '#^Cannot access offset ''iconv'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Cannot access offset 'wrapper_params' on mixed\\.$#"
+ message: '#^Cannot access offset ''wrapper_params'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 2
path: src/Config/FormDisplay.php
-
- message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Only booleans are allowed in a negated boolean, int\\|string\\|false given\\.$#"
+ message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, int\|string\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in a ternary operator condition, mixed given\.$#'
+ identifier: ternary.condNotBoolean
+ count: 1
+ path: src/Config/FormDisplay.php
+
+ -
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 3
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#1 \\$array of function array_flip expects array\\, mixed given\\.$#"
+ message: '#^Parameter \#1 \$array of function array_flip expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#1 \\$canonicalPath of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getDefault\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$canonicalPath of method PhpMyAdmin\\Config\\ConfigFile\:\:getDefault\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#1 \\$fieldId of method PhpMyAdmin\\\\Config\\\\FormDisplayTemplate\\:\\:addJsValidate\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$fieldId of method PhpMyAdmin\\Config\\FormDisplayTemplate\:\:addJsValidate\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#1 \\$optionName of method PhpMyAdmin\\\\Config\\\\Form\\:\\:getOptionType\\(\\) expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#1 \$optionName of method PhpMyAdmin\\Config\\Form\:\:getOptionType\(\) expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#1 \\$path of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getValue\\(\\) expects string, int\\|string\\|false given\\.$#"
+ message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\ConfigFile\:\:getValue\(\) expects string, int\|string\|false given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#1 \\$path of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:set\\(\\) expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\ConfigFile\:\:set\(\) expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#1 \\$path of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:set\\(\\) expects string, int\\|string given\\.$#"
+ message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\ConfigFile\:\:set\(\) expects string, int\|string given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Config\\\\Descriptions\\:\\:get\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Config\\Descriptions\:\:get\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#2 \\$array of function implode expects array\\, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of method PhpMyAdmin\\Config\\FormDisplay\:\:validateSelect\(\) expects bool\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#2 \\$array of function implode expects array\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$array of function implode expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#2 \\$errorList of method PhpMyAdmin\\\\Config\\\\FormDisplayTemplate\\:\\:displayErrors\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#2 \$array of function implode expects array\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#2 \\$field of method PhpMyAdmin\\\\Config\\\\FormDisplay\\:\\:displayFieldInput\\(\\) expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#2 \$errorList of method PhpMyAdmin\\Config\\FormDisplayTemplate\:\:displayErrors\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#2 \\$key of method PhpMyAdmin\\\\Config\\\\FormDisplay\\:\\:fillPostArrayParameters\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$field of method PhpMyAdmin\\Config\\FormDisplay\:\:displayFieldInput\(\) expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$key of method PhpMyAdmin\\Config\\FormDisplay\:\:fillPostArrayParameters\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#2 \\$subject of function preg_match expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config/FormDisplay.php
+
+ -
+ message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#2 \\$validators of method PhpMyAdmin\\\\Config\\\\FormDisplayTemplate\\:\\:addJsValidate\\(\\) expects array\\|string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$validators of method PhpMyAdmin\\Config\\FormDisplayTemplate\:\:addJsValidate\(\) expects array\\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, int\\|string\\|false given\\.$#"
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, int\|string\|false given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#4 \\$workPath of method PhpMyAdmin\\\\Config\\\\FormDisplay\\:\\:displayFieldInput\\(\\) expects string, int\\|string\\|false given\\.$#"
+ message: '#^Parameter \#4 \$workPath of method PhpMyAdmin\\Config\\FormDisplay\:\:displayFieldInput\(\) expects string, int\|string\|false given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#5 \\$translatedPath of method PhpMyAdmin\\\\Config\\\\FormDisplay\\:\\:displayFieldInput\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$translatedPath of method PhpMyAdmin\\Config\\FormDisplay\:\:displayFieldInput\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Parameter \\#7 \\$opts of method PhpMyAdmin\\\\Config\\\\FormDisplayTemplate\\:\\:displayInput\\(\\) expects array\\|null, mixed given\\.$#"
+ message: '#^Property PhpMyAdmin\\Config\\FormDisplay\:\:\$userprefsKeys type has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
count: 1
path: src/Config/FormDisplay.php
-
- message: "#^Property PhpMyAdmin\\\\Config\\\\FormDisplay\\:\\:\\$userprefsKeys type has no value type specified in iterable type array\\.$#"
- count: 1
- path: src/Config/FormDisplay.php
-
- -
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Config/FormDisplayTemplate.php
-
- message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 2
path: src/Config/FormDisplayTemplate.php
-
- message: "#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in a ternary operator condition, mixed given\.$#'
+ identifier: ternary.condNotBoolean
count: 1
path: src/Config/FormDisplayTemplate.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Config/Forms/BaseForm.php
-
- message: "#^Method PhpMyAdmin\\\\Config\\\\Forms\\\\BaseForm\\:\\:getFields\\(\\) should return array\\ but returns array\\, mixed\\>\\.$#"
+ message: '#^Method PhpMyAdmin\\Config\\Forms\\BaseForm\:\:getFields\(\) should return array\ but returns list\\.$#'
+ identifier: return.type
count: 1
path: src/Config/Forms/BaseForm.php
-
- message: "#^Parameter \\#1 \\$formName of method PhpMyAdmin\\\\Config\\\\FormDisplay\\:\\:registerForm\\(\\) expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#1 \$formName of method PhpMyAdmin\\Config\\FormDisplay\:\:registerForm\(\) expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Forms/BaseForm.php
-
- message: "#^Parameter \\#2 \\$form of method PhpMyAdmin\\\\Config\\\\FormDisplay\\:\\:registerForm\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#2 \$form of method PhpMyAdmin\\Config\\FormDisplay\:\:registerForm\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Forms/BaseForm.php
-
- message: "#^Parameter \\#1 \\$array of function array_diff expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$array of function array_diff expects an array of values castable to string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Forms/Setup/FeaturesForm.php
-
- message: "#^Cannot access an offset on mixed\\.$#"
+ message: '#^Parameter \#1 \$array of function array_diff expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config/Forms/Setup/FeaturesForm.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Config/Forms/Setup/MainForm.php
-
- message: "#^Cannot access an offset on mixed\\.$#"
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Config/Forms/Setup/SqlForm.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Config/Forms/User/FeaturesForm.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Config/PageSettings.php
-
- message: "#^Parameter \\#1 \\$url of method PhpMyAdmin\\\\ResponseRenderer\\:\\:redirect\\(\\) expects non\\-empty\\-string, string given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 2
+ path: src/Config/PageSettings.php
+
+ -
+ message: '#^Parameter \#1 \$url of method PhpMyAdmin\\ResponseRenderer\:\:redirect\(\) expects non\-empty\-string, string given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/PageSettings.php
-
- message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
+ count: 4
+ path: src/Config/ServerConfigChecks.php
+
+ -
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 1
path: src/Config/ServerConfigChecks.php
-
- message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#"
+ message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
+ count: 1
+ path: src/Config/ServerConfigChecks.php
+
+ -
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 6
path: src/Config/ServerConfigChecks.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Config/ServerConfigChecks.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 35
path: src/Config/Settings.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 45
path: src/Config/Settings.php
-
- message: "#^Method PhpMyAdmin\\\\Config\\\\Settings\\:\\:setTempDir\\(\\) should return string but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\Config\\Settings\:\:setTempDir\(\) should return string but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/Config/Settings.php
-
- message: "#^Method PhpMyAdmin\\\\Config\\\\Settings\\:\\:setVersionCheck\\(\\) should return bool but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\Config\\Settings\:\:setVersionCheck\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/Config/Settings.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Parameter \#1 \$export of class PhpMyAdmin\\Config\\Settings\\Export constructor expects array\, array\ given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config/Settings.php
+
+ -
+ message: '#^Parameter \#1 \$import of class PhpMyAdmin\\Config\\Settings\\Import constructor expects array\, array\ given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config/Settings.php
+
+ -
+ message: '#^Parameter \#1 \$schema of class PhpMyAdmin\\Config\\Settings\\Schema constructor expects array\, array\ given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config/Settings.php
+
+ -
+ message: '#^Parameter \#1 \$server of class PhpMyAdmin\\Config\\Settings\\Server constructor expects array\, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config/Settings.php
+
+ -
+ message: '#^Parameter \#1 \$server of class PhpMyAdmin\\Config\\Settings\\Server constructor expects array\, array\ given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config/Settings.php
+
+ -
+ message: '#^Parameter \#1 \$transformations of class PhpMyAdmin\\Config\\Settings\\Transformations constructor expects array\, array\ given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config/Settings.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 1
path: src/Config/Settings/Console.php
-
- message: "#^Only booleans are allowed in &&, mixed given on the right side\\.$#"
+ message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
+ identifier: booleanAnd.rightNotBoolean
count: 4
path: src/Config/Settings/Debug.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 2
path: src/Config/Settings/Export.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 23
path: src/Config/Settings/Export.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 1
path: src/Config/Settings/Import.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 11
path: src/Config/Settings/Import.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 2
path: src/Config/Settings/Schema.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^@readonly property PhpMyAdmin\\Config\\Settings\\Server\:\:\$ssl is assigned outside of the constructor\.$#'
+ identifier: property.readOnlyByPhpDocAssignNotInConstructor
+ count: 1
+ path: src/Config/Settings/Server.php
+
+ -
+ message: '#^@readonly property cannot have a default value\.$#'
+ identifier: property.readOnlyByPhpDocDefaultValue
+ count: 10
+ path: src/Config/Settings/Server.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 2
path: src/Config/Settings/Server.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 58
path: src/Config/Settings/Server.php
-
- message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, Closure\\(bool\\|float\\|int\\|resource\\|string\\|null\\)\\: string given\\.$#"
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, Closure\(bool\|float\|int\|resource\|string\|null\)\: string given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Settings/Server.php
-
- message: "#^Only booleans are allowed in \\|\\|, mixed given on the right side\\.$#"
+ message: '#^Only booleans are allowed in \|\|, mixed given on the right side\.$#'
+ identifier: booleanOr.rightNotBoolean
count: 4
path: src/Config/Settings/SqlQueryBox.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 11
path: src/Config/Settings/Transformations.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 12
path: src/Config/Settings/Transformations.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Config/SpecialSchemaLinks.php
-
- message: "#^Argument of an invalid type array\\|object supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type array\\|object supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Config/Validator.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Config/Validator.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 2
path: src/Config/Validator.php
-
- message: "#^Cannot access offset mixed on mixed\\.$#"
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Config/Validator.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 21
path: src/Config/Validator.php
-
- message: "#^Method PhpMyAdmin\\\\Config\\\\Validator\\:\\:getValidators\\(\\) should return array but returns mixed\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
+ count: 1
+ path: src/Config/Validator.php
+
+ -
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 1
+ path: src/Config/Validator.php
+
+ -
+ message: '#^Method PhpMyAdmin\\Config\\Validator\:\:getValidators\(\) should return array\ but returns mixed\.$#'
+ identifier: return.type
count: 2
path: src/Config/Validator.php
-
- message: "#^Only booleans are allowed in a negated boolean, mysqli\\|false given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, mysqli\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Config/Validator.php
-
- message: "#^Only booleans are allowed in a ternary operator condition, int\\<0, max\\>\\|false given\\.$#"
+ message: '#^Only booleans are allowed in a ternary operator condition, int\<0, max\>\|false given\.$#'
+ identifier: ternary.condNotBoolean
count: 1
path: src/Config/Validator.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$haystack of function mb_strpos expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^PHPDoc tag @var with type string is not subtype of native type non\-empty\-string\|null\.$#'
+ identifier: varTag.nativeType
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$haystack of function str_starts_with expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$haystack of function mb_strpos expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$host of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:testDBConnection\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$haystack of function str_starts_with expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Config/Validator.php
+
+ -
+ message: '#^Parameter \#1 \$host of static method PhpMyAdmin\\Config\\Validator\:\:testDBConnection\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$path of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getCanonicalPath\\(\\) expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\ConfigFile\:\:getCanonicalPath\(\) expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:validateByRegex\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Config\\Validator\:\:validateByRegex\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:validateNonNegativeNumber\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Config\\Validator\:\:validateNonNegativeNumber\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:validatePMAStorage\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Config\\Validator\:\:validatePMAStorage\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:validatePortNumber\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Config\\Validator\:\:validatePortNumber\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:validatePositiveNumber\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Config\\Validator\:\:validatePositiveNumber\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:validateRegex\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Config\\Validator\:\:validateRegex\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:validateServer\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Config\\Validator\:\:validateServer\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:validateTrustedProxies\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Config\\Validator\:\:validateTrustedProxies\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$path of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:validateUpperBound\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Config\\Validator\:\:validateUpperBound\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#1 \\$string of function mb_substr expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function mb_substr expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#2 \\$port of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:testDBConnection\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$port of static method PhpMyAdmin\\Config\\Validator\:\:testDBConnection\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Config/Validator.php
-
- message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#2 \\$subject of function preg_match expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#2 \$subject of function preg_match expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#3 \\$socket of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:testDBConnection\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$socket of static method PhpMyAdmin\\Config\\Validator\:\:testDBConnection\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Config/Validator.php
-
- message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Config/Validator.php
-
- message: "#^Parameter \\#4 \\$user of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:testDBConnection\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$user of static method PhpMyAdmin\\Config\\Validator\:\:testDBConnection\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Config/Validator.php
-
- message: "#^Parameter \\#5 \\$pass of static method PhpMyAdmin\\\\Config\\\\Validator\\:\\:testDBConnection\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$pass of static method PhpMyAdmin\\Config\\Validator\:\:testDBConnection\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Config/Validator.php
-
- message: "#^Static property PhpMyAdmin\\\\Config\\\\Validator\\:\\:\\$validators \\(array\\|null\\) does not accept mixed\\.$#"
+ message: '#^Static property PhpMyAdmin\\Config\\Validator\:\:\$validators \(array\\|null\) does not accept mixed\.$#'
+ identifier: assign.propertyType
count: 1
path: src/Config/Validator.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\." between mixed and ''create_tables\.sql'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#"
+ message: '#^Binary operation "\." between mixed and ''upgrade_column_info…'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Cannot access an offset on mixed\\.$#"
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Cannot access offset 'COLUMN_NAME' on mixed\\.$#"
+ message: '#^Call to function array_search\(\) requires parameter \#3 to be set\.$#'
+ identifier: function.strict
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Cannot access offset 'DATA_TYPE' on mixed\\.$#"
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot access offset ''COLUMN_NAME'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Cannot access offset ''DATA_TYPE'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/ConfigStorage/Relation.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: src/ConfigStorage/Relation.php
+
+ -
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 21
path: src/ConfigStorage/Relation.php
-
- message: "#^Do\\-while loop condition is always false\\.$#"
+ message: '#^Do\-while loop condition is always false\.$#'
+ identifier: doWhile.alwaysFalse
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:getChildReferences\\(\\) should return array\\\\> but returns array\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:getDisplayField\\(\\) should return string but returns mixed\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 21
+ path: src/ConfigStorage/Relation.php
+
+ -
+ message: '#^Method PhpMyAdmin\\ConfigStorage\\Relation\:\:getChildReferences\(\) should return array\\>\> but returns array\\.$#'
+ identifier: return.type
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:getTableReplacementNames\\(\\) should return array\\ but returns array\\\\|bool\\|int\\|string\\>\\|int\\<1, max\\>\\|string\\|true\\>\\.$#"
+ message: '#^Method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) should return string but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:searchColumnInForeigners\\(\\) return type has no value type specified in iterable type array\\.$#"
+ message: '#^Method PhpMyAdmin\\ConfigStorage\\Relation\:\:getTableReplacementNames\(\) should return array\ but returns array\\|bool\|int\|string\>\|int\<1, max\>\|string\|true\>\.$#'
+ identifier: return.type
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:searchColumnInForeigners\\(\\) should return array\\|false but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\ConfigStorage\\Relation\:\:searchColumnInForeigners\(\) return type has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'bookmarktable'\\|'central_columns'\\|'column_info'\\|'designer_settings'\\|'export_templates'\\|'favorite'\\|'history'\\|'navigationhiding'\\|'recent'\\|'relation'\\|'savedsearches'\\|'table_uiprefs'\\|'tracking'\\|'userconfig' on array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\} in isset\\(\\) always exists and is not nullable\\.$#"
+ message: '#^Method PhpMyAdmin\\ConfigStorage\\Relation\:\:searchColumnInForeigners\(\) should return array\|false but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'central_columns' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''bookmarktable''\|''central_columns''\|''column_info''\|''designer_settings''\|''export_templates''\|''favorite''\|''history''\|''navigationhiding''\|''recent''\|''relation''\|''savedsearches''\|''table_uiprefs''\|''tracking''\|''userconfig'' on array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\} in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'column_info' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''central_columns'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'designer_settings' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''column_info'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'export_templates' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''designer_settings'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'favorite' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''export_templates'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'history' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''favorite'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'navigationhiding' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''history'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'pdf_pages' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''navigationhiding'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'pdf_pages'\\|'relation'\\|'table_coords'\\|'table_info'\\|'usergroups'\\|'users' on array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\} in isset\\(\\) always exists and is not nullable\\.$#"
+ message: '#^Offset ''pdf_pages'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'recent' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''pdf_pages''\|''relation''\|''table_coords''\|''table_info''\|''usergroups''\|''users'' on array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\} in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'relation' on array\\{host\\: string, port\\: string, socket\\: string, ssl\\: bool, ssl_key\\: string\\|null, ssl_cert\\: string\\|null, ssl_ca\\: string\\|null, ssl_ca_path\\: string\\|null, \\.\\.\\.\\} on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''recent'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'savedsearches' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''relation'' on array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\} on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'table_coords' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''savedsearches'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'table_info' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''table_coords'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'table_uiprefs' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''table_info'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'tracking' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''table_uiprefs'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'userconfig' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''tracking'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'usergroups' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''userconfig'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Offset 'users' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Offset ''usergroups'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Only booleans are allowed in &&, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given on the left side\\.$#"
+ message: '#^Offset ''users'' on \*NEVER\* on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
+ count: 1
+ path: src/ConfigStorage/Relation.php
+
+ -
+ message: '#^Only booleans are allowed in &&, PhpMyAdmin\\Dbal\\ResultInterface\|false given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 2
path: src/ConfigStorage/Relation.php
-
- message: "#^Only booleans are allowed in &&, string given on the left side\\.$#"
+ message: '#^Only booleans are allowed in &&, string given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Only booleans are allowed in a negated boolean, string\\|false\\|null given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, string\|false\|null given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Only booleans are allowed in an if condition, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Only booleans are allowed in an if condition, bool\\|string\\|null given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, bool\|string\|null given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Parameter \\#1 \\$array of function array_reverse expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$array of function array_reverse expects array, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Parameter \\#1 \\$array of function array_shift expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$array of function array_shift expects array, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:getDisplayField\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Parameter \\#1 \\$dbName of method PhpMyAdmin\\\\DatabaseInterface\\:\\:getTable\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$dbName of method PhpMyAdmin\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/ConfigStorage/Relation.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 7
path: src/ConfigStorage/Relation.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, string\\|false given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, string\|false given\.$#'
+ identifier: argument.type
count: 2
path: src/ConfigStorage/Relation.php
-
- message: "#^Parameter \\#1 \\$type of method PhpMyAdmin\\\\Types\\:\\:getTypeClass\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getTypeClass\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Parameter \\#2 \\$callback of function usort expects callable\\(string\\|null, string\\|null\\)\\: int, Closure\\(string, string\\)\\: int\\<\\-1, 1\\> given\\.$#"
+ message: '#^Parameter \#2 \$callback of function usort expects callable\(string\|null, string\|null\)\: int, Closure\(string, string\)\: int\<\-1, 1\> given\.$#'
+ identifier: argument.type
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Parameter \\#2 \\$table of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:getDisplayField\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$table of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/ConfigStorage/Relation.php
-
- message: "#^Parameter \\#2 \\$tableName of method PhpMyAdmin\\\\DatabaseInterface\\:\\:getTable\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$tableName of method PhpMyAdmin\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/ConfigStorage/Relation.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\DatabaseInterface\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\DatabaseInterface\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 4
path: src/ConfigStorage/UserGroups.php
-
- message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#"
+ message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
+ identifier: function.strict
count: 1
path: src/ConfigStorage/UserGroups.php
-
- message: "#^Only booleans are allowed in &&, int\\|string given on the right side\\.$#"
+ message: '#^Only booleans are allowed in &&, int\|string given on the right side\.$#'
+ identifier: booleanAnd.rightNotBoolean
count: 1
path: src/ConfigStorage/UserGroups.php
-
- message: "#^Only booleans are allowed in an if condition, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: if.condNotBoolean
count: 2
path: src/ConfigStorage/UserGroups.php
-
- message: "#^Parameter \\#1 \\$haystack of function str_starts_with expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$haystack of function str_starts_with expects string, string\|null given\.$#'
+ identifier: argument.type
count: 3
path: src/ConfigStorage/UserGroups.php
-
- message: "#^Parameter \\#1 \\$string of function mb_substr expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$string of function mb_substr expects string, string\|null given\.$#'
+ identifier: argument.type
count: 3
path: src/ConfigStorage/UserGroups.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Console.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/CheckRelationsController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 2
path: src/Controllers/Console/Bookmark/AddController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/CentralColumnsController.php
-
- message: "#^Cannot access offset string on mixed\\.$#"
+ message: '#^Binary operation "\.\=" between mixed and '' \-\> '' results in an error\.$#'
+ identifier: assignOp.invalid
count: 1
path: src/Controllers/Database/DataDictionaryController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\.\=" between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Controllers/Database/DataDictionaryController.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Controllers/Database/DataDictionaryController.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''\.'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Cannot access offset 'dbName' on mixed\\.$#"
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Controllers/Database/DesignerController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
+ count: 1
+ path: src/Controllers/Database/DesignerController.php
+
+ -
+ message: '#^Cannot access offset ''dbName'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Cannot access offset 'tableName' on mixed\\.$#"
+ message: '#^Cannot access offset ''tableName'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\Database\\\\Designer\\:\\:getHtmlForEditOrDeletePages\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
+ count: 1
+ path: src/Controllers/Database/DesignerController.php
+
+ -
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Database\\Designer\:\:getHtmlForEditOrDeletePages\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\Database\\\\Designer\\:\\:getHtmlForPageSaveAs\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Database\\Designer\:\:getHtmlForPageSaveAs\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\Database\\\\Designer\\:\\:getHtmlForSchemaExport\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Database\\Designer\:\:getHtmlForSchemaExport\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\Database\\\\Designer\\\\Common\\:\\:getDefaultPage\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Database\\Designer\\Common\:\:getDefaultPage\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\Database\\\\Designer\\\\Common\\:\\:getLoadingPage\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Database\\Designer\\Common\:\:getLoadingPage\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\Database\\\\Designer\\\\Common\\:\\:getTablesInfo\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Database\\Designer\\Common\:\:getTablesInfo\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\Database\\\\Designer\\\\Common\\:\\:saveDisplayField\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Database\\Designer\\Common\:\:saveDisplayField\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Parameter \\#1 \\$db of static method PhpMyAdmin\\\\Url\\:\\:getHiddenInputs\\(\\) expects array\\|string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$db of static method PhpMyAdmin\\Url\:\:getHiddenInputs\(\) expects array\\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Parameter \\#2 \\$db of method PhpMyAdmin\\\\Database\\\\Designer\\\\Common\\:\\:createNewPage\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#2 \$db of method PhpMyAdmin\\Database\\Designer\\Common\:\:createNewPage\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Parameter \\#2 \\$table of method PhpMyAdmin\\\\Database\\\\Designer\\\\Common\\:\\:getTablesInfo\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$table of method PhpMyAdmin\\Database\\Designer\\Common\:\:getTablesInfo\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: "#^Parameter \\#2 \\$table of method PhpMyAdmin\\\\Database\\\\Designer\\\\Common\\:\\:saveDisplayField\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#2 \$table of method PhpMyAdmin\\Database\\Designer\\Common\:\:saveDisplayField\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/DesignerController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/EventsController.php
-
- message: "#^Cannot call method isSuccess\\(\\) on mixed\\.$#"
+ message: '#^Cannot call method isSuccess\(\) on mixed\.$#'
+ identifier: method.nonObject
count: 1
path: src/Controllers/Database/EventsController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 16
path: src/Controllers/Database/EventsController.php
-
- message: "#^Only booleans are allowed in \\|\\|, int\\<0, max\\> given on the left side\\.$#"
+ message: '#^Only booleans are allowed in \|\|, int\<0, max\> given on the left side\.$#'
+ identifier: booleanOr.leftNotBoolean
count: 1
path: src/Controllers/Database/EventsController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Database/EventsController.php
-
- message: "#^Parameter \\#1 \\$name of method PhpMyAdmin\\\\Database\\\\Events\\:\\:getDataFromName\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$name of method PhpMyAdmin\\Database\\Events\:\:getDataFromName\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/EventsController.php
-
- message: "#^Parameter \\#1 \\$string of function mb_strtoupper expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function mb_strtoupper expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/EventsController.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/EventsController.php
-
- message: "#^Parameter \\#2 \\$name of method PhpMyAdmin\\\\Database\\\\Events\\:\\:getDetails\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$name of method PhpMyAdmin\\Database\\Events\:\:getDetails\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/EventsController.php
-
- message: "#^Parameter \\#3 \\$name of static method PhpMyAdmin\\\\Database\\\\Events\\:\\:getDefinition\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Events\:\:getDefinition\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/EventsController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/ExportController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 2
path: src/Controllers/Database/ExportController.php
-
- message: "#^Parameter \\#2 \\$array of method PhpMyAdmin\\\\Export\\\\Export\\:\\:getCheckedClause\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#2 \$array of method PhpMyAdmin\\Export\\Export\:\:getCheckedClause\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/ExportController.php
-
- message: "#^Parameter \\#4 \\$sqlQuery of method PhpMyAdmin\\\\Export\\\\Options\\:\\:getOptions\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$sqlQuery of method PhpMyAdmin\\Export\\Options\:\:getOptions\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/ExportController.php
-
- message: "#^Parameter \\#5 \\$numTables of method PhpMyAdmin\\\\Export\\\\Options\\:\\:getOptions\\(\\) expects int\\|string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$numTables of method PhpMyAdmin\\Export\\Options\:\:getOptions\(\) expects int\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/ExportController.php
-
- message: "#^Parameter \\#6 \\$unlimNumRows of method PhpMyAdmin\\\\Export\\\\Options\\:\\:getOptions\\(\\) expects int\\|string, mixed given\\.$#"
+ message: '#^Parameter \#6 \$unlimNumRows of method PhpMyAdmin\\Export\\Options\:\:getOptions\(\) expects int\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/ExportController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/ImportController.php
-
- message: "#^Cannot access offset 'handler' on mixed\\.$#"
+ message: '#^Cannot access offset ''handler'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Controllers/Database/ImportController.php
-
- message: "#^Cannot call static method getIdKey\\(\\) on mixed\\.$#"
+ message: '#^Cannot call static method getIdKey\(\) on mixed\.$#'
+ identifier: staticMethod.nonObject
count: 1
path: src/Controllers/Database/ImportController.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 1
path: src/Controllers/Database/ImportController.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 1
path: src/Controllers/Database/ImportController.php
-
- message: "#^Parameter \\#2 \\$db of static method PhpMyAdmin\\\\Database\\\\MultiTableQuery\\:\\:displayResults\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$db of static method PhpMyAdmin\\Database\\MultiTableQuery\:\:displayResults\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/MultiTableQuery/QueryController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/PrivilegesController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\-" between mixed and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 6
+ path: src/Controllers/Database/RoutinesController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Cannot access an offset on mixed\\.$#"
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 6
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Cannot access offset \\(float\\|int\\) on mixed\\.$#"
+ message: '#^Cannot access offset \(float\|int\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 6
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
+ message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 4
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Cannot call method isSuccess\\(\\) on mixed\\.$#"
+ message: '#^Cannot call method isSuccess\(\) on mixed\.$#'
+ identifier: method.nonObject
count: 1
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Cannot use \+\+ on mixed\.$#'
+ identifier: postInc.type
+ count: 1
+ path: src/Controllers/Database/RoutinesController.php
+
+ -
+ message: '#^Cannot use \-\- on mixed\.$#'
+ identifier: postDec.type
+ count: 1
+ path: src/Controllers/Database/RoutinesController.php
+
+ -
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 23
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 1
+ path: src/Controllers/Database/RoutinesController.php
+
+ -
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
+ count: 1
+ path: src/Controllers/Database/RoutinesController.php
+
+ -
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 4
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Parameter \\#1 \\$name of method PhpMyAdmin\\\\Database\\\\Routines\\:\\:getDataFromName\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$name of method PhpMyAdmin\\Database\\Routines\:\:getDataFromName\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 3
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Parameter \\#1 \\$string of function htmlentities expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function htmlentities expects string, mixed given\.$#'
+ identifier: argument.type
count: 3
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Parameter \\#1 \\$string of function mb_strtoupper expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function mb_strtoupper expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Parameter \\#2 \\$type of method PhpMyAdmin\\\\Database\\\\Routines\\:\\:getDataFromName\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$type of method PhpMyAdmin\\Database\\Routines\:\:getDataFromName\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 3
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Parameter \\#3 \\$name of static method PhpMyAdmin\\\\Database\\\\Routines\\:\\:getFunctionDefinition\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getFunctionDefinition\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Parameter \\#3 \\$name of static method PhpMyAdmin\\\\Database\\\\Routines\\:\\:getProcedureDefinition\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getProcedureDefinition\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Parameter \\#3 \\$which of static method PhpMyAdmin\\\\Database\\\\Routines\\:\\:getDetails\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#3 \$which of static method PhpMyAdmin\\Database\\Routines\:\:getDetails\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/RoutinesController.php
-
- message: "#^Parameter \\#4 \\$name of static method PhpMyAdmin\\\\Database\\\\Routines\\:\\:getDetails\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getDetails\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/RoutinesController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/SearchController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Database/SearchController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/SqlController.php
-
- message: "#^Parameter \\#1 \\$database of method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:deleteColumnsFromList\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$database of method PhpMyAdmin\\Database\\CentralColumns\:\:deleteColumnsFromList\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/Structure/CentralColumns/RemoveController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\DatabaseInterface\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\DatabaseInterface\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/Structure/CopyFormController.php
-
- message: "#^Cannot access offset 'table_limit_offset' on mixed\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 1
+ path: src/Controllers/Database/Structure/CopyFormController.php
+
+ -
+ message: '#^Binary operation "\.\=" between mixed and '';'' results in an error\.$#'
+ identifier: assignOp.invalid
count: 1
path: src/Controllers/Database/Structure/DropTableController.php
-
- message: "#^Cannot access offset 'table_limit_offset…' on mixed\\.$#"
- count: 1
- path: src/Controllers/Database/Structure/DropTableController.php
-
- -
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Binary operation "\.\=" between mixed and non\-falsy\-string results in an error\.$#'
+ identifier: assignOp.invalid
count: 2
path: src/Controllers/Database/Structure/DropTableController.php
-
- message: "#^Only booleans are allowed in &&, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given on the left side\\.$#"
+ message: '#^Cannot access offset ''table_limit_offset'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Database/Structure/DropTableController.php
-
- message: "#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Cannot access offset ''table_limit_offset_db'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Controllers/Database/Structure/DropTableController.php
+
+ -
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 2
path: src/Controllers/Database/Structure/DropTableController.php
-
- message: "#^Parameter \\#1 \\$query of method PhpMyAdmin\\\\DatabaseInterface\\:\\:tryQuery\\(\\) expects string, mixed given\\.$#"
+ message: '#^Only booleans are allowed in &&, PhpMyAdmin\\Dbal\\ResultInterface\|false given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 1
path: src/Controllers/Database/Structure/DropTableController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
+ count: 2
+ path: src/Controllers/Database/Structure/DropTableController.php
+
+ -
+ message: '#^Parameter \#1 \$query of method PhpMyAdmin\\DatabaseInterface\:\:tryQuery\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Database/Structure/DropTableController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/Structure/EmptyTableController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Database/Structure/EmptyTableController.php
-
- message: "#^Parameter \\#3 \\$pos of method PhpMyAdmin\\\\Sql\\:\\:calculatePosForLastPage\\(\\) expects int\\|null, mixed given\\.$#"
+ message: '#^Parameter \#3 \$pos of method PhpMyAdmin\\Sql\:\:calculatePosForLastPage\(\) expects int\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/Structure/EmptyTableController.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Controllers/Database/Structure/FavoriteTableController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/Structure/FavoriteTableController.php
-
- message: "#^Cannot access offset 'db' on mixed\\.$#"
+ message: '#^Cannot access offset ''db'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Database/Structure/FavoriteTableController.php
-
- message: "#^Cannot access offset 'favorites_synced' on mixed\\.$#"
+ message: '#^Cannot access offset ''favorites_synced'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Database/Structure/FavoriteTableController.php
-
- message: "#^Cannot access offset 'table' on mixed\\.$#"
+ message: '#^Cannot access offset ''table'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Database/Structure/FavoriteTableController.php
-
- message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
+ message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Database/Structure/FavoriteTableController.php
-
- message: "#^Cannot access offset non\\-falsy\\-string on mixed\\.$#"
+ message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Database/Structure/FavoriteTableController.php
-
- message: "#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 1
path: src/Controllers/Database/Structure/FavoriteTableController.php
-
- message: "#^Parameter \\#3 \\$favoriteTables of method PhpMyAdmin\\\\Controllers\\\\Database\\\\Structure\\\\FavoriteTableController\\:\\:synchronizeFavoriteTables\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/Structure/FavoriteTableController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Parameter \#3 \$favoriteTables of method PhpMyAdmin\\Controllers\\Database\\Structure\\FavoriteTableController\:\:synchronizeFavoriteTables\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Database/Structure/FavoriteTableController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Database/Structure/RealRowCountController.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 1
path: src/Controllers/Database/Structure/RealRowCountController.php
-
- message: "#^Parameter \\#1 \\$value of static method PhpMyAdmin\\\\Util\\:\\:formatNumber\\(\\) expects float\\|int\\|string, int\\|null given\\.$#"
+ message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatNumber\(\) expects float\|int\|string, int\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/Structure/RealRowCountController.php
-
- message: "#^Parameter \\#3 \\$statement of method PhpMyAdmin\\\\FlashMessenger\\:\\:addMessage\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$statement of method PhpMyAdmin\\FlashMessenger\:\:addMessage\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Database/Structure/ReplacePrefixController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 3
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Binary operation "\+\=" between \(float\|int\) and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Binary operation "\+\=" between int and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 5
path: src/Controllers/Database/StructureController.php
-
- message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#"
+ message: '#^Call to function array_search\(\) requires parameter \#3 to be set\.$#'
+ identifier: function.strict
count: 4
path: src/Controllers/Database/StructureController.php
-
- message: "#^Cannot access offset 'TABLE_NAME' on mixed\\.$#"
+ message: '#^Cannot access offset ''TABLE_NAME'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Database/StructureController.php
-
- message: "#^Cannot access offset 'TABLE_ROWS' on mixed\\.$#"
+ message: '#^Cannot access offset ''TABLE_ROWS'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Database/StructureController.php
-
- message: "#^Cannot access offset 'TABLE_TYPE' on mixed\\.$#"
+ message: '#^Cannot access offset ''TABLE_TYPE'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Database/StructureController.php
-
- message: "#^Method PhpMyAdmin\\\\Controllers\\\\Database\\\\StructureController\\:\\:getStuffForEngineTypeTable\\(\\) should return array\\{array, string, string, string, string, int, bool, int\\} but returns array\\{mixed, mixed, mixed, mixed, mixed, mixed, bool, mixed\\}\\.$#"
- count: 1
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
- count: 1
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\Controllers\\\\Database\\\\StructureController\\:\\:hasTable\\(\\) expects array, mixed given\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
count: 2
path: src/Controllers/Database/StructureController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
- count: 2
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, mixed given\\.$#"
- count: 4
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Parameter \\#1 \\$string of function md5 expects string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Parameter \\#1 \\$string of method PhpMyAdmin\\\\Replication\\\\Replication\\:\\:extractDbOrTable\\(\\) expects string, mixed given\\.$#"
- count: 2
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Parameter \\#1 \\$table of method PhpMyAdmin\\\\Controllers\\\\Database\\\\StructureController\\:\\:getTrackingIcon\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
- count: 2
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Parameter \\#1 \\$value of static method PhpMyAdmin\\\\Util\\:\\:formatByteDown\\(\\) expects float\\|int\\|string\\|null, mixed given\\.$#"
- count: 1
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Parameter \\#2 \\$haystack of function array_search expects array, mixed given\\.$#"
- count: 4
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Parameter \\#2 \\$table of method PhpMyAdmin\\\\Controllers\\\\Database\\\\StructureController\\:\\:getReplicationStatus\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Parameter \\#2 \\$tableName of method PhpMyAdmin\\\\DatabaseInterface\\:\\:getTable\\(\\) expects string, mixed given\\.$#"
- count: 4
- path: src/Controllers/Database/StructureController.php
-
- -
- message: "#^Parameter \\#3 \\$name of static method PhpMyAdmin\\\\Charsets\\:\\:findCollationByName\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Database/StructureController.php
-
- -
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
- count: 1
- path: src/Controllers/Database/TrackingController.php
-
- -
- message: "#^Parameter \\#2 \\$selected of method PhpMyAdmin\\\\Tracking\\\\Tracking\\:\\:createTrackingForMultipleTables\\(\\) expects array, mixed given\\.$#"
- count: 1
- path: src/Controllers/Database/TrackingController.php
-
- -
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
- count: 1
- path: src/Controllers/ErrorReportController.php
-
- -
- message: "#^Cannot access offset 'success' on mixed\\.$#"
- count: 1
- path: src/Controllers/ErrorReportController.php
-
- -
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
- count: 1
- path: src/Controllers/ErrorReportController.php
-
- -
- message: "#^Only booleans are allowed in &&, mixed given on the right side\\.$#"
- count: 1
- path: src/Controllers/ErrorReportController.php
-
- -
- message: "#^Call to an undefined method object\\:\\:exportFooter\\(\\)\\.$#"
- count: 1
- path: src/Controllers/Export/ExportController.php
-
- -
- message: "#^Call to an undefined method object\\:\\:exportHeader\\(\\)\\.$#"
- count: 1
- path: src/Controllers/Export/ExportController.php
-
- -
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
- count: 1
- path: src/Controllers/Export/ExportController.php
-
- -
- message: "#^Cannot access offset 'aliases' on mixed\\.$#"
- count: 1
- path: src/Controllers/Export/ExportController.php
-
- -
- message: "#^Cannot cast mixed to string\\.$#"
- count: 1
- path: src/Controllers/Export/ExportController.php
-
- -
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 5
- path: src/Controllers/Export/ExportController.php
+ path: src/Controllers/Database/StructureController.php
-
- message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#"
+ message: '#^Method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:getStuffForEngineTypeTable\(\) should return array\{array\, string, string, string, string, int, bool, int\} but returns array\{mixed, mixed, mixed, mixed, mixed, mixed, bool, mixed\}\.$#'
+ identifier: return.type
count: 1
- path: src/Controllers/Export/ExportController.php
+ path: src/Controllers/Database/StructureController.php
-
- message: "#^Only booleans are allowed in &&, string\\|null given on the right side\\.$#"
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
+ count: 1
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:hasTable\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 2
- path: src/Controllers/Export/ExportController.php
+ path: src/Controllers/Database/StructureController.php
-
- message: "#^PHPDoc tag @var for variable \\$aliasesParam has no value type specified in iterable type array\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Parameter \#1 \$string of function md5 expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Parameter \#1 \$string of method PhpMyAdmin\\Replication\\Replication\:\:extractDbOrTable\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Parameter \#1 \$table of method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:getTrackingIcon\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatByteDown\(\) expects float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function array_search expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Parameter \#2 \$table of method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:getReplicationStatus\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Parameter \#2 \$tableName of method PhpMyAdmin\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Charsets\:\:findCollationByName\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Database/StructureController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
+ count: 1
+ path: src/Controllers/Database/TrackingController.php
+
+ -
+ message: '#^Parameter \#2 \$selected of method PhpMyAdmin\\Tracking\\Tracking\:\:createTrackingForMultipleTables\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Database/TrackingController.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Controllers/ErrorReportController.php
+
+ -
+ message: '#^Binary operation "\-" between mixed and int\<1, max\> results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Controllers/ErrorReportController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
+ count: 1
+ path: src/Controllers/ErrorReportController.php
+
+ -
+ message: '#^Cannot access offset ''success'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Controllers/ErrorReportController.php
+
+ -
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
+ count: 1
+ path: src/Controllers/ErrorReportController.php
+
+ -
+ message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
+ identifier: booleanAnd.rightNotBoolean
+ count: 1
+ path: src/Controllers/ErrorReportController.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_comments'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#1 \\$dbSelect of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportServer\\(\\) expects array\\|string, mixed given\\.$#"
+ message: '#^Binary operation "\." between mixed and ''_dates'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#1 \\$exportPlugin of method PhpMyAdmin\\\\Export\\\\Export\\:\\:getFinalFilenameAndMimetypeForFilename\\(\\) expects PhpMyAdmin\\\\Plugins\\\\ExportPlugin, object given\\.$#"
+ message: '#^Binary operation "\." between mixed and ''_include_comments'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#1 \\$exportType of method PhpMyAdmin\\\\Export\\\\Export\\:\\:getFilenameAndMimetype\\(\\) expects string, mixed given\\.$#"
+ message: '#^Binary operation "\." between mixed and ''_mime'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#1 \\$exportType of method PhpMyAdmin\\\\Export\\\\Export\\:\\:getHtmlForDisplayedExportFooter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Binary operation "\." between mixed and ''_relation'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#1 \\$exportType of method PhpMyAdmin\\\\Export\\\\Export\\:\\:getHtmlForDisplayedExportHeader\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Export/ExportController.php
-
- -
- message: "#^Parameter \\#1 \\$exportType of method PhpMyAdmin\\\\Export\\\\Export\\:\\:getPageLocationAndSaveMessage\\(\\) expects string, mixed given\\.$#"
+ message: '#^Binary operation "\." between mixed and ''_structure_or_data'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 3
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#1 \\$fileHandle of method PhpMyAdmin\\\\Export\\\\Export\\:\\:closeFile\\(\\) expects resource, mixed given\\.$#"
+ message: '#^Call to an undefined method object\:\:exportFooter\(\)\.$#'
+ identifier: method.notFound
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#1 \\$list of class PhpMyAdmin\\\\SqlParser\\\\Parser constructor expects PhpMyAdmin\\\\SqlParser\\\\TokensList\\|PhpMyAdmin\\\\SqlParser\\\\UtfString\\|string\\|null, mixed given\\.$#"
+ message: '#^Call to an undefined method object\:\:exportHeader\(\)\.$#'
+ identifier: method.notFound
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#14 \\$sqlQuery of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportTable\\(\\) expects string, mixed given\\.$#"
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Cannot access offset ''aliases'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
+ count: 5
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 2
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#2 \\$compression of method PhpMyAdmin\\\\Export\\\\Export\\:\\:compress\\(\\) expects string, mixed given\\.$#"
+ message: '#^Only booleans are allowed in &&, string\|null given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Only booleans are allowed in &&, string\|null given on the right side\.$#'
+ identifier: booleanAnd.rightNotBoolean
count: 2
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#2 \\$compression of method PhpMyAdmin\\\\Export\\\\Export\\:\\:getFinalFilenameAndMimetypeForFilename\\(\\) expects string, mixed given\\.$#"
+ message: '#^Only booleans are allowed in an elseif condition, mixed given\.$#'
+ identifier: elseif.condNotBoolean
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#2 \\$destCharset of static method PhpMyAdmin\\\\Encoding\\:\\:convertString\\(\\) expects string, mixed given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
+ count: 5
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^PHPDoc tag @var for variable \$aliasesParam has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#2 \\$exportPlugin of static method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportRaw\\(\\) expects PhpMyAdmin\\\\Plugins\\\\ExportPlugin, object given\\.$#"
+ message: '#^PHPDoc tag @var with type mixed is not subtype of type bool\|int\<0, max\>\|string\|null\.$#'
+ identifier: varTag.type
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#2 \\$rememberTemplate of method PhpMyAdmin\\\\Export\\\\Export\\:\\:getFilenameAndMimetype\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$dbSelect of method PhpMyAdmin\\Export\\Export\:\:exportServer\(\) expects array\\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#3 \\$errorUrl of static method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportRaw\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$exportPlugin of method PhpMyAdmin\\Export\\Export\:\:getFinalFilenameAndMimetypeForFilename\(\) expects PhpMyAdmin\\Plugins\\ExportPlugin, object given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#3 \\$exportPlugin of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportServer\\(\\) expects PhpMyAdmin\\\\Plugins\\\\ExportPlugin, object given\\.$#"
+ message: '#^Parameter \#1 \$exportType of method PhpMyAdmin\\Export\\Export\:\:getFilenameAndMimetype\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#3 \\$exportPlugin of method PhpMyAdmin\\\\Export\\\\Export\\:\\:getFilenameAndMimetype\\(\\) expects PhpMyAdmin\\\\Plugins\\\\ExportPlugin, object given\\.$#"
+ message: '#^Parameter \#1 \$exportType of method PhpMyAdmin\\Export\\Export\:\:getHtmlForDisplayedExportFooter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#3 \\$saveFilename of method PhpMyAdmin\\\\Export\\\\Export\\:\\:closeFile\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$exportType of method PhpMyAdmin\\Export\\Export\:\:getHtmlForDisplayedExportHeader\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#4 \\$compression of method PhpMyAdmin\\\\Export\\\\Export\\:\\:getFilenameAndMimetype\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$exportType of method PhpMyAdmin\\Export\\Export\:\:getPageLocationAndSaveMessage\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#1 \$fileHandle of method PhpMyAdmin\\Export\\Export\:\:closeFile\(\) expects resource, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#4 \\$errorUrl of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportServer\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$list of class PhpMyAdmin\\SqlParser\\Parser constructor expects PhpMyAdmin\\SqlParser\\TokensList\|PhpMyAdmin\\SqlParser\\UtfString\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#4 \\$exportPlugin of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportTable\\(\\) expects PhpMyAdmin\\\\Plugins\\\\ExportPlugin, object given\\.$#"
+ message: '#^Parameter \#14 \$sqlQuery of method PhpMyAdmin\\Export\\Export\:\:exportTable\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#4 \\$tableStructure of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportDatabase\\(\\) expects array\\, array given\\.$#"
+ message: '#^Parameter \#2 \$compression of method PhpMyAdmin\\Export\\Export\:\:compress\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#5 \\$errorUrl of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportTable\\(\\) expects string, mixed given\\.$#"
- count: 2
- path: src/Controllers/Export/ExportController.php
-
- -
- message: "#^Parameter \\#5 \\$sqlQuery of static method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportRaw\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$compression of method PhpMyAdmin\\Export\\Export\:\:getFinalFilenameAndMimetypeForFilename\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#5 \\$tableData of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportDatabase\\(\\) expects array\\, array given\\.$#"
+ message: '#^Parameter \#2 \$destCharset of static method PhpMyAdmin\\Encoding\:\:convertString\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#2 \$exportPlugin of static method PhpMyAdmin\\Export\\Export\:\:exportRaw\(\) expects PhpMyAdmin\\Plugins\\ExportPlugin, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#2 \$rememberTemplate of method PhpMyAdmin\\Export\\Export\:\:getFilenameAndMimetype\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#3 \$errorUrl of static method PhpMyAdmin\\Export\\Export\:\:exportRaw\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#3 \$exportPlugin of method PhpMyAdmin\\Export\\Export\:\:exportServer\(\) expects PhpMyAdmin\\Plugins\\ExportPlugin, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#3 \$exportPlugin of method PhpMyAdmin\\Export\\Export\:\:getFilenameAndMimetype\(\) expects PhpMyAdmin\\Plugins\\ExportPlugin, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#3 \$saveFilename of method PhpMyAdmin\\Export\\Export\:\:closeFile\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#4 \$compression of method PhpMyAdmin\\Export\\Export\:\:getFilenameAndMimetype\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#4 \$errorUrl of method PhpMyAdmin\\Export\\Export\:\:exportServer\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#4 \$exportPlugin of method PhpMyAdmin\\Export\\Export\:\:exportTable\(\) expects PhpMyAdmin\\Plugins\\ExportPlugin, object given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#6 \\$exportPlugin of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportDatabase\\(\\) expects PhpMyAdmin\\\\Plugins\\\\ExportPlugin, object given\\.$#"
+ message: '#^Parameter \#4 \$tableStructure of method PhpMyAdmin\\Export\\Export\:\:exportDatabase\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#6 \\$exportType of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportTable\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$errorUrl of method PhpMyAdmin\\Export\\Export\:\:exportTable\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#7 \\$errorUrl of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportDatabase\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$sqlQuery of static method PhpMyAdmin\\Export\\Export\:\:exportRaw\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#5 \$tableData of method PhpMyAdmin\\Export\\Export\:\:exportDatabase\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Export/ExportController.php
-
- message: "#^Parameter \\#8 \\$exportType of method PhpMyAdmin\\\\Export\\\\Export\\:\\:exportDatabase\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#6 \$exportPlugin of method PhpMyAdmin\\Export\\Export\:\:exportDatabase\(\) expects PhpMyAdmin\\Plugins\\ExportPlugin, object given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Export/ExportController.php
-
- message: "#^Property PhpMyAdmin\\\\Export\\\\Export\\:\\:\\$dumpBuffer \\(string\\) does not accept array\\|bool\\|string\\.$#"
+ message: '#^Parameter \#6 \$exportType of method PhpMyAdmin\\Export\\Export\:\:exportTable\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Export/ExportController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Parameter \#7 \$errorUrl of method PhpMyAdmin\\Export\\Export\:\:exportDatabase\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Parameter \#8 \$exportType of method PhpMyAdmin\\Export\\Export\:\:exportDatabase\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '#^Property PhpMyAdmin\\Export\\Export\:\:\$dumpBuffer \(string\) does not accept array\|bool\|string\.$#'
+ identifier: assign.propertyType
+ count: 2
+ path: src/Controllers/Export/ExportController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Export/Template/CreateController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Export/Template/DeleteController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Export/Template/LoadController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Export/Template/UpdateController.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 1
path: src/Controllers/GisDataEditorController.php
-
- message: "#^PHPDoc tag @var for variable \\$gisDataParam has no value type specified in iterable type array\\.$#"
+ message: '#^PHPDoc tag @var for variable \$gisDataParam has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
count: 1
path: src/Controllers/GisDataEditorController.php
-
- message: "#^Parameter \\#1 \\$showGitRevision of class PhpMyAdmin\\\\Git constructor expects bool, mixed given\\.$#"
+ message: '#^Parameter \#1 \$showGitRevision of class PhpMyAdmin\\Git constructor expects bool, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/GitInfoController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 3
path: src/Controllers/HomeController.php
-
- message: "#^Cannot access offset mixed on mixed\\.$#"
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/HomeController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 7
path: src/Controllers/HomeController.php
-
- message: "#^Only booleans are allowed in &&, string\\|false given on the right side\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
count: 1
path: src/Controllers/HomeController.php
-
- message: "#^Only booleans are allowed in \\|\\|, string\\|false given on the right side\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 6
+ path: src/Controllers/HomeController.php
+
+ -
+ message: '#^Only booleans are allowed in &&, string\|false given on the right side\.$#'
+ identifier: booleanAnd.rightNotBoolean
count: 1
path: src/Controllers/HomeController.php
-
- message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects PhpMyAdmin\\\\Message\\|string, mixed given\\.$#"
+ message: '#^Only booleans are allowed in \|\|, string\|false given on the right side\.$#'
+ identifier: booleanOr.rightNotBoolean
count: 1
path: src/Controllers/HomeController.php
-
- message: "#^Parameter \\#1 \\$showGitRevision of class PhpMyAdmin\\\\Git constructor expects bool, mixed given\\.$#"
+ message: '#^Parameter \#1 \$message of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects PhpMyAdmin\\Message\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/HomeController.php
-
- message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$showGitRevision of class PhpMyAdmin\\Git constructor expects bool, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/HomeController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/HomeController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Cannot access offset 'go_back_url' on mixed\\.$#"
+ message: '#^Cannot access offset ''go_back_url'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 4
path: src/Controllers/Import/ImportController.php
-
- message: "#^Cannot access offset 'message' on mixed\\.$#"
+ message: '#^Cannot access offset ''message'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 6
path: src/Controllers/Import/ImportController.php
-
- message: "#^Cannot access offset 'reload' on mixed\\.$#"
+ message: '#^Cannot access offset ''reload'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 5
path: src/Controllers/Import/ImportController.php
-
- message: "#^Cannot access offset 'table_name' on mixed\\.$#"
+ message: '#^Cannot access offset ''table_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Cannot call method getDisplay\\(\\) on mixed\\.$#"
+ message: '#^Cannot call method getDisplay\(\) on mixed\.$#'
+ identifier: method.nonObject
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Casting to string something that's already string\\.$#"
+ message: '#^Casting to string something that''s already string\.$#'
+ identifier: cast.useless
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 8
path: src/Controllers/Import/ImportController.php
-
- message: "#^If condition is always false\\.$#"
+ message: '#^If condition is always false\.$#'
+ identifier: if.alwaysFalse
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Left side of && is always false\\.$#"
+ message: '#^Left side of && is always false\.$#'
+ identifier: booleanAnd.leftAlwaysFalse
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Negated boolean expression is always true\\.$#"
- count: 1
- path: src/Controllers/Import/ImportController.php
-
- -
- message: "#^Parameter \\#1 \\$sqlQuery of method PhpMyAdmin\\\\Import\\\\Import\\:\\:handleRollbackRequest\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Import/ImportController.php
-
- -
- message: "#^Parameter \\#1 \\$sqlQuery of static method PhpMyAdmin\\\\ParseAnalyze\\:\\:sqlQuery\\(\\) expects string, mixed given\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
count: 2
path: src/Controllers/Import/ImportController.php
-
- message: "#^Parameter \\#1 \\$string of function mb_strlen expects string, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Parameter \\#11 \\$sqlQuery of method PhpMyAdmin\\\\Sql\\:\\:executeQueryAndGetQueryResponse\\(\\) expects string, mixed given\\.$#"
+ message: '#^Negated boolean expression is always true\.$#'
+ identifier: booleanNot.alwaysTrue
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Parameter \\#2 \\$size of method PhpMyAdmin\\\\Import\\\\Import\\:\\:getNextChunk\\(\\) expects int, float\\|int\\\\|int\\<1, max\\> given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
+ count: 5
+ path: src/Controllers/Import/ImportController.php
+
+ -
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$sqlQuery of method PhpMyAdmin\\Import\\Import\:\:handleRollbackRequest\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Parameter \\#2 \\$subject of function preg_match expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$sqlQuery of static method PhpMyAdmin\\ParseAnalyze\:\:sqlQuery\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Controllers/Import/ImportController.php
+
+ -
+ message: '#^Parameter \#1 \$string of function mb_strlen expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Import/ImportController.php
+
+ -
+ message: '#^Parameter \#11 \$sqlQuery of method PhpMyAdmin\\Sql\:\:executeQueryAndGetQueryResponse\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Import/ImportController.php
+
+ -
+ message: '#^Parameter \#2 \$size of method PhpMyAdmin\\Import\\Import\:\:getNextChunk\(\) expects int, float\|int\\|int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Import/ImportController.php
+
+ -
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Import/ImportController.php
+
+ -
+ message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
+ identifier: argument.type
count: 4
path: src/Controllers/Import/ImportController.php
-
- message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, \\(array\\\\|string\\|null\\) given\\.$#"
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, \(list\\|string\|null\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Parameter \\#4 \\$backUrl of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:mysqlDie\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$backUrl of static method PhpMyAdmin\\Html\\Generator\:\:mysqlDie\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Import/ImportController.php
-
- message: "#^Parameter \\#5 \\$exit of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:mysqlDie\\(\\) expects bool, mixed given\\.$#"
+ message: '#^Parameter \#5 \$exit of static method PhpMyAdmin\\Html\\Generator\:\:mysqlDie\(\) expects bool, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Result of \\|\\| is always true\\.$#"
+ message: '#^Result of \|\| is always true\.$#'
+ identifier: booleanOr.alwaysTrue
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Static property PhpMyAdmin\\\\Import\\\\ImportSettings\\:\\:\\$importType \\(''\\|'database'\\|'query'\\|'server'\\|'table'\\) does not accept string\\.$#"
+ message: '#^Static property PhpMyAdmin\\Import\\ImportSettings\:\:\$importType \(''''\|''database''\|''query''\|''server''\|''table''\) does not accept string\.$#'
+ identifier: assign.propertyType
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Static property PhpMyAdmin\\\\Import\\\\ImportSettings\\:\\:\\$readLimit \\(int\\) does not accept float\\|int\\\\|int\\<1, max\\>\\.$#"
+ message: '#^Static property PhpMyAdmin\\Import\\ImportSettings\:\:\$readLimit \(int\) does not accept float\|int\\|int\<1, max\>\.$#'
+ identifier: assign.propertyType
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Strict comparison using \\=\\=\\= between 0 and 0 will always evaluate to true\\.$#"
+ message: '#^Strict comparison using \=\=\= between 0 and 0 will always evaluate to true\.$#'
+ identifier: identical.alwaysTrue
count: 1
path: src/Controllers/Import/ImportController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Import/SimulateDmlController.php
-
- message: "#^Parameter \\#1 \\$query of method PhpMyAdmin\\\\Controllers\\\\Import\\\\SimulateDmlController\\:\\:createParser\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$query of method PhpMyAdmin\\Controllers\\Import\\SimulateDmlController\:\:createParser\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Import/SimulateDmlController.php
-
- message: "#^Cannot access offset 'go_back_url' on mixed\\.$#"
+ message: '#^Cannot access offset ''go_back_url'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Import/StatusController.php
-
- message: "#^Cannot access offset 'message' on mixed\\.$#"
+ message: '#^Cannot access offset ''message'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 3
path: src/Controllers/Import/StatusController.php
-
- message: "#^Parameter \\#1 \\$id of static method PhpMyAdmin\\\\Import\\\\Ajax\\:\\:status\\(\\) expects string, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 1
path: src/Controllers/Import/StatusController.php
-
- message: "#^Parameter \\#1 \\(mixed\\) of echo cannot be converted to string\\.$#"
+ message: '#^Parameter \#1 \$id of static method PhpMyAdmin\\Import\\Ajax\:\:status\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Import/StatusController.php
-
- message: "#^Parameter \\#1 \\$filename of function is_readable expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
+ identifier: echo.nonString
+ count: 1
+ path: src/Controllers/Import/StatusController.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function is_readable expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/LicenseController.php
-
- message: "#^Parameter \\#1 \\$filename of function readfile expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$filename of function readfile expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/LicenseController.php
-
- message: "#^Parameter \\#1 \\$path of function basename expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of function basename expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/LicenseController.php
-
- message: "#^Parameter \\#1 \\$partialDependencies of method PhpMyAdmin\\\\Normalization\\:\\:createNewTablesFor2NF\\(\\) expects array, mixed given\\.$#"
+ message: '#^Only booleans are allowed in \|\|, mixed given on the right side\.$#'
+ identifier: booleanOr.rightNotBoolean
+ count: 1
+ path: src/Controllers/LogoutController.php
+
+ -
+ message: '#^Parameter \#1 \$partialDependencies of method PhpMyAdmin\\Normalization\:\:createNewTablesFor2NF\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Normalization/SecondNormalForm/CreateNewTablesController.php
-
- message: "#^Parameter \\#2 \\$tablesName of method PhpMyAdmin\\\\Normalization\\:\\:createNewTablesFor2NF\\(\\) expects object, mixed given\\.$#"
+ message: '#^Parameter \#2 \$tablesName of method PhpMyAdmin\\Normalization\:\:createNewTablesFor2NF\(\) expects object, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Normalization/SecondNormalForm/CreateNewTablesController.php
-
- message: "#^Parameter \\#1 \\$partialDependencies of method PhpMyAdmin\\\\Normalization\\:\\:getHtmlForNewTables2NF\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$partialDependencies of method PhpMyAdmin\\Normalization\:\:getHtmlForNewTables2NF\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Normalization/SecondNormalForm/NewTablesController.php
-
- message: "#^Parameter \\#1 \\$newTables of method PhpMyAdmin\\\\Normalization\\:\\:createNewTablesFor3NF\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$newTables of method PhpMyAdmin\\Normalization\:\:createNewTablesFor3NF\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Normalization/ThirdNormalForm/CreateNewTablesController.php
-
- message: "#^Parameter \\#2 \\$tables of method PhpMyAdmin\\\\Normalization\\:\\:getHtmlFor3NFstep1\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#2 \$tables of method PhpMyAdmin\\Normalization\:\:getHtmlFor3NFstep1\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Normalization/ThirdNormalForm/FirstStepController.php
-
- message: "#^Parameter \\#1 \\$dependencies of method PhpMyAdmin\\\\Normalization\\:\\:getHtmlForNewTables3NF\\(\\) expects object, mixed given\\.$#"
+ message: '#^Parameter \#1 \$dependencies of method PhpMyAdmin\\Normalization\:\:getHtmlForNewTables3NF\(\) expects object, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Normalization/ThirdNormalForm/NewTablesController.php
-
- message: "#^Parameter \\#2 \\$tables of method PhpMyAdmin\\\\Normalization\\:\\:getHtmlForNewTables3NF\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#2 \$tables of method PhpMyAdmin\\Normalization\:\:getHtmlForNewTables3NF\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Normalization/ThirdNormalForm/NewTablesController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Operations/Database/CollationController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Operations/DatabaseController.php
-
- message: "#^Cannot call method isSuccess\\(\\) on mixed\\.$#"
+ message: '#^Cannot call method isSuccess\(\) on mixed\.$#'
+ identifier: method.nonObject
count: 1
path: src/Controllers/Operations/DatabaseController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Operations/DatabaseController.php
-
- message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects PhpMyAdmin\\\\Message\\|string, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 1
path: src/Controllers/Operations/DatabaseController.php
-
- message: "#^Parameter \\#1 \\$state of method PhpMyAdmin\\\\ResponseRenderer\\:\\:setRequestStatus\\(\\) expects bool, mixed given\\.$#"
+ message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
+ identifier: booleanAnd.rightNotBoolean
count: 1
path: src/Controllers/Operations/DatabaseController.php
-
- message: "#^Parameter \\#2 \\$exportSqlPlugin of method PhpMyAdmin\\\\Operations\\:\\:getViewsAndCreateSqlViewStandIn\\(\\) expects PhpMyAdmin\\\\Plugins\\\\Export\\\\ExportSql, object\\|null given\\.$#"
+ message: '#^Parameter \#1 \$message of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects PhpMyAdmin\\Message\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Operations/DatabaseController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$state of method PhpMyAdmin\\ResponseRenderer\:\:setRequestStatus\(\) expects bool, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Operations/DatabaseController.php
+
+ -
+ message: '#^Parameter \#2 \$exportSqlPlugin of method PhpMyAdmin\\Operations\:\:getViewsAndCreateSqlViewStandIn\(\) expects PhpMyAdmin\\Plugins\\Export\\ExportSql, object\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Operations/DatabaseController.php
+
+ -
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Operations/DatabaseController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Operations/TableController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 9
path: src/Controllers/Operations/TableController.php
-
- message: "#^Only booleans are allowed in &&, mixed given on the right side\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
count: 1
path: src/Controllers/Operations/TableController.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 4
+ path: src/Controllers/Operations/TableController.php
+
+ -
+ message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
+ identifier: booleanAnd.rightNotBoolean
+ count: 2
+ path: src/Controllers/Operations/TableController.php
+
+ -
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Controllers/Operations/TableController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 3
path: src/Controllers/Operations/TableController.php
-
- message: "#^Parameter \\#3 \\$partitionNames of static method PhpMyAdmin\\\\Query\\\\Generator\\:\\:getQueryForPartitioningTable\\(\\) expects array\\, array given\\.$#"
+ message: '#^Parameter \#3 \$partitionNames of static method PhpMyAdmin\\Query\\Generator\:\:getQueryForPartitioningTable\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Operations/TableController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Operations/ViewController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Operations/ViewController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Preferences/ExportController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Preferences/FeaturesController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Preferences/ImportController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Preferences/MainPanelController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Preferences/ManageController.php
-
- message: "#^Only booleans are allowed in an if condition, PhpMyAdmin\\\\Message\\|string given\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
+ count: 2
+ path: src/Controllers/Preferences/ManageController.php
+
+ -
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 1
path: src/Controllers/Preferences/ManageController.php
-
- message: "#^Only numeric types are allowed in \\+, int\\<0, max\\>\\|false given on the left side\\.$#"
+ message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Message\|string given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Controllers/Preferences/ManageController.php
-
- message: "#^Parameter \\#1 \\$fileName of method PhpMyAdmin\\\\UserPreferences\\:\\:redirect\\(\\) expects string, string\\|false given\\.$#"
+ message: '#^Only numeric types are allowed in \+, int\<0, max\>\|false given on the left side\.$#'
+ identifier: plus.leftNonNumeric
count: 1
path: src/Controllers/Preferences/ManageController.php
-
- message: "#^Parameter \\#1 \\$filename of function file_exists expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$fileName of method PhpMyAdmin\\UserPreferences\:\:redirect\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Preferences/ManageController.php
-
- message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#"
+ message: '#^Parameter \#1 \$filename of function file_exists expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Preferences/ManageController.php
-
- message: "#^Parameter \\#1 \\$theme of method PhpMyAdmin\\\\Theme\\\\ThemeManager\\:\\:checkTheme\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Preferences/ManageController.php
-
- message: "#^Parameter \\#1 \\$theme of method PhpMyAdmin\\\\Theme\\\\ThemeManager\\:\\:setActiveTheme\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$theme of method PhpMyAdmin\\Theme\\ThemeManager\:\:checkTheme\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Preferences/ManageController.php
-
- message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#1 \$theme of method PhpMyAdmin\\Theme\\ThemeManager\:\:setActiveTheme\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Preferences/ManageController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, \(int\|string\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Preferences/ManageController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Preferences/NavigationController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Preferences/SqlController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Preferences/TwoFactorController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Server/BinlogController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Server/CollationsController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Server/Databases/CreateController.php
-
- message: "#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Controllers/Server/Databases/CreateController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Server/Databases/DestroyController.php
-
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\ConfigStorage\\\\RelationCleanup\\:\\:database\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\ConfigStorage\\RelationCleanup\:\:database\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/Databases/DestroyController.php
-
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\Transformations\\:\\:clear\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Transformations\:\:clear\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/Databases/DestroyController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/Databases/DestroyController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 2
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#"
+ message: '#^Call to function array_search\(\) requires parameter \#3 to be set\.$#'
+ identifier: function.strict
count: 4
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Cannot access offset 'DEFAULT_COLLATION…' on mixed\\.$#"
+ message: '#^Cannot access offset ''DEFAULT_COLLATION_NAME'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Cannot access offset 'SCHEMA_NAME' on mixed\\.$#"
+ message: '#^Cannot access offset ''SCHEMA_NAME'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 10
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Cannot access offset string on mixed\\.$#"
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 3
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 4
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Parameter \\#1 \\$params of static method PhpMyAdmin\\\\Url\\:\\:getCommonRaw\\(\\) expects array\\, array\\ given\\.$#"
+ message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommonRaw\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Parameter \\#1 \\$schemaName of static method PhpMyAdmin\\\\Query\\\\Utilities\\:\\:isSystemSchema\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$schemaName of static method PhpMyAdmin\\Query\\Utilities\:\:isSystemSchema\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Parameter \\#2 \\$haystack of function array_search expects array, mixed given\\.$#"
+ message: '#^Parameter \#2 \$haystack of function array_search expects array, mixed given\.$#'
+ identifier: argument.type
count: 4
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Parameter \\#3 \\$name of static method PhpMyAdmin\\\\Charsets\\:\\:findCollationByName\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Charsets\:\:findCollationByName\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/DatabasesController.php
-
- message: "#^Parameter \\#1 \\$tmpSelect of method PhpMyAdmin\\\\Export\\\\Options\\:\\:getDatabasesForSelectOptions\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$tmpSelect of method PhpMyAdmin\\Export\\Options\:\:getDatabasesForSelectOptions\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/ExportController.php
-
- message: "#^Parameter \\#4 \\$sqlQuery of method PhpMyAdmin\\\\Export\\\\Options\\:\\:getOptions\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$sqlQuery of method PhpMyAdmin\\Export\\Options\:\:getOptions\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/ExportController.php
-
- message: "#^Parameter \\#5 \\$numTables of method PhpMyAdmin\\\\Export\\\\Options\\:\\:getOptions\\(\\) expects int\\|string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$numTables of method PhpMyAdmin\\Export\\Options\:\:getOptions\(\) expects int\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/ExportController.php
-
- message: "#^Parameter \\#6 \\$unlimNumRows of method PhpMyAdmin\\\\Export\\\\Options\\:\\:getOptions\\(\\) expects int\\|string, mixed given\\.$#"
+ message: '#^Parameter \#6 \$unlimNumRows of method PhpMyAdmin\\Export\\Options\:\:getOptions\(\) expects int\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/ExportController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Server/ImportController.php
-
- message: "#^Cannot access offset 'handler' on mixed\\.$#"
+ message: '#^Cannot access offset ''handler'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Controllers/Server/ImportController.php
-
- message: "#^Cannot call static method getIdKey\\(\\) on mixed\\.$#"
+ message: '#^Cannot call static method getIdKey\(\) on mixed\.$#'
+ identifier: staticMethod.nonObject
count: 1
path: src/Controllers/Server/ImportController.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 1
path: src/Controllers/Server/ImportController.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 1
path: src/Controllers/Server/ImportController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 5
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Method PhpMyAdmin\\\\Controllers\\\\Server\\\\PrivilegesController\\:\\:getExportPageTitle\\(\\) has parameter \\$selectedUsers with no value type specified in iterable type array\\.$#"
- count: 1
- path: src/Controllers/Server/PrivilegesController.php
-
- -
- message: "#^Parameter \\#1 \\$errorUrl of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:updatePassword\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Server/PrivilegesController.php
-
- -
- message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects PhpMyAdmin\\\\Message\\|string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Server/PrivilegesController.php
-
- -
- message: "#^Parameter \\#1 \\$username of method PhpMyAdmin\\\\Controllers\\\\Server\\\\PrivilegesController\\:\\:getExportPageTitle\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Server/PrivilegesController.php
-
- -
- message: "#^Parameter \\#1 \\$username of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getExportUserDefinitionTextarea\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Server/PrivilegesController.php
-
- -
- message: "#^Parameter \\#1 \\$username of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getHtmlForRoutineSpecificPrivileges\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Server/PrivilegesController.php
-
- -
- message: "#^Parameter \\#1 \\$username of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:setUserGroup\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Controllers/Server/PrivilegesController.php
-
- -
- message: "#^Parameter \\#1 \\$username of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:updatePrivileges\\(\\) expects string, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 2
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#2 \\$globalHostname of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getHostname\\(\\) expects string, mixed given\\.$#"
+ message: '#^Method PhpMyAdmin\\Controllers\\Server\\PrivilegesController\:\:getExportPageTitle\(\) has parameter \$selectedUsers with no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#2 \\$hostname of method PhpMyAdmin\\\\Controllers\\\\Server\\\\PrivilegesController\\:\\:getExportPageTitle\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$errorUrl of method PhpMyAdmin\\Server\\Privileges\:\:updatePassword\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#2 \\$hostname of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getExportUserDefinitionTextarea\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$message of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects PhpMyAdmin\\Message\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#2 \\$hostname of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getHtmlForRoutineSpecificPrivileges\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$username of method PhpMyAdmin\\Controllers\\Server\\PrivilegesController\:\:getExportPageTitle\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#2 \\$hostname of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:updatePrivileges\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$username of method PhpMyAdmin\\Server\\Privileges\:\:getExportUserDefinitionTextarea\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Server/PrivilegesController.php
+
+ -
+ message: '#^Parameter \#1 \$username of method PhpMyAdmin\\Server\\Privileges\:\:getHtmlForRoutineSpecificPrivileges\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Server/PrivilegesController.php
+
+ -
+ message: '#^Parameter \#1 \$username of method PhpMyAdmin\\Server\\Privileges\:\:setUserGroup\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Server/PrivilegesController.php
+
+ -
+ message: '#^Parameter \#1 \$username of method PhpMyAdmin\\Server\\Privileges\:\:updatePrivileges\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#2 \\$initial of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getHtmlForUserOverview\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$globalHostname of method PhpMyAdmin\\Server\\Privileges\:\:getHostname\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getExtraDataForAjaxBehavior\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$hostname of method PhpMyAdmin\\Controllers\\Server\\PrivilegesController\:\:getExportPageTitle\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#2 \\$username of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:addUser\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$hostname of method PhpMyAdmin\\Server\\Privileges\:\:getExportUserDefinitionTextarea\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#2 \\$username of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getDbSpecificPrivsQueriesForChangeOrCopyUser\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$hostname of method PhpMyAdmin\\Server\\Privileges\:\:getHtmlForRoutineSpecificPrivileges\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#2 \\$username of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:updatePassword\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$hostname of method PhpMyAdmin\\Server\\Privileges\:\:updatePrivileges\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Controllers/Server/PrivilegesController.php
+
+ -
+ message: '#^Parameter \#2 \$initial of method PhpMyAdmin\\Server\\Privileges\:\:getHtmlForUserOverview\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#3 \\$hostname of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getDbSpecificPrivsQueriesForChangeOrCopyUser\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$sqlQuery of method PhpMyAdmin\\Server\\Privileges\:\:getExtraDataForAjaxBehavior\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#3 \\$hostname of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getExtraDataForAjaxBehavior\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$username of method PhpMyAdmin\\Server\\Privileges\:\:addUser\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#3 \\$hostname of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:updatePassword\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$username of method PhpMyAdmin\\Server\\Privileges\:\:getDbSpecificPrivsQueriesForChangeOrCopyUser\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#3 \\$username of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getHtmlForUserProperties\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$username of method PhpMyAdmin\\Server\\Privileges\:\:updatePassword\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#3 \\$username of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getMessageAndSqlQueryForPrivilegesRevoke\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$hostname of method PhpMyAdmin\\Server\\Privileges\:\:getDbSpecificPrivsQueriesForChangeOrCopyUser\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#4 \\$hostname of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getHtmlForUserProperties\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$hostname of method PhpMyAdmin\\Server\\Privileges\:\:getExtraDataForAjaxBehavior\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#4 \\$hostname of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getMessageAndSqlQueryForPrivilegesRevoke\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$hostname of method PhpMyAdmin\\Server\\Privileges\:\:updatePassword\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Parameter \\#4 \\$username of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:getExtraDataForAjaxBehavior\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$username of method PhpMyAdmin\\Server\\Privileges\:\:getHtmlForUserProperties\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/PrivilegesController.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Parameter \#3 \$username of method PhpMyAdmin\\Server\\Privileges\:\:getMessageAndSqlQueryForPrivilegesRevoke\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Server/PrivilegesController.php
+
+ -
+ message: '#^Parameter \#4 \$hostname of method PhpMyAdmin\\Server\\Privileges\:\:getHtmlForUserProperties\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Server/PrivilegesController.php
+
+ -
+ message: '#^Parameter \#4 \$hostname of method PhpMyAdmin\\Server\\Privileges\:\:getMessageAndSqlQueryForPrivilegesRevoke\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Server/PrivilegesController.php
+
+ -
+ message: '#^Parameter \#4 \$username of method PhpMyAdmin\\Server\\Privileges\:\:getExtraDataForAjaxBehavior\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Server/PrivilegesController.php
+
+ -
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Controllers/Server/ReplicationController.php
-
- message: "#^Parameter \\#2 \\$serverReplicaStatus of method PhpMyAdmin\\\\Replication\\\\ReplicationGui\\:\\:getHtmlForReplicaConfiguration\\(\\) expects bool, mixed given\\.$#"
+ message: '#^Parameter \#2 \$serverReplicaStatus of method PhpMyAdmin\\Replication\\ReplicationGui\:\:getHtmlForReplicaConfiguration\(\) expects bool, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/ReplicationController.php
-
- message: "#^Static property PhpMyAdmin\\\\UrlParams\\:\\:\\$params \\(array\\\\) does not accept array\\.$#"
+ message: '#^Static property PhpMyAdmin\\UrlParams\:\:\$params \(array\\) does not accept array\\.$#'
+ identifier: assign.propertyType
count: 1
path: src/Controllers/Server/ReplicationController.php
-
- message: "#^Only booleans are allowed in an if condition, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Controllers/Server/Status/Processes/KillController.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Binary operation "\*" between mixed and \(float\|int\) results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Server/Status/QueriesController.php
-
- message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, \\(int\\|string\\) given\\.$#"
+ message: '#^Binary operation "\*" between mixed and 100 results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Server/Status/QueriesController.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Binary operation "\+\=" between float\|int and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Controllers/Server/Status/QueriesController.php
+
+ -
+ message: '#^Binary operation "/" between \(float\|int\) and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: src/Controllers/Server/Status/QueriesController.php
+
+ -
+ message: '#^Binary operation "/" between 3600 and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Controllers/Server/Status/QueriesController.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Controllers/Server/Status/QueriesController.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, \(int\|string\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Server/Status/QueriesController.php
+
+ -
+ message: '#^Binary operation "\*" between \(array\|float\|int\) and \(float\|int\) results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Server/Status/StatusController.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Binary operation "\*" between mixed and \(float\|int\) results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 5
+ path: src/Controllers/Server/Status/StatusController.php
+
+ -
+ message: '#^Binary operation "\*" between mixed and 100 results in an error\.$#'
+ identifier: binaryOp.invalid
count: 2
path: src/Controllers/Server/Status/StatusController.php
-
- message: "#^Parameter \\#1 \\$value of static method PhpMyAdmin\\\\Util\\:\\:formatByteDown\\(\\) expects float\\|int\\|string\\|null, \\(array\\|float\\|int\\) given\\.$#"
+ message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 3
+ path: src/Controllers/Server/Status/StatusController.php
+
+ -
+ message: '#^Binary operation "\." between ''SELECT UNIX…'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Controllers/Server/Status/StatusController.php
+
+ -
+ message: '#^Binary operation "/" between \(float\|int\) and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 2
path: src/Controllers/Server/Status/StatusController.php
-
- message: "#^Parameter \\#1 \\$value of static method PhpMyAdmin\\\\Util\\:\\:formatByteDown\\(\\) expects float\\|int\\|string\\|null, mixed given\\.$#"
+ message: '#^Binary operation "/" between 3600 and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 2
path: src/Controllers/Server/Status/StatusController.php
-
- message: "#^Parameter \\#1 \\$value of static method PhpMyAdmin\\\\Util\\:\\:formatNumber\\(\\) expects float\\|int\\|string, mixed given\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Controllers/Server/Status/StatusController.php
+
+ -
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
+ count: 2
+ path: src/Controllers/Server/Status/StatusController.php
+
+ -
+ message: '#^Only numeric types are allowed in \*, \(array\|float\|int\) given on the left side\.$#'
+ identifier: mul.leftNonNumeric
+ count: 1
+ path: src/Controllers/Server/Status/StatusController.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatByteDown\(\) expects float\|int\|string\|null, \(array\|float\|int\) given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Controllers/Server/Status/StatusController.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatByteDown\(\) expects float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Controllers/Server/Status/StatusController.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatNumber\(\) expects float\|int\|string, mixed given\.$#'
+ identifier: argument.type
count: 4
path: src/Controllers/Server/Status/StatusController.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Controllers/Server/Status/VariablesController.php
-
- message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#"
+ message: '#^Binary operation "\*" between 0\.01 and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Server/Status/VariablesController.php
-
- message: "#^Parameter \\#1 \\$flush of method PhpMyAdmin\\\\Controllers\\\\Server\\\\Status\\\\VariablesController\\:\\:flush\\(\\) expects string, mixed given\\.$#"
+ message: '#^Binary operation "\*" between 0\.9 and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Server/Status/VariablesController.php
-
- message: "#^Parameter \\#1 \\$haystack of function str_contains expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Binary operation "\*" between 0\.95 and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Server/Status/VariablesController.php
-
- message: "#^Parameter \\#1 \\$name of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:linkToVarDocumentation\\(\\) expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Binary operation "/" between mixed and 5 results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Server/Status/VariablesController.php
-
- message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Controllers/Server/Status/VariablesController.php
-
- message: "#^Only booleans are allowed in an if condition, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Parameter \#1 \$flush of method PhpMyAdmin\\Controllers\\Server\\Status\\VariablesController\:\:flush\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Server/Status/VariablesController.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function str_contains expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Server/Status/VariablesController.php
+
+ -
+ message: '#^Parameter \#1 \$name of static method PhpMyAdmin\\Html\\Generator\:\:linkToVarDocumentation\(\) expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Server/Status/VariablesController.php
+
+ -
+ message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
+ identifier: ternary.shortNotAllowed
+ count: 1
+ path: src/Controllers/Server/Status/VariablesController.php
+
+ -
+ message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Controllers/Server/UserGroupsFormController.php
-
- message: "#^Offset 1 does not exist on array\\\\|null\\.$#"
+ message: '#^Offset 1 might not exist on array\\|null\.$#'
+ identifier: offsetAccess.notFound
count: 2
path: src/Controllers/Server/Variables/GetVariableController.php
-
- message: "#^Offset 1 does not exist on array\\\\|null\\.$#"
+ message: '#^Offset 1 might not exist on array\\|null\.$#'
+ identifier: offsetAccess.notFound
count: 1
path: src/Controllers/Server/Variables/SetVariableController.php
-
- message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, int\\|string given\\.$#"
+ message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, int\|string given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/Variables/SetVariableController.php
-
- message: "#^Parameter \\#2 \\$value of method PhpMyAdmin\\\\Controllers\\\\Server\\\\Variables\\\\SetVariableController\\:\\:formatVariable\\(\\) expects int\\|string, string\\|null given\\.$#"
+ message: '#^Parameter \#2 \$value of method PhpMyAdmin\\Controllers\\Server\\Variables\\SetVariableController\:\:formatVariable\(\) expects int\|string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Server/Variables/SetVariableController.php
-
- message: "#^Parameter \\#1 \\$filename of function file_exists expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$filename of function file_exists expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Setup/ConfigController.php
-
- message: "#^Parameter \\#1 \\$filename of function file_exists expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$filename of function file_exists expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Setup/FormController.php
-
- message: "#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in a ternary operator condition, mixed given\.$#'
+ identifier: ternary.condNotBoolean
count: 1
path: src/Controllers/Setup/HomeController.php
-
- message: "#^Parameter \\#1 \\$filename of function file_exists expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$filename of function file_exists expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Setup/HomeController.php
-
- message: "#^Parameter \\#1 \\$id of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getServerName\\(\\) expects int, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#1 \$id of method PhpMyAdmin\\Config\\ConfigFile\:\:getServerName\(\) expects int, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Setup/HomeController.php
-
- message: "#^Parameter \\#1 \\$server of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getServerDSN\\(\\) expects int, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#1 \$server of method PhpMyAdmin\\Config\\ConfigFile\:\:getServerDSN\(\) expects int, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Setup/HomeController.php
-
- message: "#^Parameter \\#1 \\$filename of function file_exists expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$filename of function file_exists expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Setup/ServerDestroyController.php
-
- message: "#^Parameter \\#1 \\$filename of function file_exists expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$filename of function file_exists expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Setup/ServersController.php
-
- message: "#^Parameter \\#1 \\$filename of function file_exists expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$filename of function file_exists expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Setup/ShowConfigController.php
-
- message: "#^Parameter \\#1 \\$filename of function file_exists expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$filename of function file_exists expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Setup/ValidateController.php
-
- message: "#^Cannot access offset 'relational_display' on mixed\\.$#"
+ message: '#^Cannot access offset ''relational_display'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Sql/RelationalValuesController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Cannot access offset 'reload' on mixed\\.$#"
+ message: '#^Cannot access offset ''reload'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Only booleans are allowed in an if condition, bool\\|null given\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
+ count: 3
+ path: src/Controllers/Sql/SqlController.php
+
+ -
+ message: '#^Only booleans are allowed in an if condition, bool\|null given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Parameter \\#1 \\$sqlQuery of static method PhpMyAdmin\\\\Core\\:\\:checkSqlQuerySignature\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$sqlQuery of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Parameter \\#1 \\$sqlQuery of static method PhpMyAdmin\\\\ParseAnalyze\\:\\:sqlQuery\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$sqlQuery of static method PhpMyAdmin\\ParseAnalyze\:\:sqlQuery\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Parameter \\#10 \\$dispMessage of method PhpMyAdmin\\\\Sql\\:\\:executeQueryAndSendQueryResponse\\(\\) expects PhpMyAdmin\\\\Message\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#10 \$dispMessage of method PhpMyAdmin\\Sql\:\:executeQueryAndSendQueryResponse\(\) expects PhpMyAdmin\\Message\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Parameter \\#11 \\$sqlQuery of method PhpMyAdmin\\\\Sql\\:\\:executeQueryAndSendQueryResponse\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#11 \$sqlQuery of method PhpMyAdmin\\Sql\:\:executeQueryAndSendQueryResponse\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Parameter \\#12 \\$completeQuery of method PhpMyAdmin\\\\Sql\\:\\:executeQueryAndSendQueryResponse\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#12 \$completeQuery of method PhpMyAdmin\\Sql\:\:executeQueryAndSendQueryResponse\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Parameter \\#2 \\$signature of static method PhpMyAdmin\\\\Core\\:\\:checkSqlQuerySignature\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$signature of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Parameter \\#4 \\$backUrl of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:mysqlDie\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$backUrl of static method PhpMyAdmin\\Html\\Generator\:\:mysqlDie\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Parameter \\#5 \\$sqlQueryForBookmark of method PhpMyAdmin\\\\Sql\\:\\:executeQueryAndSendQueryResponse\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#5 \$sqlQueryForBookmark of method PhpMyAdmin\\Sql\:\:executeQueryAndSendQueryResponse\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Parameter \\#6 \\$messageToShow of method PhpMyAdmin\\\\Sql\\:\\:executeQueryAndSendQueryResponse\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#6 \$messageToShow of method PhpMyAdmin\\Sql\:\:executeQueryAndSendQueryResponse\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Parameter \\#9 \\$dispQuery of method PhpMyAdmin\\\\Sql\\:\\:executeQueryAndSendQueryResponse\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#9 \$dispQuery of method PhpMyAdmin\\Sql\:\:executeQueryAndSendQueryResponse\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Sql/SqlController.php
-
- message: "#^Cannot access offset \\(int\\|string\\) on mixed\\.$#"
+ message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 5
path: src/Controllers/Table/AddFieldController.php
-
- message: "#^Parameter \\#1 \\$string of function strlen expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function strlen expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/AddFieldController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/AddFieldController.php
-
- message: "#^Parameter \\#3 \\$errorUrl of method PhpMyAdmin\\\\CreateAddField\\:\\:tryColumnCreationQuery\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$errorUrl of method PhpMyAdmin\\CreateAddField\:\:tryColumnCreationQuery\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/AddFieldController.php
-
- message: "#^Parameter \\#3 \\$key of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$key of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/AddFieldController.php
-
- message: "#^Parameter \\#4 \\$backUrl of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:mysqlDie\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$backUrl of static method PhpMyAdmin\\Html\\Generator\:\:mysqlDie\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/AddFieldController.php
-
- message: "#^Parameter \\#4 \\$mimetype of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$mimetype of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/AddFieldController.php
-
- message: "#^Parameter \\#5 \\$transformation of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$transformation of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/AddFieldController.php
-
- message: "#^Parameter \\#6 \\$transformationOpts of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#6 \$transformationOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/AddFieldController.php
-
- message: "#^Parameter \\#7 \\$inputTransform of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#7 \$inputTransform of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/AddFieldController.php
-
- message: "#^Parameter \\#8 \\$inputTransformOpts of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#8 \$inputTransformOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/AddFieldController.php
-
- message: "#^Cannot access offset \\(int\\|string\\) on mixed\\.$#"
+ message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 2
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#1 \\$files of method PhpMyAdmin\\\\ResponseRenderer\\:\\:addScriptFiles\\(\\) expects array\\, mixed given\\.$#"
+ message: '#^Parameter \#1 \$files of method PhpMyAdmin\\ResponseRenderer\:\:addScriptFiles\(\) expects list\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects PhpMyAdmin\\\\Message\\|string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$message of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects PhpMyAdmin\\Message\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#1 \\$rowId of method PhpMyAdmin\\\\InsertEdit\\:\\:getHtmlForIgnoreOption\\(\\) expects int, \\(int\\<1, max\\>\\|string\\) given\\.$#"
+ message: '#^Parameter \#1 \$rowId of method PhpMyAdmin\\InsertEdit\:\:getHtmlForIgnoreOption\(\) expects int, \(int\<1, max\>\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#1 \\$sqlQuery of static method PhpMyAdmin\\\\Core\\:\\:checkSqlQuerySignature\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$sqlQuery of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#1 \\$whereClause of method PhpMyAdmin\\\\InsertEdit\\:\\:determineInsertOrEdit\\(\\) expects array\\\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$whereClause of method PhpMyAdmin\\InsertEdit\:\:determineInsertOrEdit\(\) expects array\\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#1 \\$whereClause of static method PhpMyAdmin\\\\InsertEdit\\:\\:isWhereClauseNumeric\\(\\) expects array\\\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$whereClause of static method PhpMyAdmin\\InsertEdit\:\:isWhereClauseNumeric\(\) expects array\\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#11 \\$rowId of method PhpMyAdmin\\\\InsertEdit\\:\\:getHtmlForInsertEditRow\\(\\) expects int, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#11 \$rowId of method PhpMyAdmin\\InsertEdit\:\:getHtmlForInsertEditRow\(\) expects int, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#12 \\$repopulate of method PhpMyAdmin\\\\InsertEdit\\:\\:getHtmlForInsertEditRow\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#12 \$repopulate of method PhpMyAdmin\\InsertEdit\:\:getHtmlForInsertEditRow\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#2 \\$isUpload of method PhpMyAdmin\\\\InsertEdit\\:\\:getHtmlForInsertEditFormHeader\\(\\) expects bool, mixed given\\.$#"
+ message: '#^Parameter \#2 \$isUpload of method PhpMyAdmin\\InsertEdit\:\:getHtmlForInsertEditFormHeader\(\) expects bool, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#2 \\$signature of static method PhpMyAdmin\\\\Core\\:\\:checkSqlQuerySignature\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$signature of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#4 \\$currentResult of method PhpMyAdmin\\\\InsertEdit\\:\\:getHtmlForInsertEditRow\\(\\) expects PhpMyAdmin\\\\Dbal\\\\ResultInterface, array\\\\|PhpMyAdmin\\\\Dbal\\\\ResultInterface given\\.$#"
+ message: '#^Parameter \#4 \$currentResult of method PhpMyAdmin\\InsertEdit\:\:getHtmlForInsertEditRow\(\) expects PhpMyAdmin\\Dbal\\ResultInterface, array\\|PhpMyAdmin\\Dbal\\ResultInterface given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#4 \\$errorUrl of method PhpMyAdmin\\\\InsertEdit\\:\\:getContinueInsertionForm\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$errorUrl of method PhpMyAdmin\\InsertEdit\:\:getContinueInsertionForm\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Parameter \\#7 \\$isUpload of method PhpMyAdmin\\\\InsertEdit\\:\\:getHtmlForInsertEditRow\\(\\) expects bool, mixed given\\.$#"
+ message: '#^Parameter \#7 \$isUpload of method PhpMyAdmin\\InsertEdit\:\:getHtmlForInsertEditRow\(\) expects bool, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
+ message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
+ identifier: ternary.shortNotAllowed
count: 1
path: src/Controllers/Table/ChangeController.php
-
- message: "#^Binary operation \"\\+\" between int\\|string and mixed results in an error\\.$#"
+ message: '#^Binary operation "\+" between int\|string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Table/ChartController.php
-
- message: "#^Binary operation \"\\-\" between int\\|string and mixed results in an error\\.$#"
+ message: '#^Binary operation "\-" between int\|string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Table/ChartController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 2
path: src/Controllers/Table/ChartController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Table/ChartController.php
-
- message: "#^Parameter \\#1 \\$list of class PhpMyAdmin\\\\SqlParser\\\\Parser constructor expects PhpMyAdmin\\\\SqlParser\\\\TokensList\\|PhpMyAdmin\\\\SqlParser\\\\UtfString\\|string\\|null, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 1
path: src/Controllers/Table/ChartController.php
-
- message: "#^Parameter \\#1 \\$query of method PhpMyAdmin\\\\DatabaseInterface\\:\\:tryQuery\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$list of class PhpMyAdmin\\SqlParser\\Parser constructor expects PhpMyAdmin\\SqlParser\\TokensList\|PhpMyAdmin\\SqlParser\\UtfString\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChartController.php
-
- message: "#^Parameter \\#1 \\$rowCount of class PhpMyAdmin\\\\SqlParser\\\\Components\\\\Limit constructor expects int\\|string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$query of method PhpMyAdmin\\DatabaseInterface\:\:tryQuery\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Controllers/Table/ChartController.php
+
+ -
+ message: '#^Parameter \#1 \$rowCount of class PhpMyAdmin\\SqlParser\\Components\\Limit constructor expects int\|string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/ChartController.php
-
- message: "#^Parameter \\#1 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getStartAndNumberOfRowsFieldsetData\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getStartAndNumberOfRowsFieldsetData\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ChartController.php
-
- message: "#^Parameter \\#2 \\$offset of class PhpMyAdmin\\\\SqlParser\\\\Components\\\\Limit constructor expects int\\|string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$offset of class PhpMyAdmin\\SqlParser\\Components\\Limit constructor expects int\|string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/ChartController.php
-
- message: "#^Cannot access offset \\(int\\|string\\) on mixed\\.$#"
+ message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 5
path: src/Controllers/Table/CreateController.php
-
- message: "#^Parameter \\#1 \\$string of function strlen expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function strlen expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/CreateController.php
-
- message: "#^Parameter \\#3 \\$key of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$key of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/CreateController.php
-
- message: "#^Parameter \\#4 \\$mimetype of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$mimetype of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/CreateController.php
-
- message: "#^Parameter \\#5 \\$transformation of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$transformation of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/CreateController.php
-
- message: "#^Parameter \\#6 \\$transformationOpts of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#6 \$transformationOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/CreateController.php
-
- message: "#^Parameter \\#7 \\$inputTransform of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#7 \$inputTransform of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/CreateController.php
-
- message: "#^Parameter \\#8 \\$inputTransformOpts of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#8 \$inputTransformOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/CreateController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Table/DeleteConfirmController.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Controllers/Table/DeleteRowsController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Table/DeleteRowsController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Table/DeleteRowsController.php
-
- message: "#^Parameter \\#10 \\$dispMessage of method PhpMyAdmin\\\\Sql\\:\\:executeQueryAndSendQueryResponse\\(\\) expects PhpMyAdmin\\\\Message\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#10 \$dispMessage of method PhpMyAdmin\\Sql\:\:executeQueryAndSendQueryResponse\(\) expects PhpMyAdmin\\Message\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/DeleteRowsController.php
-
- message: "#^Parameter \\#11 \\$sqlQuery of method PhpMyAdmin\\\\Sql\\:\\:executeQueryAndSendQueryResponse\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#11 \$sqlQuery of method PhpMyAdmin\\Sql\:\:executeQueryAndSendQueryResponse\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/DeleteRowsController.php
-
- message: "#^Parameter \\#3 \\$pos of method PhpMyAdmin\\\\Sql\\:\\:calculatePosForLastPage\\(\\) expects int\\|null, mixed given\\.$#"
+ message: '#^Parameter \#3 \$pos of method PhpMyAdmin\\Sql\:\:calculatePosForLastPage\(\) expects int\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/DeleteRowsController.php
-
- message: "#^Parameter \\#3 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/DeleteRowsController.php
-
- message: "#^Parameter \\#9 \\$dispQuery of method PhpMyAdmin\\\\Sql\\:\\:executeQueryAndSendQueryResponse\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#9 \$dispQuery of method PhpMyAdmin\\Sql\:\:executeQueryAndSendQueryResponse\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/DeleteRowsController.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Controllers/Table/DropColumnController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Table/DropColumnController.php
-
- message: "#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Controllers/Table/DropColumnController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/DropColumnController.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/DropColumnController.php
-
- message: "#^Parameter \\#3 \\$column of method PhpMyAdmin\\\\ConfigStorage\\\\RelationCleanup\\:\\:column\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$column of method PhpMyAdmin\\ConfigStorage\\RelationCleanup\:\:column\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/DropColumnController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Table/ExportController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 3
path: src/Controllers/Table/ExportController.php
-
- message: "#^Parameter \\#1 \\$list of class PhpMyAdmin\\\\SqlParser\\\\Parser constructor expects PhpMyAdmin\\\\SqlParser\\\\TokensList\\|PhpMyAdmin\\\\SqlParser\\\\UtfString\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$list of class PhpMyAdmin\\SqlParser\\Parser constructor expects PhpMyAdmin\\SqlParser\\TokensList\|PhpMyAdmin\\SqlParser\\UtfString\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ExportController.php
-
- message: "#^Parameter \\#2 \\$list of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:replaceClauses\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\TokensList, PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null given\\.$#"
+ message: '#^Parameter \#2 \$list of static method PhpMyAdmin\\SqlParser\\Utils\\Query\:\:replaceClauses\(\) expects PhpMyAdmin\\SqlParser\\TokensList, PhpMyAdmin\\SqlParser\\TokensList\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ExportController.php
-
- message: "#^Parameter \\#4 \\$sqlQuery of method PhpMyAdmin\\\\Export\\\\Options\\:\\:getOptions\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$sqlQuery of method PhpMyAdmin\\Export\\Options\:\:getOptions\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ExportController.php
-
- message: "#^Parameter \\#5 \\$numTables of method PhpMyAdmin\\\\Export\\\\Options\\:\\:getOptions\\(\\) expects int\\|string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$numTables of method PhpMyAdmin\\Export\\Options\:\:getOptions\(\) expects int\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ExportController.php
-
- message: "#^Parameter \\#6 \\$unlimNumRows of method PhpMyAdmin\\\\Export\\\\Options\\:\\:getOptions\\(\\) expects int\\|string, mixed given\\.$#"
+ message: '#^Parameter \#6 \$unlimNumRows of method PhpMyAdmin\\Export\\Options\:\:getOptions\(\) expects int\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ExportController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 2
path: src/Controllers/Table/FindReplaceController.php
-
- message: "#^Cannot access offset 0 on mixed\\.$#"
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Controllers/Table/FindReplaceController.php
-
- message: "#^Cannot access offset 1 on mixed\\.$#"
+ message: '#^Cannot access offset 1 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Controllers/Table/FindReplaceController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 2
+ path: src/Controllers/Table/FindReplaceController.php
+
+ -
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 16
path: src/Controllers/Table/FindReplaceController.php
-
- message: "#^Parameter \\#1 \\$str of method PhpMyAdmin\\\\DatabaseInterface\\:\\:quoteString\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$str of method PhpMyAdmin\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/FindReplaceController.php
-
- message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/FindReplaceController.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 3
path: src/Controllers/Table/GetFieldController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 3
path: src/Controllers/Table/GisVisualizationController.php
-
- message: "#^Cannot access offset 'max_rows' on mixed\\.$#"
+ message: '#^Cannot access offset ''max_rows'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Table/GisVisualizationController.php
-
- message: "#^Cannot access offset 'pos' on mixed\\.$#"
+ message: '#^Cannot access offset ''pos'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Table/GisVisualizationController.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 3
path: src/Controllers/Table/GisVisualizationController.php
-
- message: "#^Parameter \\#2 \\$format of method PhpMyAdmin\\\\Gis\\\\GisVisualization\\:\\:toFile\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$format of method PhpMyAdmin\\Gis\\GisVisualization\:\:toFile\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/GisVisualizationController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Table/ImportController.php
-
- message: "#^Cannot access offset 'handler' on mixed\\.$#"
+ message: '#^Cannot access offset ''handler'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Controllers/Table/ImportController.php
-
- message: "#^Cannot call static method getIdKey\\(\\) on mixed\\.$#"
+ message: '#^Cannot call static method getIdKey\(\) on mixed\.$#'
+ identifier: staticMethod.nonObject
count: 1
path: src/Controllers/Table/ImportController.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 1
path: src/Controllers/Table/ImportController.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 1
path: src/Controllers/Table/ImportController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Table/IndexRenameController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\+\=" between int and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Controllers/Table/IndexesController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 2
path: src/Controllers/Table/IndexesController.php
-
- message: "#^Cannot access offset 'Index_choice' on mixed\\.$#"
+ message: '#^Cannot access offset ''Index_choice'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Table/IndexesController.php
-
- message: "#^Cannot access offset 'names' on mixed\\.$#"
+ message: '#^Cannot access offset ''names'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Table/IndexesController.php
-
- message: "#^Parameter \\#1 \\$index of method PhpMyAdmin\\\\Table\\\\Table\\:\\:getIndex\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$index of method PhpMyAdmin\\Table\\Table\:\:getIndex\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/IndexesController.php
-
- message: "#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/IndexesController.php
-
- message: "#^Parameter \\#1 \\$oldIndexName of method PhpMyAdmin\\\\Table\\\\Indexes\\:\\:getSqlQueryForIndexCreateOrEdit\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$oldIndexName of method PhpMyAdmin\\Table\\Indexes\:\:getSqlQueryForIndexCreateOrEdit\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/IndexesController.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/IndexesController.php
-
- message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#"
+ message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 1
path: src/Controllers/Table/Maintenance/AnalyzeController.php
-
- message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#"
+ message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 1
path: src/Controllers/Table/Maintenance/CheckController.php
-
- message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#"
+ message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 1
path: src/Controllers/Table/Maintenance/ChecksumController.php
-
- message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#"
+ message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 1
path: src/Controllers/Table/Maintenance/OptimizeController.php
-
- message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#"
+ message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 1
path: src/Controllers/Table/Maintenance/RepairController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Partition/AnalyzeController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Partition/CheckController.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Controllers/Table/Partition/DropController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Partition/DropController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Partition/OptimizeController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Partition/RepairController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Table/PrivilegesController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 3
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#1 \\$dbName of method PhpMyAdmin\\\\DatabaseInterface\\:\\:getTable\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$dbName of method PhpMyAdmin\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#1 \\$destinationForeignDb of method PhpMyAdmin\\\\Table\\\\Table\\:\\:updateForeignKeys\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$destinationForeignDb of method PhpMyAdmin\\Table\\Table\:\:updateForeignKeys\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#1 \\$displayField of method PhpMyAdmin\\\\Table\\\\Table\\:\\:updateDisplayField\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$displayField of method PhpMyAdmin\\Table\\Table\:\:updateDisplayField\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#1 \\$multiEditColumnsName of method PhpMyAdmin\\\\Table\\\\Table\\:\\:updateInternalRelations\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$multiEditColumnsName of method PhpMyAdmin\\Table\\Table\:\:updateInternalRelations\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#2 \\$callback of function usort expects callable\\(string\\|null, string\\|null\\)\\: int, Closure\\(string, string\\)\\: int\\<\\-1, 1\\> given\\.$#"
+ message: '#^Parameter \#2 \$callback of function usort expects callable\(string\|null, string\|null\)\: int, Closure\(string, string\)\: int\<\-1, 1\> given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#2 \\$destinationDb of method PhpMyAdmin\\\\Table\\\\Table\\:\\:updateInternalRelations\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#2 \$destinationDb of method PhpMyAdmin\\Table\\Table\:\:updateInternalRelations\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#2 \\$multiEditColumnsName of method PhpMyAdmin\\\\Table\\\\Table\\:\\:updateForeignKeys\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#2 \$multiEditColumnsName of method PhpMyAdmin\\Table\\Table\:\:updateForeignKeys\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#2 \\$table of static method PhpMyAdmin\\\\Index\\:\\:getPrimary\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$table of static method PhpMyAdmin\\Index\:\:getPrimary\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#2 \\$tableName of method PhpMyAdmin\\\\DatabaseInterface\\:\\:getTable\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$tableName of method PhpMyAdmin\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#3 \\$destinationForeignTable of method PhpMyAdmin\\\\Table\\\\Table\\:\\:updateForeignKeys\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#3 \$destinationForeignTable of method PhpMyAdmin\\Table\\Table\:\:updateForeignKeys\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#3 \\$destinationTable of method PhpMyAdmin\\\\Table\\\\Table\\:\\:updateInternalRelations\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#3 \$destinationTable of method PhpMyAdmin\\Table\\Table\:\:updateInternalRelations\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#3 \\$schema of static method PhpMyAdmin\\\\Index\\:\\:getPrimary\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$schema of static method PhpMyAdmin\\Index\:\:getPrimary\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#4 \\$destinationColumn of method PhpMyAdmin\\\\Table\\\\Table\\:\\:updateInternalRelations\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#4 \$destinationColumn of method PhpMyAdmin\\Table\\Table\:\:updateInternalRelations\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Parameter \\#4 \\$destinationForeignColumn of method PhpMyAdmin\\\\Table\\\\Table\\:\\:updateForeignKeys\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#4 \$destinationForeignColumn of method PhpMyAdmin\\Table\\Table\:\:updateForeignKeys\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/RelationController.php
-
- message: "#^Argument of an invalid type array\\|string supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type array\\|string supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Cannot access an offset on mixed\\.$#"
+ message: '#^Binary operation "\." between ''\=\\'''' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Controllers/Table/ReplaceController.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Cannot access offset 'multi_edit' on mixed\\.$#"
+ message: '#^Cannot access offset ''multi_edit'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 11
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Cannot access offset 'row_count' on mixed\\.$#"
- count: 1
- path: src/Controllers/Table/ReplaceController.php
-
- -
- message: "#^Cannot access offset 'sql_query' on mixed\\.$#"
- count: 1
- path: src/Controllers/Table/ReplaceController.php
-
- -
- message: "#^Cannot access offset \\(int\\|string\\) on mixed\\.$#"
+ message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 11
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Cannot access offset 0 on mixed\\.$#"
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Cannot access offset int\\|string on mixed\\.$#"
+ message: '#^Cannot access offset int\|string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 9
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Cannot call method addMessages\\(\\) on mixed\\.$#"
+ message: '#^Cannot call method addMessages\(\) on mixed\.$#'
+ identifier: method.nonObject
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Cannot call method addMessagesString\\(\\) on mixed\\.$#"
+ message: '#^Cannot call method addMessagesString\(\) on mixed\.$#'
+ identifier: method.nonObject
count: 3
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Cannot call method isSuccess\\(\\) on mixed\\.$#"
+ message: '#^Cannot call method isSuccess\(\) on mixed\.$#'
+ identifier: method.nonObject
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Cannot call method setType\\(\\) on mixed\\.$#"
+ message: '#^Cannot call method setType\(\) on mixed\.$#'
+ identifier: method.nonObject
count: 3
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 9
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Implicit array creation is not allowed \\- variable \\$extraData might not exist\\.$#"
+ message: '#^Implicit array creation is not allowed \- variable \$extraData might not exist\.$#'
+ identifier: variable.implicitArray
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Method PhpMyAdmin\\\\Controllers\\\\Table\\\\ReplaceController\\:\\:getParamsForUpdateOrInsert\\(\\) return type has no value type specified in iterable type array\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#"
+ message: '#^Method PhpMyAdmin\\Controllers\\Table\\ReplaceController\:\:getParamsForUpdateOrInsert\(\) return type has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^PHPDoc tag @var for variable \\$relationFields has no value type specified in iterable type array\\.$#"
+ message: '#^Only booleans are allowed in a ternary operator condition, mixed given\.$#'
+ identifier: ternary.condNotBoolean
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#1 \\$array of function array_keys expects array, mixed given\\.$#"
+ message: '#^PHPDoc tag @var for variable \$relationFields has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#1 \\$array of function array_values expects array\\, mixed given\\.$#"
+ message: '#^Parameter \#1 \$array of function array_keys expects array, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#1 \\$columnName of class PhpMyAdmin\\\\EditField constructor expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$array of function array_values expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#1 \\$json of method PhpMyAdmin\\\\ResponseRenderer\\:\\:addJSON\\(\\) expects array\\|int\\|string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$columnName of class PhpMyAdmin\\EditField constructor expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects PhpMyAdmin\\\\Message\\|string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$message of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects PhpMyAdmin\\Message\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#1 \\$query of method PhpMyAdmin\\\\InsertEdit\\:\\:executeSqlQuery\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$query of method PhpMyAdmin\\InsertEdit\:\:executeSqlQuery\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#1 \\$queryData of static method PhpMyAdmin\\\\Core\\:\\:previewSQL\\(\\) expects array\\|string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$queryData of static method PhpMyAdmin\\Core\:\:previewSQL\(\) expects array\\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#1 \\$state of method PhpMyAdmin\\\\ResponseRenderer\\:\\:setRequestStatus\\(\\) expects bool, mixed given\\.$#"
+ message: '#^Parameter \#1 \$state of method PhpMyAdmin\\ResponseRenderer\:\:setRequestStatus\(\) expects bool, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#2 \\$relationField of method PhpMyAdmin\\\\InsertEdit\\:\\:getLinkForRelationalDisplayField\\(\\) expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#2 \$relationField of method PhpMyAdmin\\InsertEdit\:\:getLinkForRelationalDisplayField\(\) expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#3 \\$columnName of method PhpMyAdmin\\\\InsertEdit\\:\\:verifyWhetherValueCanBeTruncatedAndAppendExtraData\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$columnName of method PhpMyAdmin\\InsertEdit\:\:verifyWhetherValueCanBeTruncatedAndAppendExtraData\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#3 \\$relationField of method PhpMyAdmin\\\\InsertEdit\\:\\:getDisplayValueForForeignTableColumn\\(\\) expects string, \\(int\\|string\\) given\\.$#"
+ message: '#^Parameter \#3 \$relationField of method PhpMyAdmin\\InsertEdit\:\:getDisplayValueForForeignTableColumn\(\) expects string, \(int\|string\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#3 \\$type of class PhpMyAdmin\\\\EditField constructor expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$type of class PhpMyAdmin\\EditField constructor expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#3 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#5 \\$relationFieldValue of method PhpMyAdmin\\\\InsertEdit\\:\\:getLinkForRelationalDisplayField\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$relationFieldValue of method PhpMyAdmin\\InsertEdit\:\:getLinkForRelationalDisplayField\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#7 \\$function of class PhpMyAdmin\\\\EditField constructor expects string, mixed given\\.$#"
+ message: '#^Parameter \#7 \$function of class PhpMyAdmin\\EditField constructor expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#8 \\$salt of class PhpMyAdmin\\\\EditField constructor expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#8 \$salt of class PhpMyAdmin\\EditField constructor expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Parameter \\#9 \\$previousValue of class PhpMyAdmin\\\\EditField constructor expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#9 \$previousValue of class PhpMyAdmin\\EditField constructor expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Static property PhpMyAdmin\\\\UrlParams\\:\\:\\$params \\(array\\\\) does not accept array\\\\.$#"
+ message: '#^Static property PhpMyAdmin\\UrlParams\:\:\$params \(array\\) does not accept array\\.$#'
+ identifier: assign.propertyType
count: 2
path: src/Controllers/Table/ReplaceController.php
-
- message: "#^Variable \\$extraData might not be defined\\.$#"
+ message: '#^Variable \$extraData might not be defined\.$#'
+ identifier: variable.undefined
count: 1
path: src/Controllers/Table/ReplaceController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 4
path: src/Controllers/Table/SearchController.php
-
- message: "#^Cannot access offset int on mixed\\.$#"
+ message: '#^Cannot access offset int on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Table/SearchController.php
-
- message: "#^Casting to int something that's already int\\<1, max\\>\\.$#"
+ message: '#^Casting to int something that''s already int\<1, max\>\.$#'
+ identifier: cast.useless
count: 1
path: src/Controllers/Table/SearchController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Table/SearchController.php
-
- message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 2
+ path: src/Controllers/Table/SearchController.php
+
+ -
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Controllers/Table/SearchController.php
-
- message: "#^Parameter \\#1 \\$column of method PhpMyAdmin\\\\Controllers\\\\Table\\\\SearchController\\:\\:getColumnMinMax\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$column of method PhpMyAdmin\\Controllers\\Table\\SearchController\:\:getColumnMinMax\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/SearchController.php
-
- message: "#^Parameter \\#1 \\$string of function strtoupper expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$string of function strtoupper expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/SearchController.php
-
- message: "#^Parameter \\#1 \\$type of method PhpMyAdmin\\\\Types\\:\\:getIntegerRange\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getIntegerRange\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/SearchController.php
-
- message: "#^Parameter \\#1 \\$type of method PhpMyAdmin\\\\Types\\:\\:getTypeOperatorsHtml\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getTypeOperatorsHtml\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/SearchController.php
-
- message: "#^Parameter \\#2 \\$foreignField of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:foreignDropdown\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$foreignField of method PhpMyAdmin\\ConfigStorage\\Relation\:\:foreignDropdown\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/SearchController.php
-
- message: "#^Parameter \\#3 \\$selectedOperator of method PhpMyAdmin\\\\Types\\:\\:getTypeOperatorsHtml\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#3 \$selectedOperator of method PhpMyAdmin\\Types\:\:getTypeOperatorsHtml\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/SearchController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Table/SqlController.php
-
- message: "#^Parameter \\#3 \\$query of method PhpMyAdmin\\\\SqlQueryForm\\:\\:getHtml\\(\\) expects bool\\|string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$query of method PhpMyAdmin\\SqlQueryForm\:\:getHtml\(\) expects bool\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/SqlController.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Controllers/Table/Structure/BrowseController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Table/Structure/BrowseController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/BrowseController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Table/Structure/CentralColumnsAddController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Table/Structure/CentralColumnsRemoveController.php
-
- message: "#^Parameter \\#1 \\$selected of method PhpMyAdmin\\\\Controllers\\\\Table\\\\Structure\\\\ChangeController\\:\\:displayHtmlForColumnChange\\(\\) expects array\\, array given\\.$#"
+ message: '#^Parameter \#1 \$selected of method PhpMyAdmin\\Controllers\\Table\\Structure\\ChangeController\:\:displayHtmlForColumnChange\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/ChangeController.php
-
- message: "#^Parameter \\#1 \\$selected of method PhpMyAdmin\\\\Controllers\\\\Table\\\\Structure\\\\ChangeController\\:\\:displayHtmlForColumnChange\\(\\) expects array\\, array\\ given\\.$#"
+ message: '#^Parameter \#1 \$selected of method PhpMyAdmin\\Controllers\\Table\\Structure\\ChangeController\:\:displayHtmlForColumnChange\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/ChangeController.php
-
- message: "#^Cannot call method get\\(\\) on PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\|null\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 1
+ path: src/Controllers/Table/Structure/MoveColumnsController.php
+
+ -
+ message: '#^PHPDoc tag @var with type int is not subtype of type int\<0, max\>\|false\.$#'
+ identifier: varTag.type
+ count: 1
+ path: src/Controllers/Table/Structure/MoveColumnsController.php
+
+ -
+ message: '#^Cannot call method get\(\) on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
+ identifier: method.nonObject
count: 16
path: src/Controllers/Table/Structure/PartitioningController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 2
path: src/Controllers/Table/Structure/PartitioningController.php
-
- message: "#^Method PhpMyAdmin\\\\Controllers\\\\Table\\\\Structure\\\\PartitioningController\\:\\:extractPartitionDetails\\(\\) should return array\\\\>\\|bool\\|int\\|string\\>\\|null but returns array\\\\.$#"
+ message: '#^Method PhpMyAdmin\\Controllers\\Table\\Structure\\PartitioningController\:\:extractPartitionDetails\(\) should return array\\>\|bool\|int\|string\>\|null but returns array\\.$#'
+ identifier: return.type
count: 1
path: src/Controllers/Table/Structure/PartitioningController.php
-
- message: "#^Offset 'partition_by' on array\\{partition_by\\: string, partition_expr\\: string, partition_count\\: mixed, subpartition_by\\: string, subpartition_expr\\: string, subpartition_count\\: mixed, can_have_subpartitions\\: bool\\} in isset\\(\\) always exists and is not nullable\\.$#"
+ message: '#^Offset ''partition_by'' on array\{partition_by\: string, partition_expr\: string, partition_count\: mixed, subpartition_by\: string, subpartition_expr\: string, subpartition_count\: mixed, can_have_subpartitions\: bool\} in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.offset
count: 1
path: src/Controllers/Table/Structure/PartitioningController.php
-
- message: "#^Offset 0 does not exist on array\\\\|null\\.$#"
+ message: '#^Offset 0 might not exist on array\\|null\.$#'
+ identifier: offsetAccess.notFound
count: 1
path: src/Controllers/Table/Structure/PartitioningController.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\\\|null given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, array\\|null given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/PartitioningController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Table/Structure/PrimaryController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Table/Structure/PrimaryController.php
-
- message: "#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Controllers/Table/Structure/PrimaryController.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Controllers/Table/Structure/ReservedWordCheckController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Table/Structure/ReservedWordCheckController.php
-
- message: "#^Only booleans are allowed in a negated boolean, int\\|null given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, int\|null given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Controllers/Table/Structure/ReservedWordCheckController.php
-
- message: "#^Only booleans are allowed in an if condition, int\\|null given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, int\|null given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Controllers/Table/Structure/ReservedWordCheckController.php
-
- message: "#^Parameter \\#1 \\$string of function trim expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function trim expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/ReservedWordCheckController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\." between '' AS \('' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#"
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Cannot access offset \\(int\\|string\\) on mixed\\.$#"
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
+ count: 1
+ path: src/Controllers/Table/Structure/SaveController.php
+
+ -
+ message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
+ identifier: function.strict
+ count: 1
+ path: src/Controllers/Table/Structure/SaveController.php
+
+ -
+ message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 7
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Cannot access offset int on mixed\\.$#"
+ message: '#^Cannot access offset int on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 9
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
+ message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 26
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
+ count: 2
+ path: src/Controllers/Table/Structure/SaveController.php
+
+ -
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 2
+ path: src/Controllers/Table/Structure/SaveController.php
+
+ -
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
+ count: 1
+ path: src/Controllers/Table/Structure/SaveController.php
+
+ -
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 3
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#1 \\$oldcol of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$oldcol of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#1 \\$string of function strlen expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function strlen expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#10 \\$extra of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#10 \$extra of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#11 \\$comment of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#11 \$comment of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#12 \\$virtuality of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#12 \$virtuality of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#13 \\$expression of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#13 \$expression of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#14 \\$moveTo of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#14 \$moveTo of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#2 \\$newcol of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$newcol of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#3 \\$field of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:renameField\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$field of method PhpMyAdmin\\ConfigStorage\\Relation\:\:renameField\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#3 \\$key of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$key of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#3 \\$type of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$type of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#3 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#4 \\$length of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$length of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#4 \\$mimetype of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$mimetype of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#4 \\$newName of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:renameField\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$newName of method PhpMyAdmin\\ConfigStorage\\Relation\:\:renameField\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#5 \\$attribute of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$attribute of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#5 \\$transformation of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$transformation of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#6 \\$collation of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#6 \$collation of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#6 \\$transformationOpts of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#6 \$transformationOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#7 \\$inputTransform of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#7 \$inputTransform of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#7 \\$null of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects bool\\|string, mixed given\\.$#"
+ message: '#^Parameter \#7 \$null of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects bool\|string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#8 \\$defaultType of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#8 \$defaultType of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#8 \\$inputTransformOpts of method PhpMyAdmin\\\\Transformations\\:\\:setMime\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#8 \$inputTransformOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Parameter \\#9 \\$defaultValue of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateAlter\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#9 \$defaultValue of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/Structure/SaveController.php
-
- message: "#^Binary operation \"\\+\" between int\\|non\\-falsy\\-string and int\\|non\\-falsy\\-string results in an error\\.$#"
+ message: '#^Binary operation "\+" between int\|non\-falsy\-string and int\|non\-falsy\-string results in an error\.$#'
+ identifier: binaryOp.invalid
count: 4
path: src/Controllers/Table/StructureController.php
-
- message: "#^Binary operation \"\\-\" between mixed and int\\|string results in an error\\.$#"
+ message: '#^Binary operation "\-" between mixed and int\|string results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Table/StructureController.php
-
- message: "#^Binary operation \"/\" between mixed and int\\|string\\|null results in an error\\.$#"
+ message: '#^Binary operation "/" between mixed and int\|string\|null results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/Table/StructureController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 3
path: src/Controllers/Table/StructureController.php
-
- message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#"
+ message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
+ identifier: function.strict
count: 1
path: src/Controllers/Table/StructureController.php
-
- message: "#^Cannot use array destructuring on array\\\\|null\\.$#"
+ message: '#^Cannot use array destructuring on list\\|null\.$#'
+ identifier: offsetAccess.nonArray
count: 4
path: src/Controllers/Table/StructureController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 2
path: src/Controllers/Table/StructureController.php
-
- message: "#^Parameter \\#1 \\$datetime of class DateTimeImmutable constructor expects string, int\\|string given\\.$#"
+ message: '#^Parameter \#1 \$datetime of class DateTimeImmutable constructor expects string, int\|string given\.$#'
+ identifier: argument.type
count: 3
path: src/Controllers/Table/StructureController.php
-
- message: "#^Parameter \\#1 \\$value of static method PhpMyAdmin\\\\Util\\:\\:formatByteDown\\(\\) expects float\\|int\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatByteDown\(\) expects float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
count: 4
path: src/Controllers/Table/StructureController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Table/TrackingController.php
-
- message: "#^Parameter \\#2 \\$entries of method PhpMyAdmin\\\\Tracking\\\\Tracking\\:\\:getDownloadInfoForExport\\(\\) expects array\\\\>, array given\\.$#"
+ message: '#^Parameter \#2 \$entries of method PhpMyAdmin\\Tracking\\Tracking\:\:getDownloadInfoForExport\(\) expects array\\>, array\ given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/TrackingController.php
-
- message: "#^Parameter \\#3 \\$version of method PhpMyAdmin\\\\Tracking\\\\Tracking\\:\\:deleteTrackingVersion\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$version of method PhpMyAdmin\\Tracking\\Tracking\:\:deleteTrackingVersion\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/TrackingController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\." between '' LIMIT '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Controllers/Table/ZoomSearchController.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Controllers/Table/ZoomSearchController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 4
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#"
+ message: '#^Call to function array_search\(\) requires parameter \#3 to be set\.$#'
+ identifier: function.strict
count: 2
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Cannot access offset 0 on mixed\\.$#"
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 3
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Cannot access offset 1 on mixed\\.$#"
+ message: '#^Cannot access offset 1 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 3
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Cannot access offset int on mixed\\.$#"
+ message: '#^Cannot access offset int on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Cannot access offset int\\<0, 3\\> on mixed\\.$#"
+ message: '#^Cannot access offset int\<0, 3\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Casting to int something that's already int\\<1, max\\>\\.$#"
+ message: '#^Casting to int something that''s already int\<1, max\>\.$#'
+ identifier: cast.useless
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 2
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 5
+ path: src/Controllers/Table/ZoomSearchController.php
+
+ -
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#1 \\$dataLabel of method PhpMyAdmin\\\\Controllers\\\\Table\\\\ZoomSearchController\\:\\:displaySelectionFormAction\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$dataLabel of method PhpMyAdmin\\Controllers\\Table\\ZoomSearchController\:\:displaySelectionFormAction\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#1 \\$dataLabel of method PhpMyAdmin\\\\Controllers\\\\Table\\\\ZoomSearchController\\:\\:zoomSubmitAction\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$dataLabel of method PhpMyAdmin\\Controllers\\Table\\ZoomSearchController\:\:zoomSubmitAction\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#1 \\$sqlQuery of static method PhpMyAdmin\\\\Core\\:\\:checkSqlQuerySignature\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$sqlQuery of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#1 \\$string of function strtoupper expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$string of function strtoupper expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#1 \\$type of method PhpMyAdmin\\\\Types\\:\\:getIntegerRange\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getIntegerRange\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#1 \\$type of method PhpMyAdmin\\\\Types\\:\\:getTypeOperatorsHtml\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getTypeOperatorsHtml\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#2 \\$columnIndex of method PhpMyAdmin\\\\Controllers\\\\Table\\\\ZoomSearchController\\:\\:getColumnProperties\\(\\) expects int, int\\|false given\\.$#"
+ message: '#^Parameter \#2 \$columnIndex of method PhpMyAdmin\\Controllers\\Table\\ZoomSearchController\:\:getColumnProperties\(\) expects int, int\<0, max\>\|false given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#2 \\$foreignField of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:foreignDropdown\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$foreignField of method PhpMyAdmin\\ConfigStorage\\Relation\:\:foreignDropdown\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#2 \\$signature of static method PhpMyAdmin\\\\Core\\:\\:checkSqlQuerySignature\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$signature of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#3 \\$selectedOperator of method PhpMyAdmin\\\\Types\\:\\:getTypeOperatorsHtml\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#3 \$selectedOperator of method PhpMyAdmin\\Types\:\:getTypeOperatorsHtml\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Table/ZoomSearchController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/ThemeSetController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/Controllers/Transformation/WrapperController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/Triggers/IndexController.php
-
- message: "#^Cannot call method isSuccess\\(\\) on mixed\\.$#"
+ message: '#^Cannot call method isSuccess\(\) on mixed\.$#'
+ identifier: method.nonObject
count: 1
path: src/Controllers/Triggers/IndexController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 11
path: src/Controllers/Triggers/IndexController.php
-
- message: "#^Only booleans are allowed in \\|\\|, int\\<0, max\\> given on the left side\\.$#"
+ message: '#^Only booleans are allowed in \|\|, int\<0, max\> given on the left side\.$#'
+ identifier: booleanOr.leftNotBoolean
count: 1
path: src/Controllers/Triggers/IndexController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Triggers/IndexController.php
-
- message: "#^Parameter \\#1 \\$string of function mb_strtoupper expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function mb_strtoupper expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Triggers/IndexController.php
-
- message: "#^Parameter \\#1 \\$trigger of method PhpMyAdmin\\\\Controllers\\\\Triggers\\\\IndexController\\:\\:getDataFromTrigger\\(\\) expects PhpMyAdmin\\\\Triggers\\\\Trigger, PhpMyAdmin\\\\Triggers\\\\Trigger\\|null given\\.$#"
+ message: '#^Parameter \#1 \$trigger of method PhpMyAdmin\\Controllers\\Triggers\\IndexController\:\:getDataFromTrigger\(\) expects PhpMyAdmin\\Triggers\\Trigger, PhpMyAdmin\\Triggers\\Trigger\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Triggers/IndexController.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/Triggers/IndexController.php
-
- message: "#^Parameter \\#3 \\$name of method PhpMyAdmin\\\\Triggers\\\\Triggers\\:\\:getTriggerByName\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$name of method PhpMyAdmin\\Triggers\\Triggers\:\:getTriggerByName\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/Triggers/IndexController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Controllers/UserPasswordController.php
-
- message: "#^Parameter \\#1 \\$username of method PhpMyAdmin\\\\UserPassword\\:\\:getFormForChangePassword\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$username of method PhpMyAdmin\\UserPassword\:\:getFormForChangePassword\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/UserPasswordController.php
-
- message: "#^Parameter \\#2 \\$hostname of method PhpMyAdmin\\\\UserPassword\\:\\:getFormForChangePassword\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$hostname of method PhpMyAdmin\\UserPassword\:\:getFormForChangePassword\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/UserPasswordController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
+ count: 1
+ path: src/Controllers/VersionCheckController.php
+
+ -
+ message: '#^Binary operation "\." between "\\r\\n \(" and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Controllers/View/CreateController.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Binary operation "\." between "\\r\\n AS " and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Controllers/View/CreateController.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
+ count: 1
+ path: src/Controllers/View/CreateController.php
+
+ -
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 3
path: src/Controllers/View/CreateController.php
-
- message: "#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Controllers/View/CreateController.php
-
- message: "#^PHPDoc tag @var for variable \\$view has no value type specified in iterable type array\\.$#"
+ message: '#^PHPDoc tag @var for variable \$view has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
count: 1
path: src/Controllers/View/CreateController.php
-
- message: "#^Parameter \\#1 \\$dbName of method PhpMyAdmin\\\\DatabaseInterface\\:\\:getTable\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$dbName of method PhpMyAdmin\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/View/CreateController.php
-
- message: "#^Parameter \\#1 \\$haystack of function str_contains expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/View/CreateController.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/View/CreateController.php
-
- message: "#^Parameter \\#1 \\$sqlQuery of method PhpMyAdmin\\\\SystemDatabase\\:\\:getColumnMapFromSql\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$sqlQuery of method PhpMyAdmin\\SystemDatabase\:\:getColumnMapFromSql\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/View/CreateController.php
-
- message: "#^Parameter \\#1 \\$str of method PhpMyAdmin\\\\DatabaseInterface\\:\\:quoteString\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$str of method PhpMyAdmin\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/View/CreateController.php
-
- message: "#^Parameter \\#2 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/View/CreateController.php
-
- message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Controllers/View/CreateController.php
-
- message: "#^Parameter \\#2 \\$tableName of method PhpMyAdmin\\\\DatabaseInterface\\:\\:getTable\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$tableName of method PhpMyAdmin\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/View/CreateController.php
-
- message: "#^Parameter \\#3 \\$viewName of method PhpMyAdmin\\\\SystemDatabase\\:\\:getNewTransformationDataSql\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$viewName of method PhpMyAdmin\\SystemDatabase\:\:getNewTransformationDataSql\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Controllers/View/CreateController.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\." between mixed and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: src/Core.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 4
path: src/Core.php
-
- message: "#^Cannot access offset string on mixed\\.$#"
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 8
path: src/Core.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 3
path: src/Core.php
-
- message: "#^Method PhpMyAdmin\\\\Core\\:\\:getIp\\(\\) should return bool\\|string but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\Core\:\:getIp\(\) should return bool\|string but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/Core.php
-
- message: "#^Only booleans are allowed in a negated boolean, int\\|string given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, int\|string given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Core.php
-
- message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Core.php
-
- message: "#^Parameter \\#1 \\$sqlQuery of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:formatSql\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$sqlQuery of static method PhpMyAdmin\\Html\\Generator\:\:formatSql\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Core.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Core.php
-
- message: "#^Parameter \\#1 \\$variableName of static method PhpMyAdmin\\\\Core\\:\\:getEnv\\(\\) expects non\\-empty\\-string, string given\\.$#"
+ message: '#^Parameter \#1 \$variableName of static method PhpMyAdmin\\Core\:\:getEnv\(\) expects non\-empty\-string, string given\.$#'
+ identifier: argument.type
count: 1
path: src/Core.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 3
path: src/CreateAddField.php
-
- message: "#^Cannot access offset 'col_index' on mixed\\.$#"
+ message: '#^Binary operation "\." between '' \('' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/CreateAddField.php
-
- message: "#^Cannot access offset 'size' on mixed\\.$#"
+ message: '#^Binary operation "\." between '' COMMENT \= \\'''' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/CreateAddField.php
-
- message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
+ message: '#^Binary operation "\." between '' DATA DIRECTORY \= \\'''' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between '' ENGINE \= '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between '' INDEX_DIRECTORY \= \\'''' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between '' MAX_ROWS \= '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between '' MIN_ROWS \= '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between '' NODEGROUP \= '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between '' PARTITION BY '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between '' SUBPARTITION BY '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between '' TABLESPACE \= '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between '' VALUES '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between '' WITH PARSER '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between ''\('' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 4
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Binary operation "\.\=" between '' PARTITION ''\|'' SUBPARTITION '' and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Cannot access offset ''col_index'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Cannot access offset ''size'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/CreateAddField.php
+
+ -
+ message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 12
path: src/CreateAddField.php
-
- message: "#^Cannot access offset int\\\\|int\\<0, max\\> on mixed\\.$#"
+ message: '#^Cannot access offset int\\|int\<0, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/CreateAddField.php
-
- message: "#^Cannot access offset mixed on mixed\\.$#"
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/CreateAddField.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 1
path: src/CreateAddField.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 2
path: src/CreateAddField.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 24
path: src/CreateAddField.php
-
- message: "#^Method PhpMyAdmin\\\\CreateAddField\\:\\:getIndexedColumns\\(\\) return type has no value type specified in iterable type array\\.$#"
+ message: '#^Method PhpMyAdmin\\CreateAddField\:\:getIndexedColumns\(\) return type has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
count: 5
path: src/CreateAddField.php
-
- message: "#^Method PhpMyAdmin\\\\CreateAddField\\:\\:getIndexedColumns\\(\\) should return array\\{int, array, array, array, array, array\\} but returns array\\{int\\<0, max\\>, mixed, mixed, mixed, mixed, mixed\\}\\.$#"
+ message: '#^Method PhpMyAdmin\\CreateAddField\:\:getIndexedColumns\(\) should return array\{int, array, array, array, array, array\} but returns array\{int\<0, max\>, mixed, mixed, mixed, mixed, mixed\}\.$#'
+ identifier: return.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#1 \\$collation of static method PhpMyAdmin\\\\Util\\:\\:getCharsetQueryPart\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$collation of static method PhpMyAdmin\\Util\:\:getCharsetQueryPart\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#1 \\$engine of static method PhpMyAdmin\\\\StorageEngine\\:\\:isValid\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$engine of static method PhpMyAdmin\\StorageEngine\:\:isValid\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 3
path: src/CreateAddField.php
-
- message: "#^Parameter \\#1 \\$index of method PhpMyAdmin\\\\CreateAddField\\:\\:buildIndexStatement\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$index of method PhpMyAdmin\\CreateAddField\:\:buildIndexStatement\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 5
path: src/CreateAddField.php
-
- message: "#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
+ identifier: argument.type
count: 5
path: src/CreateAddField.php
-
- message: "#^Parameter \\#1 \\$partition of method PhpMyAdmin\\\\CreateAddField\\:\\:getPartitionDefinition\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$partition of method PhpMyAdmin\\CreateAddField\:\:getPartitionDefinition\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/CreateAddField.php
-
- message: "#^Parameter \\#1 \\$str of method PhpMyAdmin\\\\DatabaseInterface\\:\\:quoteString\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$str of method PhpMyAdmin\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 3
path: src/CreateAddField.php
-
- message: "#^Parameter \\#1 \\$string of function rtrim expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function rtrim expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/CreateAddField.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#10 \\$comment of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateFieldSpec\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#10 \$comment of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#11 \\$virtuality of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateFieldSpec\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#11 \$virtuality of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#12 \\$expression of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateFieldSpec\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#12 \$expression of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#2 \\$type of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateFieldSpec\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$type of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#3 \\$length of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateFieldSpec\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$length of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#4 \\$attribute of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateFieldSpec\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$attribute of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#5 \\$collation of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateFieldSpec\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$collation of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#6 \\$null of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateFieldSpec\\(\\) expects bool\\|string, mixed given\\.$#"
+ message: '#^Parameter \#6 \$null of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects bool\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#7 \\$defaultType of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateFieldSpec\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#7 \$defaultType of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#8 \\$defaultValue of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateFieldSpec\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#8 \$defaultValue of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: "#^Parameter \\#9 \\$extra of static method PhpMyAdmin\\\\Table\\\\Table\\:\\:generateFieldSpec\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#9 \$extra of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/CreateAddField.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Crypto/Crypto.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Cannot access offset 'col_attribute' on mixed\\.$#"
+ message: '#^Cannot access offset ''col_attribute'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 5
path: src/Database/CentralColumns.php
-
- message: "#^Cannot access offset 'col_default' on mixed\\.$#"
+ message: '#^Cannot access offset ''col_default'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Cannot access offset 'col_extra' on mixed\\.$#"
+ message: '#^Cannot access offset ''col_extra'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Database/CentralColumns.php
-
- message: "#^Cannot access offset 'col_type' on mixed\\.$#"
+ message: '#^Cannot access offset ''col_type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
+ message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 11
path: src/Database/CentralColumns.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 2
path: src/Database/CentralColumns.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 2
path: src/Database/CentralColumns.php
-
- message: "#^Method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:findExistingColNames\\(\\) should return array\\ but returns array\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 2
+ path: src/Database/CentralColumns.php
+
+ -
+ message: '#^Method PhpMyAdmin\\Database\\CentralColumns\:\:findExistingColNames\(\) should return array\ but returns array\\.$#'
+ identifier: return.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:findExistingColumns\\(\\) should return array\\\\> but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\Database\\CentralColumns\:\:findExistingColumns\(\) should return array\\> but returns array\\.$#'
+ identifier: return.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:getColumnsList\\(\\) should return array but returns mixed\\.$#"
- count: 1
- path: src/Database/CentralColumns.php
-
- -
- message: "#^Method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:getListRaw\\(\\) should return array but returns mixed\\.$#"
- count: 1
- path: src/Database/CentralColumns.php
-
- -
- message: "#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 3
path: src/Database/CentralColumns.php
-
- message: "#^Only booleans are allowed in an if condition, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, string\|null given\.$#'
+ identifier: if.condNotBoolean
count: 3
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#1 \\$bitDefaultValue of static method PhpMyAdmin\\\\Util\\:\\:convertBitDefaultValue\\(\\) expects string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$bitDefaultValue of static method PhpMyAdmin\\Util\:\:convertBitDefaultValue\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:updateOneColumn\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#1 \\$def of method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:getInsertQuery\\(\\) expects PhpMyAdmin\\\\ColumnFull, PhpMyAdmin\\\\ColumnFull\\|null given\\.$#"
+ message: '#^Parameter \#1 \$def of method PhpMyAdmin\\Database\\CentralColumns\:\:getInsertQuery\(\) expects PhpMyAdmin\\ColumnFull, PhpMyAdmin\\ColumnFull\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#1 \\$str of method PhpMyAdmin\\\\DatabaseInterface\\:\\:quoteString\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$str of method PhpMyAdmin\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#1 \\$string of function bin2hex expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function bin2hex expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#1 \\$string of function trim expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function trim expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#10 \\$colDefault of method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:updateOneColumn\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#10 \$colDefault of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#2 \\$origColName of method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:updateOneColumn\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$origColName of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#3 \\$colName of method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:updateOneColumn\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$colName of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#3 \\$column of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:checkChildForeignReferences\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#3 \$column of method PhpMyAdmin\\ConfigStorage\\Relation\:\:checkChildForeignReferences\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#3 \\$pageNow of static method PhpMyAdmin\\\\Util\\:\\:pageselector\\(\\) expects int, \\(float\\|int\\) given\\.$#"
+ message: '#^Parameter \#3 \$pageNow of static method PhpMyAdmin\\Util\:\:pageselector\(\) expects int, \(float\|int\) given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#4 \\$colType of method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:updateOneColumn\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#4 \$colType of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#5 \\$colAttribute of method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:updateOneColumn\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#5 \$colAttribute of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#6 \\$colLength of method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:updateOneColumn\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#6 \$colLength of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#8 \\$collation of method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:updateOneColumn\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#8 \$collation of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: "#^Parameter \\#9 \\$colExtra of method PhpMyAdmin\\\\Database\\\\CentralColumns\\:\\:updateOneColumn\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#9 \$colExtra of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/CentralColumns.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Database/Designer.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 1
path: src/Database/Designer.php
-
- message: "#^Method PhpMyAdmin\\\\Database\\\\Designer\\:\\:getSideMenuParamsArray\\(\\) should return array but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\Database\\Designer\:\:getSideMenuParamsArray\(\) should return array\ but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/Database/Designer.php
-
- message: "#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Database/Designer.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Database/Designer/Common.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\." between mixed and ''\.'' results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Database/Designer/Common.php
-
- message: "#^Cannot access offset mixed on mixed\\.$#"
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Database/Designer/Common.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
+ count: 1
+ path: src/Database/Designer/Common.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 4
path: src/Database/Designer/Common.php
-
- message: "#^Cannot access offset string on mixed\\.$#"
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Database/Designer/Common.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 2
path: src/Database/Designer/Common.php
-
- message: "#^For loop initial assignment overwrites variable \\$i\\.$#"
+ message: '#^For loop initial assignment overwrites variable \$i\.$#'
+ identifier: for.variableOverwrite
count: 1
path: src/Database/Designer/Common.php
-
- message: "#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
count: 1
path: src/Database/Designer/Common.php
-
- message: "#^Only booleans are allowed in an if condition, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
+ count: 1
+ path: src/Database/Designer/Common.php
+
+ -
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
+ count: 1
+ path: src/Database/Designer/Common.php
+
+ -
+ message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: if.condNotBoolean
count: 2
path: src/Database/Designer/Common.php
-
- message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$json of function json_decode expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Designer/Common.php
-
- message: "#^Parameter \\#1 \\$str of method PhpMyAdmin\\\\DatabaseInterface\\:\\:quoteString\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$str of method PhpMyAdmin\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 4
path: src/Database/Designer/Common.php
-
- message: "#^Parameter \\#1 \\$str of method PhpMyAdmin\\\\DatabaseInterface\\:\\:quoteString\\(\\) expects string, string\\|false given\\.$#"
+ message: '#^Parameter \#1 \$str of method PhpMyAdmin\\DatabaseInterface\:\:quoteString\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
count: 2
path: src/Database/Designer/Common.php
-
- message: "#^Parameter \\#1 \\$string of function rawurlencode expects string, int\\|string given\\.$#"
+ message: '#^Parameter \#1 \$string of function rawurlencode expects string, int\|string given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Designer/Common.php
-
- message: "#^Parameter \\#1 \\$string of function rawurlencode expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function rawurlencode expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Designer/Common.php
-
- message: "#^Parameter \\#1 \\$string of function rawurlencode expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$string of function rawurlencode expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Designer/Common.php
-
- message: "#^Parameter \\#2 \\$table of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:getDisplayField\\(\\) expects string, int\\|string\\|null given\\.$#"
+ message: '#^Parameter \#2 \$table of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, int\|string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Designer/Common.php
-
- message: "#^Parameter \\#2 \\$tableName of class PhpMyAdmin\\\\Database\\\\Designer\\\\DesignerTable constructor expects string, int\\|string\\|null given\\.$#"
+ message: '#^Parameter \#2 \$tableName of class PhpMyAdmin\\Database\\Designer\\DesignerTable constructor expects string, int\|string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Designer/Common.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 1
path: src/Database/Events.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\." between ''\'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/Database/Events.php
-
- message: "#^Cannot access an offset on mixed\\.$#"
+ message: '#^Binary operation "\.\=" between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Database/Events.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
+ count: 1
+ path: src/Database/Events.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 7
path: src/Database/Events.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 1
path: src/Database/Events.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 13
path: src/Database/Events.php
-
- message: "#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 1
+ path: src/Database/Events.php
+
+ -
+ message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 4
path: src/Database/Events.php
-
- message: "#^Parameter \\#1 \\$haystack of function str_contains expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Events.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 4
path: src/Database/Events.php
-
- message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects PhpMyAdmin\\\\Message\\|string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$message of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects PhpMyAdmin\\Message\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Events.php
-
- message: "#^Parameter \\#1 \\$query of method PhpMyAdmin\\\\DatabaseInterface\\:\\:tryQuery\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$query of method PhpMyAdmin\\DatabaseInterface\:\:tryQuery\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Events.php
-
- message: "#^Parameter \\#1 \\$str of method PhpMyAdmin\\\\DatabaseInterface\\:\\:quoteString\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$str of method PhpMyAdmin\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 4
path: src/Database/Events.php
-
- message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Events.php
-
- message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Events.php
-
- message: "#^Parameter \\#3 \\$name of static method PhpMyAdmin\\\\Database\\\\Events\\:\\:getDefinition\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Events\:\:getDefinition\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Events.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Database/MultiTableQuery.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\DatabaseInterface\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\DatabaseInterface\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Database/MultiTableQuery.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 3
path: src/Database/Routines.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Binary operation "\." between ''\('' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: src/Database/Routines.php
+
+ -
+ message: '#^Binary operation "\." between ''\'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Database/Routines.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: src/Database/Routines.php
+
+ -
+ message: '#^Binary operation "\.\=" between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Database/Routines.php
+
+ -
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 3
path: src/Database/Routines.php
-
- message: "#^Cannot access an offset on mixed\\.$#"
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 9
path: src/Database/Routines.php
-
- message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
+ message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 16
path: src/Database/Routines.php
-
- message: "#^Cannot access offset mixed on mixed\\.$#"
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 9
path: src/Database/Routines.php
-
- message: "#^Cannot access property \\$name on PhpMyAdmin\\\\SqlParser\\\\Components\\\\DataType\\|null\\.$#"
+ message: '#^Cannot access property \$name on PhpMyAdmin\\SqlParser\\Components\\DataType\|null\.$#'
+ identifier: property.nonObject
count: 2
path: src/Database/Routines.php
-
- message: "#^Cannot access property \\$options on PhpMyAdmin\\\\SqlParser\\\\Components\\\\DataType\\|null\\.$#"
+ message: '#^Cannot access property \$options on PhpMyAdmin\\SqlParser\\Components\\DataType\|null\.$#'
+ identifier: property.nonObject
count: 2
path: src/Database/Routines.php
-
- message: "#^Cannot access property \\$options on PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\|null\\.$#"
+ message: '#^Cannot access property \$options on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
+ identifier: property.nonObject
count: 2
path: src/Database/Routines.php
-
- message: "#^Cannot access property \\$parameters on PhpMyAdmin\\\\SqlParser\\\\Components\\\\DataType\\|null\\.$#"
+ message: '#^Cannot access property \$parameters on PhpMyAdmin\\SqlParser\\Components\\DataType\|null\.$#'
+ identifier: property.nonObject
count: 3
path: src/Database/Routines.php
-
- message: "#^Cannot assign new offset to array\\\\|string\\|null\\.$#"
+ message: '#^Cannot assign new offset to list\\|string\|null\.$#'
+ identifier: offsetAssign.dimType
count: 1
path: src/Database/Routines.php
-
- message: "#^Cannot assign new offset to array\\, string\\|null\\>\\|string\\.$#"
+ message: '#^Cannot assign new offset to list\\|string\.$#'
+ identifier: offsetAssign.dimType
count: 1
path: src/Database/Routines.php
-
- message: "#^Cannot call method get\\(\\) on PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\|null\\.$#"
+ message: '#^Cannot call method get\(\) on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
+ identifier: method.nonObject
count: 1
path: src/Database/Routines.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 22
path: src/Database/Routines.php
-
- message: "#^Method PhpMyAdmin\\\\Database\\\\Routines\\:\\:backupPrivileges\\(\\) should return array\\\\> but returns array\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
count: 1
path: src/Database/Routines.php
-
- message: "#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 3
+ path: src/Database/Routines.php
+
+ -
+ message: '#^Method PhpMyAdmin\\Database\\Routines\:\:backupPrivileges\(\) should return array\\> but returns array\\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Database/Routines.php
+
+ -
+ message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 4
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$alias of method PhpMyAdmin\\\\Types\\:\\:mapAliasToMysqlType\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$alias of method PhpMyAdmin\\Types\:\:mapAliasToMysqlType\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$haystack of function str_contains expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$haystack of function stripos expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$haystack of function stripos expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
+ message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
+ identifier: argument.type
count: 9
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$itemParamName of method PhpMyAdmin\\\\Database\\\\Routines\\:\\:processParamsAndBuild\\(\\) expects array\\, array given\\.$#"
+ message: '#^Parameter \#1 \$itemParamName of method PhpMyAdmin\\Database\\Routines\:\:processParamsAndBuild\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getMessage\\(\\) expects PhpMyAdmin\\\\Message\\|string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$message of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects PhpMyAdmin\\Message\|string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$quotedString of static method PhpMyAdmin\\\\Util\\:\\:unQuote\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$quotedString of static method PhpMyAdmin\\Util\:\:unQuote\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$str of method PhpMyAdmin\\\\DatabaseInterface\\:\\:quoteString\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$str of method PhpMyAdmin\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 7
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$string of function htmlentities expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function htmlentities expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$string of function mb_strtolower expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function mb_strtolower expects string, mixed given\.$#'
+ identifier: argument.type
count: 7
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$string of function mb_strtoupper expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$string of function mb_strtoupper expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\$type of method PhpMyAdmin\\\\Types\\:\\:getTypeClass\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getTypeClass\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 4
path: src/Database/Routines.php
-
- message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#2 \\$array of function implode expects array\\|null, array\\, string\\|null\\>\\|string given\\.$#"
+ message: '#^Parameter \#2 \$array of function implode expects array\|null, list\\|string given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#2 \\$itemParamDir of method PhpMyAdmin\\\\Database\\\\Routines\\:\\:processParamsAndBuild\\(\\) expects array\\, array given\\.$#"
+ message: '#^Parameter \#2 \$itemParamDir of method PhpMyAdmin\\Database\\Routines\:\:processParamsAndBuild\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#2 \\$subject of function preg_match expects string, mixed given\\.$#"
+ message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
+ identifier: argument.type
count: 4
path: src/Database/Routines.php
-
- message: "#^Parameter \\#2 \\$warnedAboutLength of method PhpMyAdmin\\\\Database\\\\Routines\\:\\:processFunctionSpecificParameters\\(\\) expects bool, mixed given\\.$#"
+ message: '#^Parameter \#3 \$createRoutine of method PhpMyAdmin\\Database\\Routines\:\:create\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#3 \\$createRoutine of method PhpMyAdmin\\\\Database\\\\Routines\\:\\:create\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getFunctionDefinition\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#3 \\$name of static method PhpMyAdmin\\\\Database\\\\Routines\\:\\:getFunctionDefinition\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getFunctionDefinition\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#3 \\$name of static method PhpMyAdmin\\\\Database\\\\Routines\\:\\:getFunctionDefinition\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getProcedureDefinition\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#3 \\$name of static method PhpMyAdmin\\\\Database\\\\Routines\\:\\:getProcedureDefinition\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getProcedureDefinition\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#3 \\$name of static method PhpMyAdmin\\\\Database\\\\Routines\\:\\:getProcedureDefinition\\(\\) expects string, string\\|null given\\.$#"
+ message: '#^Parameter \#7 \$itemType of method PhpMyAdmin\\Database\\Routines\:\:processParamsAndBuild\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Database/Routines.php
-
- message: "#^Parameter \\#7 \\$itemType of method PhpMyAdmin\\\\Database\\\\Routines\\:\\:processParamsAndBuild\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Database/Routines.php
-
- -
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 4
path: src/Database/Search.php
-
- message: "#^Property PhpMyAdmin\\\\Database\\\\Search\\:\\:\\$criteriaTables \\(array\\\\) does not accept array\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
count: 1
path: src/Database/Search.php
-
- message: "#^Property PhpMyAdmin\\\\Database\\\\Search\\:\\:\\$searchTypeDescription \\(string\\) does not accept mixed\\.$#"
+ message: '#^Property PhpMyAdmin\\Database\\Search\:\:\$criteriaTables \(array\\) does not accept array\\.$#'
+ identifier: assign.propertyType
count: 1
path: src/Database/Search.php
-
- message: """
- #^Access to deprecated static property \\$route of class PhpMyAdmin\\\\Routing\\\\Routing\\:
- Use \\{@see ServerRequest\\:\\:getRoute\\(\\)\\} instead\\.$#
- """
+ message: '#^Property PhpMyAdmin\\Database\\Search\:\:\$searchTypeDescription \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Database/Search.php
+
+ -
+ message: '''
+ #^Access to deprecated static property \$route of class PhpMyAdmin\\Routing\\Routing\:
+ Use \{@see ServerRequest\:\:getRoute\(\)\} instead\.$#
+ '''
+ identifier: staticProperty.deprecated
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Binary operation \"\\+\" between int\\|string\\|null and int\\|string\\|null results in an error\\.$#"
+ message: '#^Binary operation "\+" between int\|string\|null and int\|string\|null results in an error\.$#'
+ identifier: binaryOp.invalid
count: 3
path: src/DatabaseInterface.php
-
- message: "#^Binary operation \"\\+\" between string\\|null and string\\|null results in an error\\.$#"
+ message: '#^Binary operation "\+" between string\|null and string\|null results in an error\.$#'
+ identifier: binaryOp.invalid
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Binary operation \"\\+\\=\" between mixed and string\\|null results in an error\\.$#"
+ message: '#^Binary operation "\+\=" between \(float\|int\) and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/DatabaseInterface.php
+
+ -
+ message: '#^Binary operation "\+\=" between mixed and string\|null results in an error\.$#'
+ identifier: assignOp.invalid
count: 5
path: src/DatabaseInterface.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Cannot access an offset on mixed\\.$#"
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Cannot access offset string\\|null on mixed\\.$#"
+ message: '#^Cannot access offset string\|null on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 3
path: src/DatabaseInterface.php
-
- message: "#^Cannot cast mixed to string\\.$#"
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Foreach overwrites \\$database with its value variable\\.$#"
+ message: '#^Foreach overwrites \$database with its value variable\.$#'
+ identifier: foreach.valueOverwrite
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Foreach overwrites \\$table with its value variable\\.$#"
+ message: '#^Foreach overwrites \$table with its value variable\.$#'
+ identifier: foreach.valueOverwrite
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Method PhpMyAdmin\\\\DatabaseInterface\\:\\:affectedRows\\(\\) should return int\\|numeric\\-string but returns mixed\\.$#"
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Method PhpMyAdmin\\\\DatabaseInterface\\:\\:getColumnNames\\(\\) should return array\\ but returns array\\.$#"
+ message: '#^Method PhpMyAdmin\\DatabaseInterface\:\:affectedRows\(\) should return int\|numeric\-string but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Method PhpMyAdmin\\\\DatabaseInterface\\:\\:getColumnsFull\\(\\) should return array but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\DatabaseInterface\:\:getColumnNames\(\) should return array\ but returns array\\.$#'
+ identifier: return.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Method PhpMyAdmin\\\\DatabaseInterface\\:\\:getCurrentRoles\\(\\) should return array\\ but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\DatabaseInterface\:\:getColumnsFull\(\) should return array\ but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Method PhpMyAdmin\\\\DatabaseInterface\\:\\:getCurrentUser\\(\\) should return string but returns mixed\\.$#"
+ message: '#^Method PhpMyAdmin\\DatabaseInterface\:\:getCurrentRoles\(\) should return list\ but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Method PhpMyAdmin\\\\DatabaseInterface\\:\\:getCurrentUser\\(\\) should return string but returns string\\|null\\.$#"
+ message: '#^Method PhpMyAdmin\\DatabaseInterface\:\:getCurrentUser\(\) should return string but returns mixed\.$#'
+ identifier: return.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Method PhpMyAdmin\\\\DatabaseInterface\\:\\:getTableIndexes\\(\\) should return array\\ but returns array\\.$#"
+ message: '#^Method PhpMyAdmin\\DatabaseInterface\:\:getCurrentUser\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Only booleans are allowed in &&, int\\|false given on the left side\\.$#"
+ message: '#^Method PhpMyAdmin\\DatabaseInterface\:\:getTableIndexes\(\) should return array\ but returns array\\.$#'
+ identifier: return.type
+ count: 1
+ path: src/DatabaseInterface.php
+
+ -
+ message: '#^Only booleans are allowed in &&, int\|false given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 3
path: src/DatabaseInterface.php
-
- message: "#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\\\Dbal\\\\ResultInterface\\|false given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 3
path: src/DatabaseInterface.php
-
- message: "#^Only booleans are allowed in a ternary operator condition, bool\\|string given\\.$#"
+ message: '#^Only booleans are allowed in a ternary operator condition, bool\|string given\.$#'
+ identifier: ternary.condNotBoolean
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Only booleans are allowed in an if condition, int\\|false given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, int\|false given\.$#'
+ identifier: if.condNotBoolean
count: 2
path: src/DatabaseInterface.php
-
- message: "#^Parameter \\#1 \\$a of static method PhpMyAdmin\\\\Query\\\\Utilities\\:\\:usortComparisonCallback\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#1 \$a of static method PhpMyAdmin\\Query\\Utilities\:\:usortComparisonCallback\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, Closure\\(string\\)\\: non\\-empty\\-string given\\.$#"
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, Closure\(string\)\: non\-empty\-string given\.$#'
+ identifier: argument.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, Closure\\(string, PhpMyAdmin\\\\Dbal\\\\ConnectionType\\=\\)\\: non\\-empty\\-string given\\.$#"
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, Closure\(string, PhpMyAdmin\\Dbal\\ConnectionType\=\)\: non\-empty\-string given\.$#'
+ identifier: argument.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Parameter \\#1 \\$haystack of function stripos expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$haystack of function stripos expects string, mixed given\.$#'
+ identifier: argument.type
count: 2
path: src/DatabaseInterface.php
-
- message: "#^Parameter \\#1 \\$path of function basename expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$path of function basename expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Parameter \\#1 \\$string of function strtolower expects string, int\\|string given\\.$#"
+ message: '#^Parameter \#1 \$string of function strtolower expects string, int\|string given\.$#'
+ identifier: argument.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Parameter \\#1 \\$version of static method PhpMyAdmin\\\\Query\\\\Utilities\\:\\:versionToInt\\(\\) expects string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$version of static method PhpMyAdmin\\Query\\Utilities\:\:versionToInt\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Parameter \\#2 \\$b of static method PhpMyAdmin\\\\Query\\\\Utilities\\:\\:usortComparisonCallback\\(\\) expects array, mixed given\\.$#"
+ message: '#^Parameter \#2 \$arrays of function array_diff expects an array of values castable to string, array\ given\.$#'
+ identifier: argument.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Property PhpMyAdmin\\\\DatabaseInterface\\:\\:\\$versionComment \\(string\\) does not accept mixed\\.$#"
+ message: '#^Parameter \#2 \$b of static method PhpMyAdmin\\Query\\Utilities\:\:usortComparisonCallback\(\) expects array\, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Property PhpMyAdmin\\\\DatabaseInterface\\:\\:\\$versionString \\(string\\) does not accept mixed\\.$#"
+ message: '#^Property PhpMyAdmin\\DatabaseInterface\:\:\$versionComment \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
+ message: '#^Property PhpMyAdmin\\DatabaseInterface\:\:\$versionString \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
count: 1
path: src/DatabaseInterface.php
-
- message: "#^Variable \\$roleHost on left side of \\?\\? always exists and is not nullable\\.$#"
+ message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
+ identifier: ternary.shortNotAllowed
+ count: 1
+ path: src/DatabaseInterface.php
+
+ -
+ message: '#^Variable \$roleHost on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.variable
count: 2
path: src/DatabaseInterface.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '''
+ #^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
+ Use dependency injection instead\.$#
+ '''
+ identifier: staticMethod.deprecated
count: 1
path: src/Dbal/DbiMysqli.php
-
- message: "#^Method PhpMyAdmin\\\\Dbal\\\\MysqliResult\\:\\:fetchAllAssoc\\(\\) should return array\\\\> but returns array\\.$#"
+ message: '#^Method PhpMyAdmin\\Dbal\\MysqliResult\:\:fetchAllAssoc\(\) should return list\\> but returns array\.$#'
+ identifier: return.type
count: 1
path: src/Dbal/MysqliResult.php
-
- message: "#^Method PhpMyAdmin\\\\Dbal\\\\MysqliResult\\:\\:fetchAllColumn\\(\\) should return array\\ but returns array\\\\.$#"
+ message: '#^Method PhpMyAdmin\\Dbal\\MysqliResult\:\:fetchAllColumn\(\) should return list\ but returns list\.$#'
+ identifier: return.type
count: 1
path: src/Dbal/MysqliResult.php
-
- message: "#^Method PhpMyAdmin\\\\Dbal\\\\MysqliResult\\:\\:fetchAllKeyPair\\(\\) should return array\\ but returns array\\\\.$#"
+ message: '#^Method PhpMyAdmin\\Dbal\\MysqliResult\:\:fetchAllKeyPair\(\) should return array\ but returns array\\.$#'
+ identifier: return.type
count: 1
path: src/Dbal/MysqliResult.php
-
- message: "#^Method PhpMyAdmin\\\\Dbal\\\\MysqliResult\\:\\:fetchAssoc\\(\\) should return array\\ but returns array\\\\.$#"
+ message: '#^Method PhpMyAdmin\\Dbal\\MysqliResult\:\:fetchAssoc\(\) should return array\ but returns array\\.$#'
+ identifier: return.type
count: 1
path: src/Dbal/MysqliResult.php
-
- message: "#^Method PhpMyAdmin\\\\Dbal\\\\MysqliResult\\:\\:fetchRow\\(\\) should return array\\ but returns array\\.$#"
+ message: '#^Method PhpMyAdmin\\Dbal\\MysqliResult\:\:fetchRow\(\) should return list\ but returns array\.$#'
+ identifier: return.type
count: 1
path: src/Dbal/MysqliResult.php
-
- message: "#^Parameter \\#1 \\$field of class PhpMyAdmin\\\\FieldMetadata constructor expects object\\{name\\: string, orgname\\: string, table\\: string, orgtable\\: string, max_length\\: int, length\\: int, charsetnr\\: int, flags\\: int, type\\: int, decimals\\: int, db\\: string, def\\: string, catalog\\: string\\}, object\\{name\\: string, orgname\\: string, table\\: string, orgtable\\: string, def\\: string, db\\: string, catalog\\: string, max_length\\: int, length\\: int, charsetnr\\: string, flags\\: int, type\\: int, decimals\\: int\\}&stdClass given\\.$#"
+ message: '#^Parameter \#1 \$field of class PhpMyAdmin\\FieldMetadata constructor expects object\{name\: string, orgname\: string, table\: string, orgtable\: string, max_length\: int, length\: int, charsetnr\: int, flags\: int, type\: int, decimals\: int, db\: string, def\: string, catalog\: string\}, object\{name\: string, orgname\: string, table\: string, orgtable\: string, def\: string, db\: string, catalog\: string, max_length\: int, length\: int, charsetnr\: string, flags\: int, type\: int, decimals\: int\}&stdClass given\.$#'
+ identifier: argument.type
count: 1
path: src/Dbal/MysqliResult.php
-
- message: "#^Access to an undefined property PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:\\$expr\\.$#"
+ message: '#^Access to an undefined property PhpMyAdmin\\SqlParser\\Statement\:\:\$expr\.$#'
+ identifier: property.notFound
count: 1
path: src/Display/Results.php
-
- message: "#^Access to an undefined property PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:\\$from\\.$#"
+ message: '#^Access to an undefined property PhpMyAdmin\\SqlParser\\Statement\:\:\$from\.$#'
+ identifier: property.notFound
count: 2
path: src/Display/Results.php
-
- message: "#^Access to an undefined property PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:\\$limit\\.$#"
+ message: '#^Access to an undefined property PhpMyAdmin\\SqlParser\\Statement\:\:\$limit\.$#'
+ identifier: property.notFound
count: 1
path: src/Display/Results.php
-
- message: "#^Access to an undefined property PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:\\$where\\.$#"
+ message: '#^Access to an undefined property PhpMyAdmin\\SqlParser\\Statement\:\:\$where\.$#'
+ identifier: property.notFound
count: 1
path: src/Display/Results.php
-
- message: "#^Access to an undefined property object\\:\\:\\$column\\.$#"
+ message: '#^Access to an undefined property object\:\:\$column\.$#'
+ identifier: property.notFound
count: 1
path: src/Display/Results.php
-
- message: "#^Access to an undefined property object\\:\\:\\$database\\.$#"
+ message: '#^Access to an undefined property object\:\:\$database\.$#'
+ identifier: property.notFound
count: 1
path: src/Display/Results.php
-
- message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
count: 4
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'display_binary' on mixed\\.$#"
+ message: '#^Binary operation "%%" between int\<1, max\> and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and int results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Binary operation "\-" between \(array\|float\|int\) and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Binary operation "\." between non\-empty\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Binary operation "\." between string and \(list\\|string\) results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Binary operation "/" between int and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Binary operation "/" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
+ identifier: arrayFilter.strict
+ count: 3
+ path: src/Display/Results.php
+
+ -
+ message: '#^Cannot access offset ''display_binary'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 8
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'display_blob' on mixed\\.$#"
+ message: '#^Cannot access offset ''display_blob'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 6
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'geoOption' on mixed\\.$#"
+ message: '#^Cannot access offset ''geoOption'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 8
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'hide_transformation' on mixed\\.$#"
+ message: '#^Cannot access offset ''hide_transformation'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 8
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'max_rows' on mixed\\.$#"
+ message: '#^Cannot access offset ''max_rows'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 18
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'pftext' on mixed\\.$#"
+ message: '#^Cannot access offset ''pftext'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 9
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'pos' on mixed\\.$#"
+ message: '#^Cannot access offset ''pos'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 11
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'possible_as_geometry' on mixed\\.$#"
+ message: '#^Cannot access offset ''possible_as_geometry'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'query' on mixed\\.$#"
+ message: '#^Cannot access offset ''query'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 6
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'relational_display' on mixed\\.$#"
+ message: '#^Cannot access offset ''relational_display'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 7
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'repeat_cells' on mixed\\.$#"
+ message: '#^Cannot access offset ''repeat_cells'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 5
path: src/Display/Results.php
-
- message: "#^Cannot access offset 'sql' on mixed\\.$#"
+ message: '#^Cannot access offset ''sql'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Display/Results.php
-
- message: "#^Cannot access offset 0 on mixed\\.$#"
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Display/Results.php
-
- message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
+ message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Display/Results.php
-
- message: "#^Cannot access offset non\\-falsy\\-string on mixed\\.$#"
+ message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
count: 4
path: src/Display/Results.php
-
- message: "#^Cannot access property \\$alias on mixed\\.$#"
+ message: '#^Cannot access property \$alias on mixed\.$#'
+ identifier: property.nonObject
count: 1
path: src/Display/Results.php
-
- message: "#^Cannot access property \\$column on PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|null\\.$#"
+ message: '#^Cannot access property \$column on PhpMyAdmin\\SqlParser\\Components\\Expression\|null\.$#'
+ identifier: property.nonObject
count: 1
path: src/Display/Results.php
-
- message: "#^Cannot access property \\$expr on PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|null\\.$#"
+ message: '#^Cannot access property \$expr on PhpMyAdmin\\SqlParser\\Components\\Expression\|null\.$#'
+ identifier: property.nonObject
count: 2
path: src/Display/Results.php
-
- message: "#^Cannot access property \\$identifiers on mixed\\.$#"
+ message: '#^Cannot access property \$identifiers on mixed\.$#'
+ identifier: property.nonObject
count: 1
path: src/Display/Results.php
-
- message: "#^Cannot access property \\$offset on mixed\\.$#"
+ message: '#^Cannot access property \$offset on mixed\.$#'
+ identifier: property.nonObject
count: 1
path: src/Display/Results.php
-
- message: "#^Cannot access property \\$rowCount on mixed\\.$#"
+ message: '#^Cannot access property \$rowCount on mixed\.$#'
+ identifier: property.nonObject
count: 1
path: src/Display/Results.php
-
- message: "#^Cannot access property \\$table on mixed\\.$#"
+ message: '#^Cannot access property \$table on mixed\.$#'
+ identifier: property.nonObject
count: 2
path: src/Display/Results.php
-
- message: "#^Cannot cast mixed to int\\.$#"
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
count: 6
path: src/Display/Results.php
-
- message: "#^Casting to int something that's already int\\<1, max\\>\\.$#"
+ message: '#^Casting to int something that''s already int\<1, max\>\.$#'
+ identifier: cast.useless
count: 1
path: src/Display/Results.php
-
- message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
+ message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
+ identifier: empty.notAllowed
count: 24
path: src/Display/Results.php
-
- message: "#^Method PhpMyAdmin\\\\Display\\\\Results\\:\\:getSortByKeyDropDown\\(\\) return type has no value type specified in iterable type array\\.$#"
+ message: '#^Loose comparison via "\!\=" is not allowed\.$#'
+ identifier: notEqual.notAllowed
+ count: 6
+ path: src/Display/Results.php
+
+ -
+ message: '#^Loose comparison via "\=\=" is not allowed\.$#'
+ identifier: equal.notAllowed
+ count: 8
+ path: src/Display/Results.php
+
+ -
+ message: '#^Method PhpMyAdmin\\Display\\Results\:\:getSortByKeyDropDown\(\) return type has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
count: 2
path: src/Display/Results.php
-
- message: "#^Method PhpMyAdmin\\\\Display\\\\Results\\:\\:getTableHeaders\\(\\) return type has no value type specified in iterable type array\\.$#"
+ message: '#^Method PhpMyAdmin\\Display\\Results\:\:getTableHeaders\(\) return type has no value type specified in iterable type array\.$#'
+ identifier: missingType.iterableValue
count: 2
path: src/Display/Results.php
-
- message: "#^Offset 3 does not exist on array\\{string\\|null, string\\|null, string\\|null\\}\\.$#"
+ message: '#^Offset 3 does not exist on array\{string\|null, string\|null, string\|null\}\.$#'
+ identifier: offsetAccess.notFound
count: 1
path: src/Display/Results.php
-
- message: "#^Only booleans are allowed in &&, array\\|bool given on the left side\\.$#"
+ message: '#^Only booleans are allowed in &&, array\\|bool given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 1
path: src/Display/Results.php
-
- message: "#^Only booleans are allowed in &&, mixed given on the left side\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Only booleans are allowed in &&, string\\|null given on the left side\\.$#"
+ message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 3
path: src/Display/Results.php
-
- message: "#^Only booleans are allowed in a negated boolean, int\\|string\\|null given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Only booleans are allowed in a negated boolean, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Only booleans are allowed in a ternary operator condition, int\\<0, max\\>\\|false given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Only booleans are allowed in a ternary operator condition, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Only booleans are allowed in \\|\\|, int\\<0, max\\>\\|false given on the left side\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#1 \\$array of function array_shift expects array, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:getComments\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#1 \\$db of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:getDisplayField\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#1 \\$haystack of function str_contains expects string, mixed given\\.$#"
+ message: '#^Only booleans are allowed in &&, string\|null given on the left side\.$#'
+ identifier: booleanAnd.leftNotBoolean
count: 3
path: src/Display/Results.php
-
- message: "#^Parameter \\#1 \\$offset of method PhpMyAdmin\\\\Dbal\\\\ResultInterface\\:\\:seek\\(\\) expects int, float\\|int given\\.$#"
- count: 2
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#1 \\$params of static method PhpMyAdmin\\\\Url\\:\\:getCommonRaw\\(\\) expects array\\, array\\ given\\.$#"
- count: 2
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#1 \\$sqlQuery of static method PhpMyAdmin\\\\Core\\:\\:signSqlQuery\\(\\) expects string, mixed given\\.$#"
+ message: '#^Only booleans are allowed in a negated boolean, int\|string\|null given\.$#'
+ identifier: booleanNot.exprNotBoolean
count: 1
path: src/Display/Results.php
-
- message: "#^Parameter \\#1 \\$statement of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:replaceClause\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\Statement, PhpMyAdmin\\\\SqlParser\\\\Statement\\|null given\\.$#"
- count: 2
+ message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
+ identifier: booleanNot.exprNotBoolean
+ count: 5
path: src/Display/Results.php
-
- message: "#^Parameter \\#1 \\$table of class PhpMyAdmin\\\\Display\\\\ForeignKeyRelatedTable constructor expects string, mixed given\\.$#"
+ message: '#^Only booleans are allowed in a ternary operator condition, int\<0, max\>\|false given\.$#'
+ identifier: ternary.condNotBoolean
count: 1
path: src/Display/Results.php
-
- message: "#^Parameter \\#1 \\$table of class PhpMyAdmin\\\\Display\\\\ForeignKeyRelatedTable constructor expects string, string\\|null given\\.$#"
+ message: '#^Only booleans are allowed in a ternary operator condition, mixed given\.$#'
+ identifier: ternary.condNotBoolean
count: 1
path: src/Display/Results.php
-
- message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
- count: 2
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#1 \\$value of static method PhpMyAdmin\\\\Util\\:\\:formatNumber\\(\\) expects float\\|int\\|string, int\\|string\\|false given\\.$#"
+ message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
+ identifier: if.condNotBoolean
count: 1
path: src/Display/Results.php
-
- message: "#^Parameter \\#2 \\$field of class PhpMyAdmin\\\\Display\\\\ForeignKeyRelatedTable constructor expects string, mixed given\\.$#"
+ message: '#^Only booleans are allowed in \|\|, int\<0, max\>\|false given on the left side\.$#'
+ identifier: booleanOr.leftNotBoolean
count: 1
path: src/Display/Results.php
-
- message: "#^Parameter \\#2 \\$list of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:getClause\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\TokensList, PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null given\\.$#"
- count: 2
+ message: '#^Only booleans are allowed in \|\|, mixed given on the right side\.$#'
+ identifier: booleanOr.rightNotBoolean
+ count: 1
path: src/Display/Results.php
-
- message: "#^Parameter \\#2 \\$list of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:replaceClause\\(\\) expects PhpMyAdmin\\\\SqlParser\\\\TokensList, PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null given\\.$#"
+ message: '#^Only numeric types are allowed in \-, \(array\|float\|int\) given on the left side\.$#'
+ identifier: minus.leftNonNumeric
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#1 \$array of function array_shift expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getComments\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#1 \$db of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
+ identifier: argument.type
count: 3
path: src/Display/Results.php
-
- message: "#^Parameter \\#2 \\$rows of static method PhpMyAdmin\\\\Util\\:\\:pageselector\\(\\) expects int, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#2 \\$string2 of function strcasecmp expects string, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#2 \\$table of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:getComments\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#2 \\$table of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:getDisplayField\\(\\) expects string, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#2 \\$table of method PhpMyAdmin\\\\ConfigStorage\\\\Relation\\:\\:getDisplayField\\(\\) expects string, string\\|null given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#3 \\$colOrder of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getRowValues\\(\\) expects array\\|false, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, mixed given\\.$#"
- count: 3
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#4 \\$database of class PhpMyAdmin\\\\Display\\\\ForeignKeyRelatedTable constructor expects string, mixed given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#4 \\$sortExpressionNoDirection of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getTableHeaders\\(\\) expects array\\, array\\ given\\.$#"
- count: 1
- path: src/Display/Results.php
-
- -
- message: "#^Parameter \\#5 \\$expressions of class PhpMyAdmin\\\\UniqueCondition constructor expects array\\, array\\ given\\.$#"
+ message: '#^Parameter \#1 \$offset of method PhpMyAdmin\\Dbal\\ResultInterface\:\:seek\(\) expects int, float\|int given\.$#'
+ identifier: argument.type
count: 2
path: src/Display/Results.php
-
- message: "#^Parameter \\#5 \\$isFieldTruncated of method PhpMyAdmin\\\\Display\\\\Results\\:\\:addClass\\(\\) expects bool, mixed given\\.$#"
+ message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommonRaw\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#1 \$sqlQuery of static method PhpMyAdmin\\Core\:\:signSqlQuery\(\) expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Display/Results.php
-
- message: "#^Parameter \\#5 \\$sortDirection of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getSingleAndMultiSortUrls\\(\\) expects array\\, array given\\.$#"
+ message: '#^Parameter \#1 \$statement of static method PhpMyAdmin\\SqlParser\\Utils\\Query\:\:replaceClause\(\) expects PhpMyAdmin\\SqlParser\\Statement, PhpMyAdmin\\SqlParser\\Statement\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#1 \$table of class PhpMyAdmin\\Display\\ForeignKeyRelatedTable constructor expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Display/Results.php
-
- message: "#^Parameter \\#6 \\$colVisib of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getRowValues\\(\\) expects array\\|bool\\|string, mixed given\\.$#"
+ message: '#^Parameter \#1 \$table of class PhpMyAdmin\\Display\\ForeignKeyRelatedTable constructor expects string, string\|null given\.$#'
+ identifier: argument.type
count: 1
path: src/Display/Results.php
-
- message: "#^Parameter \\#8 \\$colVisib of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getOrderLinkAndSortedHeaderHtml\\(\\) expects array\\|bool, mixed given\\.$#"
+ message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatNumber\(\) expects float\|int\|string, int\|string\|false given\.$#'
+ identifier: argument.type
count: 1
path: src/Display/Results.php
-
- message: "#^Parameter \\#9 \\$colVisibElement of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getOrderLinkAndSortedHeaderHtml\\(\\) expects int\\|string\\|null, mixed given\\.$#"
+ message: '#^Parameter \#2 \$field of class PhpMyAdmin\\Display\\ForeignKeyRelatedTable constructor expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Display/Results.php
-
- message: "#^Parameter \\$expressions of class PhpMyAdmin\\\\UniqueCondition constructor expects array\\, array\\ given\\.$#"
+ message: '#^Parameter \#2 \$list of static method PhpMyAdmin\\SqlParser\\Utils\\Query\:\:getClause\(\) expects PhpMyAdmin\\SqlParser\\TokensList, PhpMyAdmin\\SqlParser\\TokensList\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#2 \$list of static method PhpMyAdmin\\SqlParser\\Utils\\Query\:\:replaceClause\(\) expects PhpMyAdmin\\SqlParser\\TokensList, PhpMyAdmin\\SqlParser\\TokensList\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#2 \$rows of static method PhpMyAdmin\\Util\:\:pageselector\(\) expects int, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Display/Results.php
-
- message: "#^Property PhpMyAdmin\\\\FieldMetadata\\:\\:\\$name \\(string\\) does not accept mixed\\.$#"
+ message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Display/Results.php
-
- message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
+ message: '#^Parameter \#2 \$string2 of function strcasecmp expects string, mixed given\.$#'
+ identifier: argument.type
count: 1
path: src/Display/Results.php
-
- message: """
- #^Call to deprecated method getInstance\\(\\) of class PhpMyAdmin\\\\Config\\:
- Use dependency injection instead\\.$#
- """
+ message: '#^Parameter \#2 \$table of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getComments\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#2 \$table of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#2 \$table of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#3 \$colOrder of method PhpMyAdmin\\Display\\Results\:\:getRowValues\(\) expects array\\|false, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#4 \$database of class PhpMyAdmin\\Display\\ForeignKeyRelatedTable constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#4 \$sortExpressionNoDirection of method PhpMyAdmin\\Display\\Results\:\:getTableHeaders\(\) expects array\, list\ given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#5 \$expressions of class PhpMyAdmin\\UniqueCondition constructor expects array\, array\ given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#5 \$sortDirection of method PhpMyAdmin\\Display\\Results\:\:getSingleAndMultiSortUrls\(\) expects array\, array\ given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#6 \$colVisib of method PhpMyAdmin\\Display\\Results\:\:getRowValues\(\) expects array\\|bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#8 \$colVisib of method PhpMyAdmin\\Display\\Results\:\:getOrderLinkAndSortedHeaderHtml\(\) expects array\\|bool, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \#9 \$colVisibElement of method PhpMyAdmin\\Display\\Results\:\:getOrderLinkAndSortedHeaderHtml\(\) expects int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Display/Results.php
+
+ -
+ message: '#^Parameter \$expressions of class PhpMyAdmin\\UniqueCondition constructor expects array\