Fix the <exclude-pattern> directives!
[paste/8.git] / library / EasyBib / PHP / CodeSniffer / Standards / EasyBib / ruleset.xml
1 <?xml version="1.0"?>
2 <ruleset name="EasyBib">
3
4  <description>EasyBib Coding Standard.</description>
5
6  <exclude-pattern>*tests/*</exclude-pattern>
7  <exclude-pattern>*data/*</exclude-pattern>
8  <exclude-pattern>*var/*</exclude-pattern>
9  <exclude-pattern>*bin/*</exclude-pattern>
10  <exclude-pattern>*vendor/*</exclude-pattern>
11  <exclude-pattern>*www/*</exclude-pattern>
12  <exclude-pattern>*views/scripts/*</exclude-pattern>
13  <exclude-pattern>*etc/*</exclude-pattern>
14  <exclude-pattern>*examples/*</exclude-pattern>
15  <exclude-pattern>*docs/*</exclude-pattern>
16
17  <rule ref="PEAR"/>
18  <rule ref="PSR1"/>
19
20  <rule ref="Generic.Files.LineLength">
21   <properties>
22    <property name="lineLimit" value="90"/>
23    <property name="absoluteLineLimit" value="100"/>
24   </properties>
25  </rule>
26
27  <rule ref="Generic.Commenting.Todo.CommentFound">
28   <message>Please review this TODO comment: %s</message>
29   <severity>3</severity>
30  </rule>
31
32  <rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
33  <rule ref="Generic.NamingConventions.CamelCapsFunctionName">
34   <properties>
35    <property name="strict" value="false"/>
36   </properties>
37  </rule>
38
39  <rule ref="PEAR.NamingConventions.ValidFunctionName">
40   <exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
41   <exclude name="PEAR.NamingConventions.ValidFunctionName.FunctionUnderscore"/>
42  </rule>
43
44  <rule ref="PEAR.NamingConventions.ValidVariableName">
45     <exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
46  </rule>
47
48 </ruleset>