forked from aspose-words-cloud/aspose-words-cloud-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
45 lines (41 loc) · 2.02 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
<?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.FunctionComment.SpacingAfterParamName"/>
<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>
<!-- All PHP files MUST use the Unix LF (linefeed) line ending. -->
<rule ref="Generic.Files.LineEndings">
<properties>
<property name="eolChar" value="\n"/>
</properties>
</rule>
</ruleset>