-
Notifications
You must be signed in to change notification settings - Fork 1
/
code-standards-cs.xml
executable file
·24 lines (21 loc) · 1.02 KB
/
code-standards-cs.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
<?xml version="1.0"?>
<ruleset name="Laravel Modified PSR-1">
<description>
A custom coding standard mostly based on PSR-1, adapted to Laravel.
</description>
<rule ref="PSR1">
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
</rule>
<rule ref="PSR2">
<exclude name="PSR2.Classes.ClassDeclaration.OpenBraceNewLine"/>
<exclude name="PSR2.Files.EndFileNewline.NoneFound"/>
<exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine"/>
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction"/>
<exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed"/>
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction"/>
<exclude name="PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace"/>
<exclude name="Squiz.ControlStructures.ControlSignature"/>
</rule>
<rule ref="Squiz.ControlStructures.InlineIfDeclaration">
</rule>
</ruleset>