Goal
Bring plugin_mactrack to PHPStan level 8 with zero errors.
What level 8 adds (cumulative with 0–7)
- Level 8: Return types, types assigned to properties
- Level 7: Basic dead code checking (always false
instanceof, dead else, unreachable code)
- Level 6: Checking types of arguments passed to methods and functions
- Level 5: Report missing type hints
- Levels 0–4: Union types, nullable access, mixed strictness, etc.
Tasks
Reference
Related
Goal
Bring plugin_mactrack to PHPStan level 8 with zero errors.
What level 8 adds (cumulative with 0–7)
instanceof, deadelse, unreachable code)Tasks
level: 8vendor/bin/phpstan analyse -l 8with zero errorsReference
Related