Skip to content

Commit

Permalink
Revert "Disable tomasvotruba/unused-public for now" (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Dec 12, 2024
1 parent 1909bd4 commit 3900215
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^8.5|^9.5",
"symplify/easy-coding-standard": "^12.4",
"tomasvotruba/unused-public": "^2.0",
"vlucas/phpdotenv": "^5.4"
},
"conflict": {
Expand Down
5 changes: 5 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ parameters:
bootstrapFiles:
- bootstrap.php

unused_public:
methods: true
properties: true
constants: true

reportUnmatchedIgnoredErrors: false

ignoreErrors:
Expand Down

0 comments on commit 3900215

Please sign in to comment.