-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.phpcs.xml
28 lines (23 loc) · 1.04 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
<?xml version="1.0"?>
<ruleset>
<description>Coding standard based on PSR12 with comments from PEAR for Galette</description>
<file>lib/</file>
<exclude-pattern>/.git/</exclude-pattern>
<arg name="warning-severity" value="0" /><!-- no warning -->
<arg value="p" /><!-- show progress -->
<arg value="s" /><!-- show sniff codes -->
<ini name="memory_limit" value="512M" />
<arg name="colors" />
<arg name="extensions" value="php" />
<!-- Include the whole PSR12 standard -->
<rule ref="PSR12"/>
<!-- Comments rules from PEAR standard -->
<rule ref="PEAR.Commenting.ClassComment">
<exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingPackageTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingLinkTag"/>
</rule>
<!--rule ref="PEAR.Commenting.FunctionComment"/-->
<rule ref="PEAR.Commenting.InlineComment"/>
</ruleset>