Skip to content

Commit

Permalink
move the excluded rule inside the vip minimum rule & add another vip …
Browse files Browse the repository at this point in the history
…rule
  • Loading branch information
jazzsequence committed Apr 14, 2023
1 parent cecd26f commit 4f9a9cb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Pantheon-WP/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@
</rule>
<rule ref="WordPress-Extra" />
<rule ref="WordPress-Docs" />
<rule ref="WordPressVIPMinimum" />
<rule ref="WordPressVIPMinimum">
<exclude name="WordPressVIPMinimum.Functions.RestrictedFunctions.wp_remote_get_wp_remote_get" />
<exclude name="WordPressVIPMinimum.Files.IncludingFile.UsingVariable" />
</rule>

<!-- Rule exclusions -->
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
<rule ref="WordPressVIPMinimum.Functions.RestrictedFunctions.wp_remote_get_wp_remote_get" />

<!-- Require proper docblocks be used in all PHP files -->
<rule ref="WordPress-Docs">
Expand Down

0 comments on commit 4f9a9cb

Please sign in to comment.