Skip to content

Commit bb7a7f6

Browse files
committed
Update phpstan-baseline.neon
Signed-off-by: Kamil Tekiela <[email protected]>
1 parent 286557a commit bb7a7f6

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

phpstan-baseline.neon

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,11 @@ parameters:
805805
count: 1
806806
path: src/Utils/Formatter.php
807807

808+
-
809+
message: "#^Binary operation \"&\" between int and int\\|string results in an error\\.$#"
810+
count: 1
811+
path: src/Utils/Formatter.php
812+
808813
-
809814
message: "#^Binary operation \"&\\=\" between array\\<int, array\\<string, int\\|string\\>\\>\\|bool\\|string\\|null and array\\<int, array\\<string, int\\|string\\>\\>\\|bool\\|string\\|null results in an error\\.$#"
810815
count: 1
@@ -831,12 +836,12 @@ parameters:
831836
path: src/Utils/Formatter.php
832837

833838
-
834-
message: "#^Access to an undefined property object\\:\\:\\$alias\\.$#"
839+
message: "#^Trying to invoke int\\<min, \\-1\\>\\|int\\<1, max\\>\\|non\\-falsy\\-string but it might not be a callable\\.$#"
835840
count: 1
836-
path: src/Utils/Query.php
841+
path: src/Utils/Formatter.php
837842

838843
-
839-
message: "#^Access to an undefined property object\\:\\:\\$expr\\.$#"
844+
message: "#^Argument of an invalid type array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|string\\|null\\>\\|null supplied for foreach, only iterables are supported\\.$#"
840845
count: 1
841846
path: src/Utils/Query.php
842847

@@ -845,11 +850,6 @@ parameters:
845850
count: 1
846851
path: src/Utils/Query.php
847852

848-
-
849-
message: "#^Argument of an invalid type array\\|null supplied for foreach, only iterables are supported\\.$#"
850-
count: 1
851-
path: src/Utils/Query.php
852-
853853
-
854854
message: "#^Cannot access property \\$dest on PhpMyAdmin\\\\SqlParser\\\\Components\\\\IntoKeyword\\|null\\.$#"
855855
count: 1
@@ -870,11 +870,6 @@ parameters:
870870
count: 1
871871
path: src/Utils/Query.php
872872

873-
-
874-
message: "#^Parameter \\#1 \\$component of static method PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\:\\:build\\(\\) expects array\\<PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\>\\|PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression, object given\\.$#"
875-
count: 1
876-
path: src/Utils/Query.php
877-
878873
-
879874
message: "#^Cannot access offset 'value' on mixed\\.$#"
880875
count: 3

0 commit comments

Comments
 (0)