-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
32 lines (25 loc) · 963 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
31
32
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<description>PHPCS configuration file.</description>
<!-- check all files in the app directory-->
<file>src</file>
<file>test/Rebelo</file>
<arg value="nps"/>
<rule ref="Zend">
<exclude name="Zend.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
</rule>
<rule ref="PEAR.ControlStructures.ControlSignature.Found">
<exclude name="PEAR.ControlStructures.ControlSignature.Found"/>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="ignoreComments" value="true" />
</properties>
</rule>
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman">
<properties>
<property name="checkFunctions" value="true" />
<property name="checkClosures" value="true" />
</properties>
</rule>
</ruleset>