Tuning PHPStan to Maximum Strictness
summary
Shows concrete levers: rule levels 0–9 (counting from zero) map to specific checks—level 5 covers basic bugs, level 6 forces missing type hints, level 7 flags partial unions, level 8 nullables and level 9 brutal mixed checks. Explains the Baseline to ignore existing errors, the phpstan-strict-rules and options like check uninitialized properties or check implicit mixed, and a bleeding edge feature set of ~40 behaviors that can cut PrestaShop analysis from ~10 to ~3 minutes. Mentions a paid UI, PHPStan Pro €7/month, with a 30‑day trial.
AI-written summary · about
chapters (6)
- 0:00PHPStan introduction
- 11:11Beyond level nine
- 22:33Advanced strictness options
- 36:32Function purity
- 44:25PHPStan Pro future
- 56:15Q&A
related talks
44mTuning PHPStan to Maximum Strictness
01h 00mTuning PHPStan to Maximum Strictness
54mCrafting Custom PHPStan Rules
45mTesting Strategy with the Help of a Static Analyzer
33mCustom PHPStan Rules: Automate Standards and Save Time
32mFrom Zero to Static Analysis Hero
50mPractical Advanced Static Analysis
38mWhy you should be using PHPStan in all your projects
