Skip to content

Commit ac0b25a

Browse files
committed
PHPStan: ignore use of our own internal classes
1 parent 90d8b6a commit ac0b25a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/phpstan.neon

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

2525
ignoreErrors:
26+
# Internal classes in tests
27+
-
28+
message: '#(.+)internal(.+)Orisai(.+)#'
29+
path: ../tests
2630
# Values mapping to object
2731
-
2832
message: '#^Variable property access on Orisai\\ObjectMapper\\MappedObject\.$#'

0 commit comments

Comments
 (0)