diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 14822d5a40..f43d66a963 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -417,7 +417,7 @@ parameters: - message: "#^Cannot access offset 'wrapper_params' on mixed\\.$#" - count: 2 + count: 1 path: libraries/classes/Config/FormDisplay.php - @@ -732,7 +732,7 @@ parameters: - message: "#^Cannot access offset mixed on mixed\\.$#" - count: 3 + count: 2 path: libraries/classes/Config/Validator.php - @@ -5616,7 +5616,7 @@ parameters: path: libraries/classes/ParseAnalyze.php - - message: "#^Offset 'select_tables' on array\\{distinct\\?\\: bool, drop_database\\?\\: bool, group\\?\\: bool, having\\?\\: bool, is_affected\\?\\: bool, is_analyse\\?\\: bool, is_count\\?\\: bool, is_delete\\?\\: bool, \\.\\.\\.\\}&array\\{select_expr\\?\\: array\\, select_tables\\?\\: array\\, statement\\?\\: PhpMyAdmin\\\\SqlParser\\\\Statement\\|null, parser\\?\\: PhpMyAdmin\\\\SqlParser\\\\Parser\\} in empty\\(\\) does not exist\\.$#" + message: "#^Offset 'select_tables' on array\\{distinct\\?\\: bool, drop_database\\?\\: bool, group\\?\\: bool, having\\?\\: bool, is_affected\\?\\: bool, is_analyse\\?\\: bool, is_count\\?\\: bool, is_delete\\?\\: bool, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#" count: 1 path: libraries/classes/ParseAnalyze.php @@ -9280,6 +9280,11 @@ parameters: count: 1 path: test/classes/Config/SettingsTest.php + - + message: "#^Cannot unset offset mixed on array\\{\\}\\.$#" + count: 2 + path: test/classes/ConfigStorage/RelationTest.php + - message: "#^Method PhpMyAdmin\\\\Tests\\\\ConfigTest\\:\\:configPaths\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1