Skip to content

Commit 023ec97

Browse files
committed
Update phpstan-baseline.neon
1 parent 60457ad commit 023ec97

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

phpstan-baseline.neon

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,43 @@
11
parameters:
22
ignoreErrors:
33
-
4-
message: "#^Negated boolean expression is always false\\.$#"
4+
message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#'
5+
identifier: notIdentical.alwaysTrue
6+
count: 1
7+
path: src/Format/Json.php
8+
9+
-
10+
message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#'
11+
identifier: function.alreadyNarrowedType
12+
count: 1
13+
path: src/Registry.php
14+
15+
-
16+
message: '#^Negated boolean expression is always false\.$#'
17+
identifier: booleanNot.alwaysFalse
518
count: 1
619
path: src/Registry.php
720

821
-
9-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
22+
message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
23+
identifier: argument.type
1024
count: 3
1125
path: src/Registry.php
1226

1327
-
14-
message: "#^Result of \\|\\| is always false\\.$#"
28+
message: '#^Result of \|\| is always false\.$#'
29+
identifier: booleanOr.alwaysFalse
1530
count: 1
1631
path: src/Registry.php
1732

1833
-
19-
message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#"
34+
message: '#^Strict comparison using \=\=\= between mixed and null will always evaluate to false\.$#'
35+
identifier: identical.alwaysFalse
2036
count: 1
2137
path: src/Registry.php
2238

2339
-
24-
message: "#^Strict comparison using \\=\\=\\= between string and null will always evaluate to false\\.$#"
40+
message: '#^Strict comparison using \=\=\= between string and null will always evaluate to false\.$#'
41+
identifier: identical.alwaysFalse
2542
count: 1
2643
path: src/Registry.php

0 commit comments

Comments
 (0)