Skip to content

Commit

Permalink
Update exclude rule for WP alternative functions sniff
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Dec 17, 2024
1 parent 5de522a commit 9a9dc73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpcs-rulesets/plugin-review.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<!-- Check for code WP does better -->
<rule ref="WordPress.WP.AlternativeFunctions">
<type>error</type>
<exclude name="WordPress.WP.AlternativeFunctions.json_encode"/>
<exclude name="WordPress.WP.AlternativeFunctions.json_encode_json_encode"/>
</rule>

<rule ref="Generic.PHP.ForbiddenFunctions">
Expand Down

0 comments on commit 9a9dc73

Please sign in to comment.