PHPStan is a static code analysis tool that find a new category of bugs that weren't discovered by other tools like SonarQube. In these slides we discuss: - What is code analysis and its types. - What do static code analysis tools focus on. - PHPStan Levels. - PHPStan setup and configuration. - Adding PHPStan to GitLab CI/CD pipeline.