Integrate static code analysis to PHP projects

Stefan Pöltl
5 min readDec 21, 2021

Repository for the article: https://github.com/stefpe/phpstan

What is static code analysis?

With static code analysis, you can check whether your code fits the defined requirements in terms of form and syntax. The check is performed without executing the program. As a result you will find code smells/infections that will lead to problems…

--

--