👍🎉 First off, thanks for taking the time to contribute! 🎉👍
When creating the bug report, please follow the bug template and provide details about package version you're using.
You're welcome to contribute new features by creating a pull requests or feature request in the issues section.
For pull requests, please follow these guidelines:
- Symfony code style (use
phpcs.xml.distto configure the code style in your IDE) - Do not use any PHP language features above the minimum supported version (see
composer.json) - PHP 8.1 level type hints for everything (parameter types, return types, nullable types, union types,
void), including test cases declare(strict_types=1)must be used- Please add/update test cases
- Test methods should be named
[method]_[scenario]_[expectedResult]
Before you create a pull request, please make sure your changes fulfill the quality criteria:
- Install the dependencies with
composer installin the project root - Run PHP-CS-Fixer v3 (not provided with the library, has to be
installed locally):
php-cs-fixer fix - Run the unit tests with
vendor/bin/phpunit - Run PHP CodeSniffer with
vendor/bin/phpcs - Run Psalm with
vendor/bin/psalmand address any error-level issues