Skip to content

Commit

Permalink
Require --dev type-coverage and unused-public (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik authored Dec 12, 2024
1 parent bb3b899 commit cb292c6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
"shipmonk/composer-dependency-analyser": "^1.7",
"symplify/easy-coding-standard": "^12.3",
"tomasvotruba/class-leak": "^0.2.16",
"tomasvotruba/type-coverage": "^2.0",
"tomasvotruba/unused-public": "^2.0",
"tracy/tracy": "^2.10"
},
"autoload": {
Expand Down
20 changes: 10 additions & 10 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ parameters:
narrow_param: true
narrow_return: true

# type_coverage:
# return: 99
# param: 99
# property: 99
# constant: 99

# unused_public:
# constants: true
# properties: true
# methods: true
type_coverage:
return: 99
param: 99
property: 99
constant: 99

unused_public:
constants: true
properties: true
methods: true

ignoreErrors:
# unrelated
Expand Down

0 comments on commit cb292c6

Please sign in to comment.