Skip to content

Commit 65851bc

Browse files
committed
Dead constants in tests/PHPStan/Fixture are on enums, thus not working on PHP8-
1 parent 49c97f1 commit 65851bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ parameters:
8484
identifier: shipmonk.deadConstant
8585
paths:
8686
- ../tests/PHPStan/Fixture
87+
reportUnmatched: false # constants on enums, not reported on PHP8-
8788
-
8889
identifier: shipmonk.deadMethod
8990
path: ../src/Reflection/BetterReflection/SourceLocator/FileReadTrapStreamWrapper.php

0 commit comments

Comments
 (0)