We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6d4a0f commit 6c23c61Copy full SHA for 6c23c61
phpstan.neon.dist
@@ -50,6 +50,15 @@ parameters:
50
enforceClosureParamNativeTypehint:
51
enabled: false # we support even PHP 7.4 (cannot use mixed nor unions)
52
53
+ shipmonkDeadCode:
54
+ detect:
55
+ deadMethods: true
56
+ deadConstants: true
57
+ deadEnumCases: true
58
+ deadProperties:
59
+ neverRead: true
60
+ neverWritten: true
61
+
62
ignoreErrors:
63
-
64
message: "#but it's missing from the PHPDoc @throws tag\\.$#" # allow uncatched exceptions in tests
0 commit comments