-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
77 lines (69 loc) · 2.76 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0"?>
<ruleset name="Ranyuen">
<description>Ranyuen coding standard.</description>
<!-- Generic -->
<rule ref="Generic.Classes">
<exclude name="Generic.Classes.OpeningBraceSameLine"/>
</rule>
<rule ref="Generic.CodeAnalysis"/>
<rule ref="Generic.Commenting"/>
<rule ref="Generic.ControlStructures"/>
<rule ref="Generic.Debug"/>
<rule ref="Generic.Files">
<exclude name="Generic.Files.EndFileNoNewline"/>
<exclude name="Generic.Files.LowercasedFilename"/>
</rule>
<rule ref="Generic.Formatting">
<exclude name="Generic.Formatting.MultipleStatementAlignment"/>
<exclude name="Generic.Formatting.NoSpaceAfterCast.SpaceFound"/>
</rule>
<rule ref="Generic.Functions">
<exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie"/>
</rule>
<rule ref="Generic.Metrics"/>
<rule ref="Generic.NamingConventions"/>
<rule ref="Generic.PHP">
<exclude name="Generic.PHP.ClosingPHPTag"/>
<exclude name="Generic.PHP.UpperCaseConstant"/>
</rule>
<rule ref="Generic.Strings"/>
<rule ref="Generic.VersionControl"/>
<rule ref="Generic.WhiteSpace">
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent"/>
</rule>
<!-- MySource -->
<!-- PEAR -->
<rule ref="PEAR.Classes"/>
<rule ref="PEAR.Commenting">
<exclude name="PEAR.Commenting.ClassComment.MissingAuthorTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingLinkTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingPackageTag"/>
<exclude name="PEAR.Commenting.FileComment.MissingCategoryTag"/>
<exclude name="PEAR.Commenting.FileComment.MissingPackageTag"/>
<exclude name="PEAR.Commenting.FileComment.MissingVersion"/>
<exclude name="PEAR.Commenting.FunctionComment.Missing"/>
<exclude name="PEAR.Commenting.FunctionComment.SpacingBeforeTags"/>
</rule>
<rule ref="PEAR.ControlStructures">
<exclude name="PEAR.Formatting.MultiLineAssignment.Indent"/>
</rule>
<rule ref="PEAR.Files"/>
<rule ref="PEAR.Formatting"/>
<rule ref="PEAR.Functions"/>
<rule ref="PEAR.NamingConventions">
<exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
<exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
</rule>
<rule ref="PEAR.WhiteSpace">
<exclude name="PEAR.WhiteSpace.ScopeIndent.IncorrectExact"/>
</rule>
<!-- PHPCS -->
<!-- PSR1 -->
<rule ref="PSR1"/>
<!-- PSR2 -->
<rule ref="PSR2"/>
<!-- Squiz -->
<!-- Zend -->
</ruleset>