We are using GitHub Actions as a continuous integration system.
For details, take a look at the following workflow configuration files:
We use ergebnis/composer-normalize to normalize composer.json.
We are using friendsofphp/php-cs-fixer to enforce coding standards in PHP files.
Run
make coding-standardsto automatically fix coding standard violations.
We use phpstan/phpstan to statically analyze the code.
Run
make static-code-analysisto run a static code analysis.
We also use the baseline feature of phpstan/phpstan.
Run
make static-code-analysis-baselineto regenerate the baseline in ../phpstan-baseline.neon.
❗ Ideally, the baseline should shrink over time.
Run
maketo automatically enforce coding standards and run a static code analysis!
💡 Run
make helpto display a list of available targets with corresponding descriptions.