Merge pull request #22 from catatonicprime/patch-1

Create CONTRIBUTING.md
pull/26/head
Marc 2018-05-07 19:25:15 +01:00 committed by GitHub
commit 44c86af56e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

11
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,11 @@
Contributing
============
To ease code reviews please follow the [PSR-1](https://www.php-fig.org/psr/psr-1/) and
[PSR-2](https://www.php-fig.org/psr/psr-2/). Take a few minutes to actually read them,
they're not all that bad. To jump right in use the [PHP-CS-Fixer
tool](http://cs.sensiolabs.org/). Or install PHP_CodeSniffer and use it like so:
`apt install php-codesniffer`
`phpcs --standard=PSR2 your_file.php`