Skip to content

Commit fd7d058

Browse files
authored
Dead Code Detector 0.11 (#87)
1 parent 3f96b1c commit fd7d058

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"phpstan/phpstan-strict-rules": "^2.0.0",
1919
"phpunit/phpunit": "^10.5",
2020
"shipmonk/composer-dependency-analyser": "^1.8.1",
21-
"shipmonk/dead-code-detector": "^0.10.0",
21+
"shipmonk/dead-code-detector": "^0.11.0",
2222
"shipmonk/name-collision-detector": "^2.1.1",
2323
"shipmonk/phpstan-rules": "^4.0.0",
2424
"slevomat/coding-standard": "dev-master"

phpstan.neon.dist

+1-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ parameters:
4848
message: "#^Method ShipMonkTests\\\\InputMapper\\\\Compiler\\\\Validator\\\\Array\\\\Data\\\\ListItemValidatorWithMultipleValidatorsMapper\\:\\:map\\(\\) should return list\\<int\\<1, max\\>\\> but returns list\\<int\\>\\.$#"
4949
count: 1
5050
path: tests/Compiler/Validator/Array/Data/ListItemValidatorWithMultipleValidatorsMapper.php
51-
-
52-
message: '#\:\:__construct$#'
53-
identifier: shipmonk.deadMethod
54-
path: tests/**/*.php
51+
5552
-
5653
identifier: shipmonk.deadMethod
5754
path: src/Compiler/Php/PhpCodeBuilder.php # consider utility class

0 commit comments

Comments
 (0)