-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
38 lines (32 loc) · 1.45 KB
/
phpcs.xml
File metadata and controls
38 lines (32 loc) · 1.45 KB
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
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="LAC"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/PHPCSStandards/PHP_CodeSniffer/master/phpcs.xsd">
<description>LAC coding standard.</description>
<file>psr-worker.php</file>
<file>src</file>
<file>tests</file>
<file>include</file>
<file>modules</file>
<file>config</file>
<file>routes</file>
<arg name="basepath" value="."/>
<arg name="colors"/>
<arg value="p"/>
<arg value="s"/>
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie"/>
<rule ref="PSR12">
<exclude name="PSR2.Methods.FunctionClosingBrace"/>
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen"/>
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose"/>
<exclude name="PSR2.ControlStructures.ElseIfDeclaration"/>
<exclude name="Squiz.Functions.FunctionDeclaration"/>
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine"/>
<exclude name="Generic.Functions.OpeningFunctionBraceBsdAllman"/>
<exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint"/>
</rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint">
<properties>
<property name="type_hint_token" value="false"/>
</properties>
</rule>
</ruleset>