-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Milestone
Description
PHPStan is an automated scanner, which reports code that could be improved https://phpstan.org
We already pass PHPStan level 5 since #4110
Usage:
# See https://getcomposer.org
composer install --prefer-dist
composer run-script phpstanNow it would be nice to progress to PHPStan level 6 report missing typehints https://phpstan.org/user-guide/rule-levels
Lines 2 to 3 in 1335a0e
| # TODO: Increase rule-level https://phpstan.org/user-guide/rule-levels | |
| level: 5 |
# Manual override of the analyse level
vendor/bin/phpstan analyse . --level 6Help welcome, and it is fine to send multiple PRs, each solving some of the PHPStan warnings (best if covering at least one or more files fully).
When you make more files pass Level 6, you can remove them (example) from our list of non-compliant files (cf. #5230 )
composer run-script phpstan-nextReactions are currently unavailable