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:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2022-11-05 19:41:14 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2022-11-05 19:41:14 +0300
commit35852a05d30a0a5cc2d7b0c77ef429f1f57666c8 (patch)
tree8b37930ee122a05606bd5bf4852316ac1a09968e
parentb3aaeded6c119cb0f13ed5d477e836cd7b76f9f3 (diff)
Update PHPStan baseline
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
-rw-r--r--phpstan-baseline.neon100
1 files changed, 0 insertions, 100 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 00e940af5d..0417e32b97 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -36,11 +36,6 @@ parameters:
path: libraries/classes/Advisor.php
-
- message: "#^Parameter \\#3 \\$subject of function preg_replace_callback expects array\\|string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Advisor.php
-
- -
message: "#^Property PhpMyAdmin\\\\Advisor\\:\\:\\$globals type has no value type specified in iterable type array\\.$#"
count: 1
path: libraries/classes/Advisor.php
@@ -126,11 +121,6 @@ parameters:
path: libraries/classes/CheckUserPrivileges.php
-
- message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/CheckUserPrivileges.php
-
- -
message: "#^Cannot call method getExtension\\(\\) on mixed\\.$#"
count: 1
path: libraries/classes/Command/CacheWarmupCommand.php
@@ -1331,11 +1321,6 @@ parameters:
path: libraries/classes/Controllers/Import/ImportController.php
-
- message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Controllers/Import/ImportController.php
-
- -
message: "#^Parameter \\#1 \\$dependencies of method PhpMyAdmin\\\\Normalization\\:\\:getHtmlForNewTables3NF\\(\\) expects object, mixed given\\.$#"
count: 1
path: libraries/classes/Controllers/NormalizationController.php
@@ -1596,21 +1581,6 @@ parameters:
path: libraries/classes/Controllers/Table/SearchController.php
-
- message: "#^Parameter \\#1 \\$str of function strtoupper expects string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Controllers/Table/SearchController.php
-
- -
- message: "#^Parameter \\#1 \\$type of method PhpMyAdmin\\\\Types\\:\\:getIntegerRange\\(\\) expects string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Controllers/Table/SearchController.php
-
- -
- message: "#^Parameter \\#1 \\$type of method PhpMyAdmin\\\\Types\\:\\:getTypeOperatorsHtml\\(\\) expects string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Controllers/Table/SearchController.php
-
- -
message: "#^Property PhpMyAdmin\\\\Controllers\\\\Table\\\\SearchController\\:\\:\\$columnCollations type has no value type specified in iterable type array\\.$#"
count: 1
path: libraries/classes/Controllers/Table/SearchController.php
@@ -1781,21 +1751,6 @@ parameters:
path: libraries/classes/Controllers/Table/ZoomSearchController.php
-
- message: "#^Parameter \\#1 \\$str of function strtoupper expects string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Controllers/Table/ZoomSearchController.php
-
- -
- message: "#^Parameter \\#1 \\$type of method PhpMyAdmin\\\\Types\\:\\:getIntegerRange\\(\\) expects string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Controllers/Table/ZoomSearchController.php
-
- -
- message: "#^Parameter \\#1 \\$type of method PhpMyAdmin\\\\Types\\:\\:getTypeOperatorsHtml\\(\\) expects string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Controllers/Table/ZoomSearchController.php
-
- -
message: "#^Parameter \\#2 \\$column_index of method PhpMyAdmin\\\\Controllers\\\\Table\\\\ZoomSearchController\\:\\:getColumnProperties\\(\\) expects int, int\\|string\\|false given\\.$#"
count: 1
path: libraries/classes/Controllers/Table/ZoomSearchController.php
@@ -4381,11 +4336,6 @@ parameters:
path: libraries/classes/Header.php
-
- message: "#^Cannot cast array\\<int, string\\>\\|string\\|null to string\\.$#"
- count: 1
- path: libraries/classes/Html/Generator.php
-
- -
message: "#^Method PhpMyAdmin\\\\Html\\\\Generator\\:\\:getDefaultFunctionForField\\(\\) has parameter \\$field with no value type specified in iterable type array\\.$#"
count: 1
path: libraries/classes/Html/Generator.php
@@ -4586,16 +4536,6 @@ parameters:
path: libraries/classes/Import.php
-
- message: "#^Parameter \\#1 \\$sql of method PhpMyAdmin\\\\Import\\:\\:runQuery\\(\\) expects string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Import.php
-
- -
- message: "#^Parameter \\#2 \\$full of method PhpMyAdmin\\\\Import\\:\\:runQuery\\(\\) expects string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Import.php
-
- -
message: "#^Method PhpMyAdmin\\\\Import\\\\Ajax\\:\\:uploadProgressSetup\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: libraries/classes/Import/Ajax.php
@@ -5816,11 +5756,6 @@ parameters:
path: libraries/classes/Plugins/Auth/AuthenticationCookie.php
-
- message: "#^Binary operation \"\\.\" between 'WWW\\-Authenticate\\:…' and array\\<int, string\\>\\|string\\|null results in an error\\.$#"
- count: 1
- path: libraries/classes/Plugins/Auth/AuthenticationHttp.php
-
- -
message: "#^Property PhpMyAdmin\\\\Plugins\\\\AuthenticationPlugin\\:\\:\\$user \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: libraries/classes/Plugins/Auth/AuthenticationHttp.php
@@ -5971,21 +5906,11 @@ parameters:
path: libraries/classes/Plugins/Export/ExportPdf.php
-
- message: "#^Binary operation \"\\.\" between '_' and array\\<int, string\\>\\|string\\|null results in an error\\.$#"
- count: 1
- path: libraries/classes/Plugins/Export/ExportPhparray.php
-
- -
message: "#^Method PhpMyAdmin\\\\Plugins\\\\Export\\\\ExportPhparray\\:\\:exportData\\(\\) has parameter \\$aliases with no value type specified in iterable type array\\.$#"
count: 1
path: libraries/classes/Plugins/Export/ExportPhparray.php
-
- message: "#^Parameter \\#2 \\$subject of function preg_match expects string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Plugins/Export/ExportPhparray.php
-
- -
message: "#^Binary operation \"\\.\" between 'FOREIGN KEY ' and array\\|string results in an error\\.$#"
count: 1
path: libraries/classes/Plugins/Export/ExportSql.php
@@ -6061,11 +5986,6 @@ parameters:
path: libraries/classes/Plugins/Export/ExportSql.php
-
- message: "#^Parameter \\#1 \\$list of class PhpMyAdmin\\\\SqlParser\\\\Parser constructor expects PhpMyAdmin\\\\SqlParser\\\\TokensList\\|PhpMyAdmin\\\\SqlParser\\\\UtfString\\|string\\|null, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Plugins/Export/ExportSql.php
-
- -
message: "#^Parameter \\#1 \\$str of function strtoupper expects string, mixed given\\.$#"
count: 1
path: libraries/classes/Plugins/Export/ExportSql.php
@@ -7291,11 +7211,6 @@ parameters:
path: libraries/classes/Server/Plugins.php
-
- message: "#^Binary operation \"\\.\" between 'PASSWORD\\(\\\\'' and array\\<int, string\\>\\|string\\|null results in an error\\.$#"
- count: 2
- path: libraries/classes/Server/Privileges.php
-
- -
message: "#^Method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:addUser\\(\\) has parameter \\$dbname with no value type specified in iterable type array\\.$#"
count: 1
path: libraries/classes/Server/Privileges.php
@@ -8471,11 +8386,6 @@ parameters:
path: libraries/classes/Table/ColumnsDefinition.php
-
- message: "#^Parameter \\#1 \\$str of function rtrim expects string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Table/ColumnsDefinition.php
-
- -
message: "#^Parameter \\#1 \\$str of function trim expects string, mixed given\\.$#"
count: 1
path: libraries/classes/Table/ColumnsDefinition.php
@@ -8561,11 +8471,6 @@ parameters:
path: libraries/classes/ThemeManager.php
-
- message: "#^Binary operation \"\\.\" between non\\-falsy\\-string and array\\<int, string\\>\\|string\\|null results in an error\\.$#"
- count: 1
- path: libraries/classes/Tracker.php
-
- -
message: "#^Cannot access property \\$table on PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|string\\.$#"
count: 1
path: libraries/classes/Tracker.php
@@ -8866,11 +8771,6 @@ parameters:
path: libraries/classes/Tracking.php
-
- message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, array\\<int, string\\>\\|string\\|null given\\.$#"
- count: 1
- path: libraries/classes/Tracking.php
-
- -
message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, mixed given\\.$#"
count: 1
path: libraries/classes/Tracking.php