diff --git a/composer.json b/composer.json index fd66c3d59..84ca3b081 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 0b6229273..7b0abe3e1 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -14,6 +14,11 @@ parameters: bootstrapFiles: - bootstrap.php + unused_public: + methods: true + properties: true + constants: true + reportUnmatchedIgnoredErrors: false ignoreErrors: