Skip to content

Commit

Permalink
Adjusted phpcs related stuff in the contribution guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 committed Oct 10, 2014
1 parent bbedd06 commit 7841da6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions CONTRIBUTING.md
Expand Up @@ -26,10 +26,13 @@ Issues
Coding Standard
---------------

Make sure your code changes comply with the PSR-2 Coding standard,
using [PHP Codesniffer](https://github.com/squizlabs/PHP_CodeSniffer):
Make sure your code changes comply with the PSR-2 coding standard by
using [PHP Codesniffer](https://github.com/squizlabs/PHP_CodeSniffer)
from within your PHPMD folder:

phpcs -p --extensions=php --standard=PSR2 /path/to/phpmd/
vendor/bin/phpcs -p --extensions=php --standard=PSR2 src > phpcs.txt

Check the ``phpcs.txt`` once it finished.

Additional Resources
--------------------
Expand Down

0 comments on commit 7841da6

Please sign in to comment.