Closed schlessera closed 2 years ago
Description
The static analyzer PHPStan was already being pulled into the project as a Composer dependency, but it was not being used.
This PR configures PHPStan to work correctly and fixes the few issues it found.
Screenshots
Static analysis running locally with detected issues:
Static analysis running within GitHub Actions:
Testing Instructions
composer analyze
Description
The static analyzer PHPStan was already being pulled into the project as a Composer dependency, but it was not being used.
This PR configures PHPStan to work correctly and fixes the few issues it found.
Screenshots
Static analysis running locally with detected issues:
Static analysis running within GitHub Actions:
Testing Instructions
composer analyze
to manually trigger the PHPStan analysis.