Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpistej <pistej2@gmail.com>2022-11-01 01:51:28 +0300
committerGitHub <noreply@github.com>2022-11-01 01:51:28 +0300
commit1d619c11ad032300bd174cd72f74195067618ee7 (patch)
treede44b7ca06ac5d9aa9fdd54ac9f2ce364d538c70 /phpstan-baseline.neon
parent40c6614c3a52b657e04af522c8260f2eaf370881 (diff)
Ref #17769 - ServerRequest Object instead superglobals - DB controllers (#17854)
* Use ServerRequest Object instead superglobals - DB controllers Signed-off-by: Jozef Pistej <pistej2@gmail.com> * fixed phpstan Signed-off-by: Jozef Pistej <pistej2@gmail.com> Signed-off-by: Jozef Pistej <pistej2@gmail.com>
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon45
1 files changed, 45 insertions, 0 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 353d2b3e18..e021197269 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -1096,6 +1096,51 @@ parameters:
path: libraries/classes/Controllers/Database/SqlFormatController.php
-
+ message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
+ count: 1
+ path: libraries/classes/Controllers/Database/Structure/CopyTableWithPrefixController.php
+
+ -
+ message: "#^Cannot cast mixed to string\\.$#"
+ count: 1
+ path: libraries/classes/Controllers/Database/Structure/CopyTableWithPrefixController.php
+
+ -
+ message: "#^Parameter \\#1 \\$str of function mb_substr expects string, mixed given\\.$#"
+ count: 1
+ path: libraries/classes/Controllers/Database/Structure/CopyTableWithPrefixController.php
+
+ -
+ message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, mixed given\\.$#"
+ count: 1
+ path: libraries/classes/Controllers/Database/Structure/CopyTableWithPrefixController.php
+
+ -
+ message: "#^Parameter \\#2 \\$sourceTable of static method PhpMyAdmin\\\\Table\\:\\:moveCopy\\(\\) expects string, mixed given\\.$#"
+ count: 1
+ path: libraries/classes/Controllers/Database/Structure/CopyTableWithPrefixController.php
+
+ -
+ message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ count: 2
+ path: libraries/classes/Controllers/Database/Structure/DropFormController.php
+
+ -
+ message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, mixed given\\.$#"
+ count: 2
+ path: libraries/classes/Controllers/Database/Structure/DropFormController.php
+
+ -
+ message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
+ count: 1
+ path: libraries/classes/Controllers/Database/Structure/EmptyFormController.php
+
+ -
+ message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, mixed given\\.$#"
+ count: 1
+ path: libraries/classes/Controllers/Database/Structure/EmptyFormController.php
+
+ -
message: "#^Cannot access offset non\\-empty\\-string on mixed\\.$#"
count: 1
path: libraries/classes/Controllers/Database/Structure/FavoriteTableController.php