Skip to content

Commit

Permalink
Ignore "namespace" used in REST API
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Jan 11, 2018
1 parent fbbbc7a commit 5b15dbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@

<!-- Rules -->
<rule ref="WooCommerce-Core" />
<rule ref="PHPCompatibility" />
<rule ref="PHPCompatibility">
<exclude name="PHPCompatibility.PHP.NewKeywords.t_namespaceFound" />
</rule>

<rule ref="WordPress">
<exclude name="WordPress.VIP.DirectDatabaseQuery.NoCaching" />
Expand Down

0 comments on commit 5b15dbe

Please sign in to comment.