@@ -4,7 +4,6 @@ includes:
44 - ../vendor/phpstan/phpstan-phpunit/extension.neon
55 - ../vendor/phpstan/phpstan-phpunit/rules.neon
66 - ../vendor/phpstan/phpstan-strict-rules/rules.neon
7- - ../vendor/shipmonk/dead-code-detector/rules.neon
87 - ../conf/bleedingEdge.neon
98 - ../phpstan-baseline.neon
109 - ../phpstan-baseline.php
@@ -81,16 +80,27 @@ parameters:
8180 -
8281 identifier : shipmonk.deadMethod
8382 message : ' #^Unused .*?Factory::create#' # likely used in DIC
83+ reportUnmatched : false
84+ -
85+ identifier : shipmonk.deadMethod
86+ message : ' #^Unused PHPStan\\DependencyInjection\\BleedingEdgeToggle::isBleedingEdge#' # kept for future use
87+ reportUnmatched : false
8488 -
8589 identifier : shipmonk.deadMethod
8690 paths :
8791 - ../tests/PHPStan/Tests
8892 - ../tests/e2e
93+ reportUnmatched : false
8994 -
9095 identifier : shipmonk.deadConstant
9196 paths :
9297 - ../tests/PHPStan/Fixture
9398 reportUnmatched : false # constants on enums, not reported on PHP8-
99+ -
100+ identifier : shipmonk.deadEnumCase
101+ paths :
102+ - ../tests/PHPStan/Fixture
103+ reportUnmatched : false # enum cases, not reported on PHP8-
94104 -
95105 message : '''
96106 #^Access to constant on deprecated class DeprecatedAnnotations\\DeprecatedFoo\:
@@ -120,6 +130,9 @@ parameters:
120130 identifier : shipmonk.deadMethod
121131 path : ../src/Internal/CombinationsHelper.php
122132 reportUnmatched : false
133+ -
134+ rawMessage : ' Property PHPStan\Command\CommandHelper::$reservedMemory is never read' # intentional
135+ reportUnmatched : false
123136 reportStaticMethodSignatures : true
124137 tmpDir : %rootDir%/tmp
125138 stubFiles :
0 commit comments