-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
30 lines (25 loc) · 1007 Bytes
/
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
<?xml version="1.0"?>
<ruleset name="Webforge Coding Standard"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
>
<rule ref="PSR12">
<exclude name="Generic.Files.LineLength"/>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern type="relative">*Test\.php</exclude-pattern>
</rule>
<rule ref="Squiz.WhiteSpace.FunctionOpeningBraceSpace" />
<rule ref="SlevomatCodingStandard.Classes.EmptyLinesAroundClassBraces">
<properties>
<property name="linesCountAfterOpeningBrace" value="0"/>
<property name="linesCountBeforeClosingBrace" value="0"/>
</properties>
</rule>
<file>./lib</file>
<file>./tests</file>
<exclude-pattern>./lib/package.boot.php</exclude-pattern>
<autoload>vendor/autoload.php</autoload>
<arg value="p"/>
<arg name="colors" />
</ruleset>