-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
28 lines (23 loc) · 988 Bytes
/
Copy pathphpcs.xml
File metadata and controls
28 lines (23 loc) · 988 Bytes
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
<?xml version="1.0"?>
<ruleset name="Laravel Standards">
<description>The Laravel Coding Standards from https://github.com/emielmolenaar/phpcs-phpcs-laravel</description>
<ini name="memory_limit" value="1G"/>
<rule ref="PHPCompatibility"/>
<rule ref="PSR12">
<exclude name="PSR12.Operators.OperatorSpacing"/>
</rule>
<rule ref="Squiz.NamingConventions.ValidVariableName.NotCamelCaps"/>
<rule ref="SlevomatCodingStandard.Functions.FunctionLength"/>
<rule ref="SlevomatCodingStandard.Classes.ClassStructure"/>
<rule ref="SlevomatCodingStandard.Classes.ClassLength"/>
<rule ref="PHPCompatibility.FunctionDeclarations.NewClosure.ThisFoundOutsideClass">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<file>app</file>
<file>config</file>
<file>routes</file>
<file>tests</file>
</ruleset>