-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpcs.xml
34 lines (34 loc) · 1.75 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
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<description>The coding standard for PHP_CodeSniffer itself.</description>
<rule ref="PEAR">
<exclude name="PEAR.Commenting.FileComment.WrongStyle"/>
<exclude name="PEAR.Commenting.ClassComment.WrongStyle"/>
<exclude name="PEAR.Commenting.FunctionComment.WrongStyle"/>
<exclude name="PEAR.Commenting.FileComment.MissingVersion"/>
<exclude name="PEAR.Commenting.FileComment.MissingAuthorTag"/>
<exclude name="PEAR.Commenting.FileComment.MissingLicenseTag"/>
<exclude name="PEAR.Commenting.FileComment.MissingPackageTag"/>
<exclude name="PEAR.Commenting.FileComment.MissingCategoryTag"/>
<exclude name="PEAR.Commenting.FileComment.MissingLinkTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingAuthorTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingPackageTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingLinkTag"/>
<exclude name="PEAR.Classes.ClassDeclaration.SpaceBeforeBrace"/>
<exclude name="PEAR.Classes.ClassDeclaration.OpenBraceNotAlone"/>
<exclude name="PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps"/>
</rule>
<rule ref="Generic.Files.LineLength">
<exclude name="Generic.Files.LineEndings.InvalidEOLChar" />
<exclude name="Generic.WhiteSpace.DisallowTabIndent.TabsUsed" />
<properties>
<property name="lineLimit" value="700"/>
<property name="absoluteLineLimit" value="0"/>
</properties>
</rule>
<rule ref="Internal.LineEndings.Mixed">
<severity>0</severity>
</rule>
</ruleset>