Skip to content

Commit a9dbfe0

Browse files
iifawziwilliamdes
authored andcommitted
Update phpstan baseline
Signed-off-by: William Desportes <[email protected]>
1 parent 2c6a2b6 commit a9dbfe0

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

phpstan-baseline.neon

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,12 @@ parameters:
532532

533533
-
534534
message: "#^Cannot access property \\$idx on PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null\\.$#"
535-
count: 8
535+
count: 12
536+
path: src/Parser.php
537+
538+
-
539+
message: "#^Cannot access property \\$keyword on PhpMyAdmin\\\\SqlParser\\\\Token\\|null\\.$#"
540+
count: 2
536541
path: src/Parser.php
537542

538543
-
@@ -542,7 +547,7 @@ parameters:
542547

543548
-
544549
message: "#^Cannot call method getNextOfType\\(\\) on PhpMyAdmin\\\\SqlParser\\\\TokensList\\|null\\.$#"
545-
count: 2
550+
count: 4
546551
path: src/Parser.php
547552

548553
-
@@ -960,11 +965,6 @@ parameters:
960965
count: 1
961966
path: src/Utils/Query.php
962967

963-
-
964-
message: "#^Method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:getFlags\\(\\) should return array\\{distinct\\?\\: bool, drop_database\\?\\: bool, group\\?\\: bool, having\\?\\: bool, is_affected\\?\\: bool, is_analyse\\?\\: bool, is_count\\?\\: bool, is_delete\\?\\: bool, \\.\\.\\.\\} but returns non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, bool\\|\\(literal\\-string&non\\-falsy\\-string\\)\\>\\.$#"
965-
count: 1
966-
path: src/Utils/Query.php
967-
968968
-
969969
message: "#^Parameter \\#1 \\$component of static method PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\:\\:build\\(\\) expects array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\>\\|PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression, object given\\.$#"
970970
count: 1

0 commit comments

Comments
 (0)