Skip to content

Commit

Permalink
Add properties for WordPress.XSS.EscapeOutput sniff
Browse files Browse the repository at this point in the history
  • Loading branch information
sudar committed Dec 20, 2017
1 parent 013b37a commit c3e1956
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,10 @@
<property name="strict_class_file_names" value="false" />
</properties>
</rule>

<rule ref="WordPress.XSS.EscapeOutput">
<properties>
<property name="customAutoEscapedFunctions" type="array" value="__" />
</properties>
</rule>
</ruleset>

0 comments on commit c3e1956

Please sign in to comment.