Skip to content

Commit 02f4120

Browse files
committed
Ignore PHPStan errors
1 parent 3287ca6 commit 02f4120

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tools/phpstan.baseline.neon

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
parameters:
22
ignoreErrors:
3+
-
4+
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertFalse\(\) with false and ''Directory not…'' will always evaluate to true\.$#'
5+
identifier: staticMethod.alreadyNarrowedType
6+
count: 2
7+
path: ../tests/Unit/VfsStreamWrapperTest.php
8+
9+
-
10+
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertFalse\(\) with false will always evaluate to true\.$#'
11+
identifier: staticMethod.alreadyNarrowedType
12+
count: 1
13+
path: ../tests/Unit/VfsStreamWrapperTest.php
14+
15+
-
16+
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with true will always evaluate to true\.$#'
17+
identifier: staticMethod.alreadyNarrowedType
18+
count: 1
19+
path: ../tests/Unit/VfsStreamWrapperTest.php
20+
321
-
422
message: '#^Cannot access offset ''atime'' on array\{0\: int, 1\: int, 2\: int, 3\: int, 4\: int, 5\: int, 6\: int, 7\: int, \.\.\.\}\|false\.$#'
523
identifier: offsetAccess.nonOffsetAccessible

0 commit comments

Comments
 (0)