-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpcs.xml
33 lines (32 loc) · 1.17 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
27
28
29
30
31
32
33
<?xml version="1.0"?>
<!--
~ Copyright (c) 2019. ProVision Media Group Ltd. <http://provision.bg>
~ Venelin Iliev <http://veneliniliev.com>
-->
<ruleset name="PSR2">
<description>The PSR2 coding standard.</description>
<arg value="s"/>
<rule ref="PSR2"/>
<file>src/</file>
<rule ref="Squiz.Commenting.FunctionComment">
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment"/>
<exclude name="Squiz.Commenting.FunctionComment.TypeHintMissing"/>
</rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag">
<exclude name="Squiz.Commenting.FunctionComment.EmptyThrows"/>
</rule>
<rule ref="Squiz.Commenting.ClassComment">
<severity>0</severity>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="130"/>
</properties>
</rule>
<rule ref="Squiz.Commenting.VariableComment"/>
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>resources</exclude-pattern>
<exclude-pattern>database/</exclude-pattern>
<exclude-pattern>storage/</exclude-pattern>
<exclude-pattern>node_modules/</exclude-pattern>
</ruleset>