File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 14
14
<!-- Exclude traits from the PHP SDK. -->
15
15
<exclude-pattern >class-convertkit-api-traits.php</exclude-pattern >
16
16
17
- <!-- Check that code meets WordPress-Extra standards. -->
18
- <rule ref =" WordPress-Extra " >
17
+ <!-- Check that code meets WordPress standards - this includes core, docs and extra . -->
18
+ <rule ref =" WordPress" >
19
19
<!--
20
20
We may want a middle ground though. The best way to do this is add the
21
21
entire ruleset, then rule by rule, remove ones that don't suit a project.
33
33
<exclude name="WordPress.Security.EscapeOutput"/>
34
34
-->
35
35
<exclude name =" WordPress.PHP.YodaConditions" />
36
+ <exclude name =" WordPress.DB.SlowDBQuery.slow_db_query_meta_query" />
36
37
<exclude name =" PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose" />
37
38
<exclude name =" PSR2.Classes.ClassDeclaration.CloseBraceAfterBody" />
38
39
</rule >
39
40
40
- <!-- Check that code is documented to WordPress Standards. -->
41
- <rule ref =" WordPress-Docs" />
42
-
43
41
<!-- Add in some extra rules from other standards. -->
44
42
<rule ref =" Generic.CodeAnalysis.UnusedFunctionParameter" />
45
43
<rule ref =" Generic.Commenting.Todo" />
You can’t perform that action at this time.
0 commit comments