diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 72ced5bd..a3979374 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,3 +4,6 @@ 2. Open an issue in the repository describing the feature contribution you'd like to make. This will help us get you started on the right foot. 3. Commit changes in your feature branch. 4. Open a pull request and reference the initial issue in the pull request message. + +### Coding standards +This project follows the [PSR-2](http://www.php-fig.org/psr/psr-2/) coding style guidelines. There are many ways to check your code for PSR-2. An excellent tool is [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer). The command line tool phpcs can be run against any single file. [Phing](https://www.phing.info/), a PHP build tool, integrates nicely with `phpcs` to automate PSR-2 checks across all source files in a project.