Pull Requests and Community Contributions are the bread and butter of open source software. Every contribution- from bug reports to feature requests, typos to full new features- are greatly appreciated.
This project follows the PSR standards set forth by the PHP Framework Interop Group.
All code most follow these standards to be accepted. The easiest way to accomplish this is to run php-cs-fixer once the new changes are finished. The php-cs-fixer package is installed as a development dependency of this project.
composer install --dev
vendor/bin/php-cs-fixer fix ./ -vv
First install dependencies using Composer. It's important to include the dev packages:
composer install --dev
The "runTests.sh" script runs the full test suite- phpunit, php-cs-fixer, as well as any environmental setup:
./tests/runTests.sh
To call phpunit directly:
./vendor/bin/phpunit
To call php-cs-fixer directly:
./vendor/bin/php-cs-fixer fix ./ -vv --dry-run