Skip to content

Commit c980cca

Browse files
committed
PHPStan: ignore use of our own internal classes
1 parent b98e414 commit c980cca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/phpstan.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ parameters:
2323
- Orisai\Exceptions\Check\CheckedException
2424

2525
ignoreErrors:
26+
# Internal classes in tests
27+
-
28+
message: '#(.+)internal(.+)OriNette(.+)#'
29+
path: ../tests
30+
2631
# Hard to solve, minimal impact
2732
-
2833
message: '#^Method (.+)getNames\(\) should return array\<string\> but returns array\<int, int\|string\>\.$#'

0 commit comments

Comments
 (0)