Skip to content

Commit

Permalink
Merge pull request #469 from eeree/patch-1
Browse files Browse the repository at this point in the history
Update to Coding Standard command
  • Loading branch information
ravage84 committed Jun 2, 2017
2 parents 2b55442 + 7ab8832 commit 63ff5bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ from within your PHPMD folder:

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

Linux / OS X users may extend this command to exclude files, that are not part of a commit:

vendor/bin/phpcs -p --extensions=php --standard=PSR2 --ignore=src/tests/resources $(git ls-files -om --exclude-standard | grep '\.php$') > phpcs.txt

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

Additional Resources
Expand Down

0 comments on commit 63ff5bf

Please sign in to comment.