Skip to content

Commit

Permalink
WPCS 3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Aug 22, 2023
1 parent 56e2183 commit 4ae7143
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions WPForms/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,16 @@
<exclude name="WordPress.WP.EnqueuedResourceParameters.MissingVersion"/>
<!-- Database specific rules. -->
<exclude name="WordPress.DB.DirectDatabaseQuery.DirectQuery"/>
<!-- PSR4 yo. -->
<!-- Rules to follow PSR4 -->
<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>
<!-- Misc. -->
<exclude name="WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents"/>
<exclude name="WordPress.PHP.YodaConditions.NotYoda"/>
<exclude name="Generic.Arrays.DisallowShortArraySyntax.Found"/>
<!-- WPCS 3.0 -->
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.Found"/>
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed"/>
<exclude name="Universal.Arrays.DisallowShortArraySyntax.Found"/>
</rule>

<!-- Re-enable certain sniffs that were disabled by WordPress* standards. -->
Expand Down

0 comments on commit 4ae7143

Please sign in to comment.