forked from gocodebox/lifterlms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
41 lines (34 loc) · 1.11 KB
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0"?>
<ruleset name="LifterLMS">
<description>LifterLMS Rules for PHP_CodeSniffer</description>
<rule ref="Squiz.PHP.CommentedOutCode"/>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
<rule ref="Generic.Commenting.Todo"/>
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
<!--
Use all the Rules in the WordPress Core Standard
-->
<rule ref="WordPress-Core">
<!--
@todo possibly remove this rule
removing this for now
this does not allow filenames with underscores
can't handle that today...
-->
<exclude name="WordPress.Files.FileName" />
<!--
@todo definetly fix this, there's just soo many non yodas...
-->
<exclude name="WordPress.PHP.YodaConditions"/>
<!--
@todo fix this before too long...
-->
<exclude name="WordPress.Functions.DontExtract"/>
<exclude name="WordPress.WP.PreparedSQL"/>
<!--
@todo waiting on resolution for this bug report: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/719
-->
<exclude name="WordPress.WP.I18n"/>
</rule>
</ruleset>