diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2021-02-07 19:38:11 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2021-02-07 19:38:11 +0300 |
commit | 28b3a371ac45bbc37c26386b04553cfbacc25791 (patch) | |
tree | f9d428d706b11823dbc1336eb4343e9496a76a62 /phpstan-baseline.neon | |
parent | 00be6fda78e80b44aafe1bc7625a1b2fb43c966a (diff) |
Update PHPStan baseline
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r-- | phpstan-baseline.neon | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index f60f4f61c3..1f29b310d4 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -291,6 +291,11 @@ parameters: path: libraries/classes/Controllers/Table/ZoomSearchController.php - + message: "#^Variable \\$error_handler in PHPDoc tag @var does not exist\\.$#" + count: 1 + path: libraries/classes/Core.php + + - message: "#^Comparison operation \"\\<\" between 1 and 43 is always true\\.$#" count: 1 path: libraries/classes/Core.php @@ -306,6 +311,11 @@ parameters: path: libraries/classes/Database/CentralColumns.php - + message: "#^Variable \\$dbi in PHPDoc tag @var does not exist\\.$#" + count: 1 + path: libraries/classes/Database/Designer.php + + - message: "#^Offset 'DTN' does not exist on array\\('C_NAME' \\=\\> array\\<int, string\\>, \\?'DCN' \\=\\> array\\<int, string\\>&nonEmpty, \\?'DTN' \\=\\> array\\<int, string\\>&nonEmpty, \\?'SCN' \\=\\> array\\<int, string\\>&nonEmpty, \\?'STN' \\=\\> array\\<int, string\\>&nonEmpty\\)\\.$#" count: 1 path: libraries/classes/Database/Designer/Common.php @@ -1051,16 +1061,31 @@ parameters: path: libraries/classes/Linter.php - + message: "#^Variable \\$dbi in PHPDoc tag @var does not exist\\.$#" + count: 4 + path: libraries/classes/Menu.php + + - message: "#^Method PhpMyAdmin\\\\Menu\\:\\:getAllowedTabs\\(\\) should return array but returns array\\|null\\.$#" count: 1 path: libraries/classes/Menu.php - + message: "#^Variable \\$PMA_Theme in PHPDoc tag @var does not exist\\.$#" + count: 1 + path: libraries/classes/Navigation/Navigation.php + + - message: "#^Unreachable statement \\- code above always terminates\\.$#" count: 1 path: libraries/classes/Navigation/Nodes/Node.php - + message: "#^Variable \\$dbi in PHPDoc tag @var does not exist\\.$#" + count: 5 + path: libraries/classes/Navigation/Nodes/Node.php + + - message: "#^Cannot access property \\$realName on PhpMyAdmin\\\\Navigation\\\\Nodes\\\\Node\\|false\\.$#" count: 1 path: libraries/classes/Navigation/Nodes/NodeDatabaseChild.php @@ -1916,6 +1941,11 @@ parameters: path: libraries/classes/Replication.php - + message: "#^Variable \\$dbi in PHPDoc tag @var does not exist\\.$#" + count: 1 + path: libraries/classes/ReplicationGui.php + + - message: "#^Method PhpMyAdmin\\\\Sanitize\\:\\:sanitizeFilename\\(\\) should return string but returns string\\|null\\.$#" count: 1 path: libraries/classes/Sanitize.php @@ -2406,6 +2436,11 @@ parameters: path: test/classes/TableTest.php - + message: "#^Variable \\$dbi in PHPDoc tag @var does not exist\\.$#" + count: 2 + path: test/classes/TableTest.php + + - message: "#^Property PhpMyAdmin\\\\Theme\\:\\:\\$mtimeInfo \\(int\\) does not accept int\\|false\\.$#" count: 1 path: test/classes/ThemeTest.php |