To contribute to the project you need to have an account on GitHub.
- Create a fork of this repository
- Clone repository
- Ensure you have configured name and email address in Git
- Create issue with proper description and label on GitHub within this project
- Assign yourself to the issue
- Fork fix or feature branch with proper prefix and number of the issue (e.g. issue-92-readme-file-update)
- Complete work and commit with proper message and number of issue with hash and in parentheses
- Push branch to your forked project on your GitHub account
- Create a pull request to the develop branch of the original ExOrg repository
Please follow PSR-1 and PSR-12 coding standards and PSR-4 autoloading standard.
This project uses PHPCodeSniffer for detecting coding style issues.
To run tests for code style write the following command in your command line inside the main DataCoder project directory
vendor/bin/phpcs tests/ src/
Please take care over consistency of the code and check existing examples before you create your own extensions.
Write unit tests for your code.
This project uses PHPUnit as unit tests framework.
To run tests, write the following command in your command line inside the main DataCoder project directory
vendor/bin/phpunit tests/