~/talk

Static Code Analysis: Judging a Forest by Its Trees

Talkat PHP UK Conference 2020 · 2020-02-19..02-21· [testing]
slides:none on file

Automates boring code-review chores by running concrete tools: ECS combines PHP CS Fixer and PHP_CodeSniffer to fix style, PHPStan levels 0–8 to tune strictness, Psalm for extended typing, PHP Insights for CI-friendly colorized output, Deptrac to map dependencies and a migration that cuts wrong module links by ~40% in weeks, PhpMetrics (Twig runs in ~10s) for cyclomatic and coupling scores, custom PHPStan rules enforce an @decoratable contract, and composer-bin-plugin encapsulates tooling so it works locally and in CI.

AI-written summary · about

  1. 0:00Introduction
  2. 0:33Trees
  3. 2:45Readability
  4. 5:43PHP Trees
  5. 8:25PHP Stan
  6. 12:50Extended Type System
  7. 14:17Type Arrays
  8. 15:44Objectlike Arrays
  9. 17:16Type Safety
  10. 19:55Metrics
  11. 20:31Track Depth
  12. 21:15Track Module
  13. 22:52Dependencies
  14. 25:15Crosscutting
  15. 26:13PHP Metrics
  16. 33:54Maintainability
  17. 35:38PHP Insights
  18. 38:48PHP Tools
  19. 41:01Key takeaway
  20. 41:44composable plugin
  21. 43:10vendorbin
  22. 44:31makefile
  23. 45:27aesthetic analysis
  24. 45:54alternatives
~/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.