Enable checkDynamicProperties

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela 2023-02-14 21:17:15 +00:00
parent f944f7dcd2
commit 51a855a5cc
2 changed files with 56 additions and 0 deletions

View File

@ -3585,6 +3585,36 @@ parameters:
count: 1
path: libraries/classes/Dbal/MysqliResult.php
-
message: "#^Access to an undefined property PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:\\$expr\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Access to an undefined property PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:\\$from\\.$#"
count: 2
path: libraries/classes/Display/Results.php
-
message: "#^Access to an undefined property PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:\\$limit\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Access to an undefined property PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:\\$where\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Access to an undefined property object\\:\\:\\$column\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Access to an undefined property object\\:\\:\\$database\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
count: 2
@ -5655,6 +5685,11 @@ parameters:
count: 1
path: libraries/classes/Navigation/Navigation.php
-
message: "#^Access to an undefined property PhpMyAdmin\\\\Navigation\\\\Nodes\\\\Node\\:\\:\\$secondIcon\\.$#"
count: 2
path: libraries/classes/Navigation/NavigationTree.php
-
message: "#^Cannot access property \\$pos2 on PhpMyAdmin\\\\Navigation\\\\Nodes\\\\Node\\|null\\.$#"
count: 1
@ -8340,6 +8375,11 @@ parameters:
count: 1
path: libraries/classes/Sql.php
-
message: "#^Access to an undefined property PhpMyAdmin\\\\SqlParser\\\\Statement\\:\\:\\$where\\.$#"
count: 1
path: libraries/classes/Sql.php
-
message: "#^Method PhpMyAdmin\\\\Sql\\:\\:countQueryResults\\(\\) should return int\\|numeric\\-string but returns mixed\\.$#"
count: 1
@ -9545,6 +9585,21 @@ parameters:
count: 1
path: libraries/classes/Utils/HttpRequest.php
-
message: "#^Access to an undefined property object\\:\\:\\$date\\.$#"
count: 1
path: libraries/classes/VersionInformation.php
-
message: "#^Access to an undefined property object\\:\\:\\$releases\\.$#"
count: 1
path: libraries/classes/VersionInformation.php
-
message: "#^Access to an undefined property object\\:\\:\\$version\\.$#"
count: 1
path: libraries/classes/VersionInformation.php
-
message: "#^Comparison operation \"\\>\\=\" between int\\<1, max\\> and 1 is always true\\.$#"
count: 1

View File

@ -34,3 +34,4 @@ parameters:
checkAlwaysTrueStrictComparison: true
checkUninitializedProperties: true
polluteScopeWithAlwaysIterableForeach: true
checkDynamicProperties: true