Skip to content

Commit 73ea667

Browse files
authored
De-downgrade de Dead Code Detector dev dependency (#350)
Also enable dead enum cases detection (added in 0.13) even if this extension doesn't use any enum at all.
2 parents b96123f + 0fc4f4e commit 73ea667

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"php-parallel-lint/php-parallel-lint": "^1.2",
3131
"php-parallel-lint/php-console-highlighter": "^1.0",
3232
"phpstan/phpstan-deprecation-rules": "^1.2 || ^2.0",
33-
"shipmonk/dead-code-detector": "^0.12",
33+
"shipmonk/dead-code-detector": "^0.13.2",
3434
"spaze/coding-standard": "^1.8"
3535
},
3636
"autoload": {

phpstan.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ parameters:
2929
usageExcluders:
3030
tests:
3131
enabled: true
32+
detect:
33+
deadEnumCases: true
3234

3335
includes:
3436
- phpstan-exclude-paths.php

0 commit comments

Comments
 (0)