Move files around.
[paste/8.git] / 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  <rule ref="PSR2"/>
20
21  <rule ref="Generic.Commenting.Todo.CommentFound">
22   <message>Please review this TODO comment: %s</message>
23   <severity>3</severity>
24  </rule>
25
26  <rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
27  <rule ref="Generic.NamingConventions.CamelCapsFunctionName">
28   <properties>
29    <property name="strict" value="false"/>
30   </properties>
31  </rule>
32
33  <rule ref="PEAR.NamingConventions.ValidFunctionName">
34   <exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
35   <exclude name="PEAR.NamingConventions.ValidFunctionName.FunctionUnderscore"/>
36  </rule>
37
38  <rule ref="PEAR.NamingConventions.ValidVariableName">
39   <exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
40  </rule>
41
42  <rule ref="PSR2.Files.EndFileNewline">
43   <exclude name="PSR2.Files.EndFileNewline.NotFound"/>
44  </rule>
45
46  <rule ref="EasyBib.PHP.CodeSniffer.Standards.EasyBib.Methods.ConstructShouldNotReturn"/>
47
48 </ruleset>