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:
-rw-r--r--phpstan-baseline.neon48
-rw-r--r--psalm-baseline.xml12
2 files changed, 33 insertions, 27 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index ee13ec685e..1c03b2ea93 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -1306,6 +1306,11 @@ parameters:
path: libraries/classes/Controllers/Import/ImportController.php
-
+ message: "#^Parameter \\#2 \\$size of method PhpMyAdmin\\\\Import\\:\\:getNextChunk\\(\\) expects int, float\\|int 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
@@ -2041,22 +2046,22 @@ parameters:
path: libraries/classes/Database/Designer/Common.php
-
- message: "#^Offset 'DCN' does not exist on array\\{C_NAME\\: array\\<int\\<0, max\\>, string\\>, DCN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DTN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-empty\\-string\\>, SCN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, STN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-empty\\-string\\>\\}\\.$#"
+ message: "#^Offset 'DCN' does not exist on array\\{C_NAME\\: array\\{\\}\\}\\|array\\{C_NAME\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DCN\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DTN\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-falsy\\-string\\>, SCN\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, STN\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-falsy\\-string\\>\\}\\.$#"
count: 1
path: libraries/classes/Database/Designer/Common.php
-
- message: "#^Offset 'DTN' does not exist on array\\{C_NAME\\: array\\<int\\<0, max\\>, string\\>, DCN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DTN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-empty\\-string\\>, SCN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, STN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-empty\\-string\\>\\}\\.$#"
+ message: "#^Offset 'DTN' does not exist on array\\{C_NAME\\: array\\{\\}\\}\\|array\\{C_NAME\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DCN\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DTN\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-falsy\\-string\\>, SCN\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, STN\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-falsy\\-string\\>\\}\\.$#"
count: 1
path: libraries/classes/Database/Designer/Common.php
-
- message: "#^Offset 'SCN' does not exist on array\\{C_NAME\\: array\\<int\\<0, max\\>, string\\>, DCN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DTN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-empty\\-string\\>, SCN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, STN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-empty\\-string\\>\\}\\.$#"
+ message: "#^Offset 'SCN' does not exist on array\\{C_NAME\\: array\\{\\}\\}\\|array\\{C_NAME\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DCN\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DTN\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-falsy\\-string\\>, SCN\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, STN\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-falsy\\-string\\>\\}\\.$#"
count: 1
path: libraries/classes/Database/Designer/Common.php
-
- message: "#^Offset 'STN' does not exist on array\\{C_NAME\\: array\\<int\\<0, max\\>, string\\>, DCN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DTN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-empty\\-string\\>, SCN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, STN\\?\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-empty\\-string\\>\\}\\.$#"
+ message: "#^Offset 'STN' does not exist on array\\{C_NAME\\: array\\{\\}\\}\\|array\\{C_NAME\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DCN\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, DTN\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-falsy\\-string\\>, SCN\\: non\\-empty\\-array\\<int\\<0, max\\>, string\\>, STN\\: non\\-empty\\-array\\<int\\<0, max\\>, non\\-falsy\\-string\\>\\}\\.$#"
count: 2
path: libraries/classes/Database/Designer/Common.php
@@ -2556,11 +2561,6 @@ parameters:
path: libraries/classes/DatabaseInterface.php
-
- message: "#^Comparison operation \"\\<\\=\\>\" between \\(array\\|float\\|int\\) and \\(array\\|float\\|int\\) results in an error\\.$#"
- count: 1
- path: libraries/classes/DatabaseInterface.php
-
- -
message: "#^Method PhpMyAdmin\\\\DatabaseInterface\\:\\:attachIndexInfoToColumns\\(\\) has parameter \\$fields with no value type specified in iterable type array\\.$#"
count: 1
path: libraries/classes/DatabaseInterface.php
@@ -2866,18 +2866,13 @@ parameters:
path: libraries/classes/Dbal/MysqliResult.php
-
- message: "#^Binary operation \"\\+\" between array\\<string, bool\\|string\\>\\|string and array\\{default_action\\: 'insert'\\} results in an error\\.$#"
- count: 3
- path: libraries/classes/Display/Results.php
-
- -
- message: "#^Binary operation \"\\+\" between array\\<string, bool\\|string\\>\\|string and array\\{default_action\\: 'update'\\} results in an error\\.$#"
- count: 3
+ message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
+ count: 2
path: libraries/classes/Display/Results.php
-
- message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#"
- count: 2
+ message: "#^If condition is always true\\.$#"
+ count: 1
path: libraries/classes/Display/Results.php
-
@@ -6376,6 +6371,11 @@ parameters:
path: libraries/classes/Plugins/Import/ImportSql.php
-
+ message: "#^Cannot assign new offset to array\\<int, array\\<int, string\\>\\|string\\>\\|string\\.$#"
+ count: 1
+ path: libraries/classes/Plugins/Import/ImportXml.php
+
+ -
message: "#^Method PhpMyAdmin\\\\Plugins\\\\Import\\\\ImportXml\\:\\:doImport\\(\\) has parameter \\$sql_data with no value type specified in iterable type array\\.$#"
count: 1
path: libraries/classes/Plugins/Import/ImportXml.php
@@ -6396,6 +6396,16 @@ parameters:
path: libraries/classes/Plugins/Import/ImportXml.php
-
+ message: "#^Parameter \\#1 \\$str1 of function strcmp expects string, array\\<int, array\\<int, string\\>\\|string\\>\\|string given\\.$#"
+ count: 1
+ path: libraries/classes/Plugins/Import/ImportXml.php
+
+ -
+ message: "#^array\\<int, array\\<int, string\\>\\|string\\>\\|string does not accept array\\<int, string\\>\\.$#"
+ count: 1
+ path: libraries/classes/Plugins/Import/ImportXml.php
+
+ -
message: "#^Method PhpMyAdmin\\\\Plugins\\\\Import\\\\Upload\\\\UploadNoplugin\\:\\:getUploadStatus\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: libraries/classes/Plugins/Import/Upload/UploadNoplugin.php
@@ -7141,7 +7151,7 @@ parameters:
path: libraries/classes/SavedSearches.php
-
- message: "#^Offset non\\-empty\\-string does not exist on array\\|string\\.$#"
+ message: "#^Offset non\\-falsy\\-string does not exist on array\\|string\\.$#"
count: 1
path: libraries/classes/SavedSearches.php
diff --git a/psalm-baseline.xml b/psalm-baseline.xml
index 4d1a7ea6f0..fdfa268435 100644
--- a/psalm-baseline.xml
+++ b/psalm-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<files psalm-version="4.26.0@6998fabb2bf528b65777bf9941920888d23c03ac">
+<files psalm-version="4.27.0@faf106e717c37b8c81721845dba9de3d8deed8ff">
<file src="index.php">
<InvalidGlobal occurrences="1">
<code>global $route, $containerBuilder, $request;</code>
@@ -13401,7 +13401,8 @@
</UnevaluatedCode>
</file>
<file src="libraries/classes/Tracker.php">
- <DocblockTypeContradiction occurrences="3">
+ <DocblockTypeContradiction occurrences="4">
+ <code>''</code>
<code>null</code>
<code>null</code>
<code>null</code>
@@ -13463,17 +13464,12 @@
<RedundantCastGivenDocblockType occurrences="1">
<code>(string) $version</code>
</RedundantCastGivenDocblockType>
- <RedundantCondition occurrences="1">
+ <RedundantConditionGivenDocblockType occurrences="4">
<code>$dbname</code>
- </RedundantCondition>
- <RedundantConditionGivenDocblockType occurrences="3">
<code>$statement-&gt;name !== null</code>
<code>$statement-&gt;name !== null</code>
<code>isset($statement-&gt;options)</code>
</RedundantConditionGivenDocblockType>
- <TypeDoesNotContainNull occurrences="1">
- <code>''</code>
- </TypeDoesNotContainNull>
</file>
<file src="libraries/classes/Tracking.php">
<MixedArgument occurrences="47">