The following checks are performed when you create a pull request:
- Tests: PHPUnit
- CodeStyle: checked by PHPCS, using the PSR-12 codestyle
- Static analysis: checked by PHPStan
You can avoid failing builds by running these tools locally:
- PHPUnit:
./vendor/bin/phpunit
- PHPCS:
./vendor/bin/phpcs
- PHPStan:
./vendor/bin/phpstan analyze