Skip to content

Commit fbefdff

Browse files
committed
Update phpstan baseline
Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent 596f5b5 commit fbefdff

1 file changed

Lines changed: 7 additions & 17 deletions

File tree

phpstan-baseline.neon

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ parameters:
631631
path: src/Components/Key.php
632632

633633
-
634-
message: "#^Binary operation \"\\.\\=\" between array\\|string and non\\-empty\\-string results in an error\\.$#"
634+
message: "#^Binary operation \"\\.\\=\" between '' and array\\|string results in an error\\.$#"
635635
count: 1
636636
path: src/Components/Key.php
637637

@@ -650,31 +650,16 @@ parameters:
650650
count: 1
651651
path: src/Components/Key.php
652652

653-
-
654-
message: "#^PHPDoc tag @var has no value type specified in iterable type array\\.$#"
655-
count: 1
656-
path: src/Components/Key.php
657-
658653
-
659654
message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\Key\\:\\:\\$KEY_OPTIONS type has no value type specified in iterable type array\\.$#"
660655
count: 1
661656
path: src/Components/Key.php
662657

663-
-
664-
message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\Key\\:\\:\\$columns type has no value type specified in iterable type array\\.$#"
665-
count: 1
666-
path: src/Components/Key.php
667-
668658
-
669659
message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\Key\\:\\:\\$name \\(string\\) does not accept string\\|null\\.$#"
670660
count: 1
671661
path: src/Components/Key.php
672662

673-
-
674-
message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\Key\\:\\:\\$options \\(PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\) does not accept PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\|null\\.$#"
675-
count: 1
676-
path: src/Components/Key.php
677-
678663
-
679664
message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Components\\\\Key\\:\\:\\$type \\(string\\) does not accept string\\|null\\.$#"
680665
count: 1
@@ -1885,6 +1870,11 @@ parameters:
18851870
count: 1
18861871
path: tests/Builder/CreateStatementTest.php
18871872

1873+
-
1874+
message: "#^Parameter \\#1 \\$component of static method PhpMyAdmin\\\\SqlParser\\\\Components\\\\CreateDefinition\\:\\:build\\(\\) expects array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\CreateDefinition\\>\\|PhpMyAdmin\\\\SqlParser\\\\Components\\\\CreateDefinition, array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\CreateDefinition\\>\\|PhpMyAdmin\\\\SqlParser\\\\Components\\\\ArrayObj given\\.$#"
1875+
count: 2
1876+
path: tests/Builder/CreateStatementTest.php
1877+
18881878
-
18891879
message: "#^Cannot access offset 0 on array\\<PhpMyAdmin\\\\SqlParser\\\\Component\\>\\|PhpMyAdmin\\\\SqlParser\\\\Components\\\\ArrayObj\\.$#"
18901880
count: 2
@@ -1942,7 +1932,7 @@ parameters:
19421932

19431933
-
19441934
message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNull\\(\\) with string will always evaluate to false\\.$#"
1945-
count: 1
1935+
count: 2
19461936
path: tests/Components/KeyTest.php
19471937

19481938
-

0 commit comments

Comments
 (0)