~/talk

Tuning PHPStan to Maximum Strictness

Talkat PHP UK Conference 2024 · 2024-02-15..02-16· [testing, php]
slides:none on file

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

  1. 0:00PHPStan introduction
  2. 11:11Beyond level nine
  3. 22:33Advanced strictness options
  4. 36:32Function purity
  5. 44:25PHPStan Pro future
  6. 56:15Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.