feat: add phpstan scanner
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do and why?
This update adds support for PHPStan, a static analysis tool for PHP code, to the existing code quality scanning framework. The changes include:
- Adding a new CI job template for PHPStan that automatically analyzes PHP code and generates quality reports
- Updating the configuration to include PHPStan alongside existing tools
- Adding a new trigger job in the GitLab CI pipeline specifically for PHPStan code quality checks
- Updating documentation to reference the new PHPStan integration
- Adding a configuration variable for the PHP Docker image used for scanning
This is related to issue #7 (closed)
Edited by Norman Debald