Skip to content

Commit

Permalink
Merge pull request #14 from ItinerisLtd/TangRufus-patch-1
Browse files Browse the repository at this point in the history
Readme: Scan only PHP files
  • Loading branch information
tangrufus committed Mar 20, 2019
2 parents 21a9750 + d958e5a commit 0c5ada1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -58,6 +58,9 @@ First, create [`phpcs.xml`](https://github.com/squizlabs/PHP_CodeSniffer/wiki/An

<!-- Show progress and sniff codes in all reports -->
<arg value="sp"/>

<!-- Scan only PHP files -->
<arg name="extensions" value="php"/>

<!-- Install custom rulesets -->
<config name="installed_paths" value="vendor/wp-coding-standards/wpcs,vendor/automattic/vipwpcs,vendor/itinerisltd/itineris-wp-coding-standards"/>
Expand Down

0 comments on commit 0c5ada1

Please sign in to comment.