~/talk

Why you should be using PHPStan in all your projects

TalkinSpanishat DrupalCamp Spain 2023 · 2023-09-21..09-23· [php, testing]
links:none on file
slides:none on file

The talk explains using PHPStan static analysis for PHP projects, showing real-life examples of how it improved code quality. It covers how PHPStan works, how to install and start using it, tips for integrating it into existing projects, and how to write custom extensions and rules to automate checks for project-specific issues.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Speaker intro
  3. 2:34What is PHPStan
  4. 4:18Static analysis benefits
  5. 6:04PHPStan levels config
  6. 8:36Installing PHPStan
  7. 11:06Basic setup
  8. 13:36PHPStan levels
  9. 14:58PHPStan in large projects
  10. 15:40Ignoring errors
  11. 17:49Legacy baseline
  12. 19:58Real-world usage
  13. 21:01Getting started
  14. 22:06Tool integration
  15. 24:15PHPStan with IDEs
  16. 25:20PHPStan plugins
  17. 27:50Type coverage plugin
  18. 28:10Why use PHPStan
  19. 28:53Learning from PHPStan
  20. 30:19PHPStan in CI/CD
  21. 31:44Q&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.