Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.49 KB

File metadata and controls

35 lines (26 loc) · 1.49 KB

Contributing

👍🎉 First off, thanks for taking the time to contribute! 🎉👍

Submitting a Bug Report

When creating the bug report, please follow the bug template and provide details about package version you're using.

Creating a Pull Request

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.dist to 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]

Running Quality Checks

Before you create a pull request, please make sure your changes fulfill the quality criteria:

  1. Install the dependencies with composer install in the project root
  2. Run PHP-CS-Fixer v3 (not provided with the library, has to be installed locally): php-cs-fixer fix
  3. Run the unit tests with vendor/bin/phpunit
  4. Run PHP CodeSniffer with vendor/bin/phpcs
  5. Run Psalm with vendor/bin/psalm and address any error-level issues