Skip to content

Commit

Permalink
Ignore PHPStan errors
Browse files Browse the repository at this point in the history
Ignores Plugins\Export\ExportSql class errors.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed Jan 8, 2020
1 parent a89f3fe commit 8bb28f8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions phpstan-baseline.neon
Expand Up @@ -1872,6 +1872,11 @@ parameters:
count: 4
path: libraries/classes/Plugins/Export/ExportSql.php

-
message: "#^Binary operation \"\\.\" between 'FOREIGN KEY ' and array\\|string results in an error\\.$#"
count: 1
path: libraries/classes/Plugins/Export/ExportSql.php

-
message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, \\(array\\)\\|true given\\.$#"
count: 1
Expand All @@ -1897,6 +1902,11 @@ parameters:
count: 1
path: libraries/classes/Plugins/Export/ExportSql.php

-
message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Token\\:\\:\\$token \\(string\\) does not accept array\\|string\\.$#"
count: 1
path: libraries/classes/Plugins/Export/ExportSql.php

-
message: "#^Cannot assign offset mixed to array\\|bool\\.$#"
count: 1
Expand Down

0 comments on commit 8bb28f8

Please sign in to comment.