~/talk

Practical Advanced Static Analysis

Talkat PHP UK Conference 2022 · 2022-02-16..02-18· [testing, developer-experience]
slides:none on file

Advanced static analysis actually finds real bugs and evolvability defects: tools like PHPStan and Psalm (about 230-240 rules each) run over code, use plugins for frameworks, and can generate a baseline file so a legacy repo reports only new issues. Examples: custom rules block test-only setId calls, enums/match get backported via value objects plus Psalm type assertions, CI runs shrink a codebase from ~4,000 to ~1,000 reported issues over two years and materially speeds safe refactoring.

AI-written summary · about

  1. 0:00Intro
  2. 1:08The 4 stages of a team
  3. 2:09What is static analysis
  4. 3:09Static analysis examples
  5. 5:18Static analysis vs tests
  6. 6:20How do these tools work
  7. 8:50Running the tools
  8. 10:01Bugs
  9. 12:36Evolvability
  10. 15:25Type declarations
  11. 17:26Array keys
  12. 19:14Templates
  13. 21:18Summary
  14. 23:53Baseline
  15. 25:54Workflow
  16. 27:23Refactoring
  17. 29:01Static Analysis
  18. 34:23Refactor Code
  19. 38:08Custom Rules
  20. 41:48Conclusion
  21. 44:08Questions
~/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.