Skip to content

Commit 90c01e3

Browse files
Avoid error
1 parent 7277ed6 commit 90c01e3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build/phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ parameters:
7777
- '#^Dynamic call to static method PHPUnit\\Framework\\\S+\(\)\.$#'
7878
- '#should be contravariant with parameter \$node \(PhpParser\\Node\) of method PHPStan\\Rules\\Rule<PhpParser\\Node>::processNode\(\)$#'
7979
- '#Variable property access on PhpParser\\Node#'
80+
-
81+
identifier: shipmonk.deadMethod
82+
message: '#^Unused .*?::__construct#' # likely used in DIC
83+
reportUnmatched: false
8084
-
8185
identifier: shipmonk.deadMethod
8286
message: '#^Unused .*?Factory::create#' # likely used in DIC

0 commit comments

Comments
 (0)