Skip to content

Commit e6e3d22

Browse files
Configure tomasvotruba/type-coverage
1 parent 941c905 commit e6e3d22

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

phpstan.neon

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ parameters:
2525
switchConditionsMatchingType: true
2626
uselessCast: true
2727

28+
type_coverage:
29+
declare: 100
30+
return: 100
31+
param: 100
32+
property: 100
33+
constant: 100
34+
2835
ignoreErrors:
2936
# ignore errors caused by defensive programming
3037
- '#Call to function assert\(\) with true will always evaluate to true.#'

0 commit comments

Comments
 (0)