-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
26 lines (22 loc) · 1.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
<?xml version="1.0"?>
<ruleset name="Zemit">
<description>Zemit Coding Standards</description>
<!-- Show sniff codes in all reports -->
<arg value="s"/>
<!-- Use PSR-2 with some changes -->
<rule ref="PSR2">
<exclude name="Generic.Files.LineLength"/>
<exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
<exclude name="PSR2.Classes.ClassDeclaration.CloseBraceAfterBody"/>
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace"/>
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen"/>
<exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine"/>
</rule>
<file>app</file>
<exclude-pattern>app/Migrations/*</exclude-pattern>
<exclude-pattern>private/*</exclude-pattern>
<exclude-pattern>storage/*</exclude-pattern>
<exclude-pattern>public/storage/*</exclude-pattern>
<exclude-pattern>**vendor**</exclude-pattern>
</ruleset>