-
Notifications
You must be signed in to change notification settings - Fork 48
/
phpcs.xml.dist
34 lines (28 loc) · 1.07 KB
/
phpcs.xml.dist
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
<?xml version="1.0"?>
<ruleset name="Monospice">
<description>Coding standard used by Monospice packages</description>
<!-- PHPCS Configuration Options -->
<config name="colors" value="1"/>
<!-- Show progress while analyzing files -->
<arg value="p"/>
<!-- Check these files -->
<file>./src/</file>
<!-- Use the following coding standards -->
<rule ref="PSR2"/>
<rule ref="PEAR.Commenting">
<!-- Disable check for file-level docblock for now-->
<exclude name="PEAR.Commenting.FileComment"/>
</rule>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
<rule ref="Generic.Commenting.DocComment"/>
<rule ref="Generic.Commenting.Fixme"/>
<rule ref="Generic.Commenting.Todo"/>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="80"/>
<property name="absoluteLineLimit" value="0"/>
</properties>
</rule>
<rule ref="Generic.Functions.CallTimePassByReference"/>
</ruleset>