Skip to content

Commit

Permalink
Update PHPStan/Psalm baselines
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed Jan 28, 2022
1 parent 362deb2 commit 4ec0c43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -1415,11 +1415,6 @@ parameters:
count: 1
path: libraries/classes/Plugins/Export/ExportSql.php

-
message: "#^Cannot access offset mixed on array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\CreateDefinition\\>\\|PhpMyAdmin\\\\SqlParser\\\\Components\\\\ArrayObj\\.$#"
count: 4
path: libraries/classes/Plugins/Export/ExportSql.php

-
message: "#^Parameter \\#1 \\$create_query of method PhpMyAdmin\\\\Plugins\\\\Export\\\\ExportSql\\:\\:makeCreateTableMSSQLCompatible\\(\\) expects string, string\\|null given\\.$#"
count: 1
Expand Down
8 changes: 4 additions & 4 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.18.1@dda05fa913f4dc6eb3386f2f7ce5a45d37a71bcb">
<files psalm-version="4.19.0@a2ad69ae4f5ab1f7d225a8dc4e2ec2d9415ed599">
<file src="libraries/classes/Bookmark.php">
<RedundantCastGivenDocblockType occurrences="1">
<code>(int) $this-&gt;id</code>
Expand Down Expand Up @@ -343,10 +343,9 @@
<PossiblyUndefinedArrayOffset occurrences="1">
<code>$_FILES['import_file']</code>
</PossiblyUndefinedArrayOffset>
<TypeDoesNotContainType occurrences="4">
<TypeDoesNotContainType occurrences="3">
<code>$bookmark_created</code>
<code>$finished</code>
<code>$memory_limit == -1</code>
<code>$timeout_passed</code>
</TypeDoesNotContainType>
</file>
Expand Down Expand Up @@ -2285,7 +2284,8 @@
<code>showOutput</code>
<code>startSvgDoc</code>
</PossiblyUndefinedMethod>
<TooFewArguments occurrences="1">
<TooFewArguments occurrences="2">
<code>setFont</code>
<code>tableDraw</code>
</TooFewArguments>
</file>
Expand Down

0 comments on commit 4ec0c43

Please sign in to comment.