Skip to content

Commit f2fd395

Browse files
staabmsebastianbergmann
authored andcommitted
ignore "Trait X is used zero times and is not analysed"
1 parent 434d089 commit f2fd395

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

phpstan.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ parameters:
1313
- '#Strict comparison using !== between .*non-falsy-string.* and .* will always evaluate to true.#'
1414
- '#Call to function is_array\(\) with array will always evaluate to true.#'
1515

16+
excludePaths:
17+
- src/Framework/MockObject/Runtime/Api # exclude partial traits, which are only used in runtime generated code
18+
1619
includes:
1720
- phar://phpstan.phar/conf/bleedingEdge.neon

0 commit comments

Comments
 (0)