Skip to content

Commit

Permalink
Merge pull request #2 from pantheon-systems/ignore-wp-remote-get-vip-…
Browse files Browse the repository at this point in the history
…warning

Ignore WPVIPMinimum rules that suggest VIP-specific functions
  • Loading branch information
jazzsequence authored Apr 14, 2023
2 parents be3c842 + 4f9a9cb commit 1e8fb65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Pantheon-WP/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@
</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" />
Expand Down

0 comments on commit 1e8fb65

Please sign in to comment.