-
Notifications
You must be signed in to change notification settings - Fork 62
/
.phpcs.xml
34 lines (31 loc) · 1.56 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 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
<description>PHP STANDARD</description>
<exclude-pattern>*/*\.blade\.php$</exclude-pattern>
<exclude-pattern>/vendor</exclude-pattern>
<exclude-pattern>/bootstrap/cache/*</exclude-pattern>
<exclude-pattern>/storage/*</exclude-pattern>
<exclude-pattern>/config/*</exclude-pattern>
<exclude-pattern>/node_modules/*</exclude-pattern>
<exclude-pattern>/_ide_helper.php</exclude-pattern>
<arg name="colors"/>
<arg name="parallel" value="75"/>
<arg value="wsv"/>
<arg name="extensions" value="php"/>
<rule ref="PEAR">
<exclude name="Generic.Commenting"/>
<exclude name="Squiz.Commenting"/>
<exclude name="PEAR.Commenting"/>
<exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
<exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
<exclude name="PEAR.WhiteSpace.ScopeIndent.IncorrectExact"/>
<exclude name="PEAR.Files.IncludingFile.UseInclude"/>
<exclude name="PEAR.Files.IncludingFile.UseIncludeOnce"/>
<exclude name="PEAR.Files.IncludingFile.BracketsNotRequired"/>
<exclude name="PEAR.NamingConventions.ValidFunctionName.FunctionNoCapital"/>
<exclude name="PEAR.NamingConventions.ValidFunctionName.FunctionNameInvalid"/>
<!--<exclude name="Generic.Files.LineEndings.InvalidEOLChar"/>-->
</rule>
<rule ref="PSR2">
</rule>
</ruleset>