-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpcs.xml
26 lines (25 loc) · 834 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
<?xml version="1.0"?>
<!--
~ Copyright (c) 2023. Venelin Iliev.
~ https://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.ScalarTypeHintMissing"/>
</rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag">
<exclude name="Squiz.Commenting.FunctionComment.EmptyThrows"/>
</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>tests</exclude-pattern>
</ruleset>