Skip to content

Commit

Permalink
Merge pull request #68 from WP-API/fix-phpcs
Browse files Browse the repository at this point in the history
Ignore unnecessary rules
  • Loading branch information
rmccue authored May 31, 2021
2 parents f9e2b6a + 4d29345 commit ed15f31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
<config name="minimum_supported_wp_version" value="4.8"/>
<rule ref="WordPress">
<exclude name="Generic.Commenting" />
<exclude name="Generic.Arrays.DisallowShortArraySyntax" />
<exclude name="Squiz.Commenting" />
<exclude name="WordPress.DateTime.RestrictedFunctions.date_date" />
<exclude name="WordPress.NamingConventions.ValidHookName.UseUnderscores" />
</rule>
</ruleset>

0 comments on commit ed15f31

Please sign in to comment.