Install project dependencies and test tools by running the following commands.
$ composer install
$ composer test
$ composer coverage // xdebug
$ composer pcov // pcov
Add tests for your new code ensuring that you have 100% code coverage.
In rare cases, code may be excluded from test coverage using @codeCoverageIgnore
.
To ensure your PHP code changes pass the CI checks, make sure to run all the same checks before submitting a PR.
$ composer tests
When you make a pull request, the tests will automatically be run again by GH action on multiple php versions.