Skip to content

Commit bb3c488

Browse files
authored
Fix PHPStan warning (#17)
Leave the ignoreError as a placeholder rather than explicitly enabled.
1 parent f629773 commit bb3c488

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

phpstan.neon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ includes:
44
- vendor/phpstan/phpstan-strict-rules/rules.neon
55
parameters:
66
ignoreErrors:
7-
- '#^Dynamic call to static method PHPUnit\\Framework\\Assert::assert#'
7+
# Uncomment to permit $this->assertXX() in unit tests (instead of self::assertXX())
8+
# '#^Dynamic call to static method PHPUnit\\Framework\\Assert::assert#'
89
level: max
910
paths:
1011
- src

0 commit comments

Comments
 (0)