Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"rector/jack": "^1.0",
"rector/rector-src": "dev-main",
"rector/swiss-knife": "^2.6",
"shipmonk/dead-code-detector": "^1.4",
"symplify/easy-coding-standard": "^13.2",
"symplify/phpstan-extensions": "^12.0",
"symplify/phpstan-rules": "^14.13.1",
"tomasvotruba/class-leak": "^2.1",
"tomasvotruba/type-coverage": "^2.3",
"tomasvotruba/unused-public": "^2.2",
"tracy/tracy": "^2.12"
},
"autoload": {
Expand Down
5 changes: 5 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ parameters:
narrow_return: true

ignoreErrors:
# DI container constructors are not dead code
-
identifier: shipmonk.deadMethod
message: '#^Unused .*?::__construct$#'

# phpstan false positive
- '#Parameter \#1 \$className of method Rector\\PhpParser\\AstResolver\:\:resolveClassMethod\(\) expects class\-string, string given#'

Expand Down
Loading