Skip to content

Commit 6e27754

Browse files
janedbalondrejmirtes
authored andcommitted
Ignore fixture issues in tests
1 parent 671ab0d commit 6e27754

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

build/phpstan.neon

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ parameters:
2121
- ../tests/phpstan-bootstrap.php
2222
cache:
2323
nodesByStringCountMax: 128
24-
shipmonkDeadCode:
25-
usageExcluders:
26-
tests:
27-
enabled: true
2824
checkUninitializedProperties: true
2925
checkMissingCallableSignature: true
3026
excludePaths:
@@ -79,6 +75,15 @@ parameters:
7975
-
8076
identifier: shipmonk.deadMethod
8177
message: '#^Unused .*?Factory::create#' # likely used in DIC
78+
-
79+
identifier: shipmonk.deadMethod
80+
paths:
81+
- ../tests/PHPStan/Tests
82+
- ../tests/e2e
83+
-
84+
identifier: shipmonk.deadConstant
85+
paths:
86+
- ../tests/PHPStan/Fixture
8287
-
8388
identifier: shipmonk.deadMethod
8489
path: ../src/Reflection/BetterReflection/SourceLocator/FileReadTrapStreamWrapper.php

0 commit comments

Comments
 (0)