forked from gocodebox/lifterlms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
36 lines (30 loc) · 1015 Bytes
/
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
<?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 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>