Static Analysis and Code Quality
March 25, 2026 ยท View on GitHub
This project uses PHPStan for static analysis and PHPCS for code style checking.
PHPStan (Static Analysis)
We use PHPStan level 9 for strict type checking.
Run Locally
make stan
Configuration
See phpstan.neon for configuration.
Code Style (PHPCS)
We follow PSR-12 coding standards.
Check Code Style
make sniff
Fix Code Style
make cs
CI Integration
The CI pipeline runs:
- Unit tests (PHPUnit)
- Static analysis (PHPStan)
- Code style check (PHPCS)
All checks must pass before merging.