2 <ruleset name="EasyBib">
4 <description>EasyBib Coding Standard.</description>
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>
21 <rule ref="Generic.Commenting.Todo.CommentFound">
22 <message>Please review this TODO comment: %s</message>
23 <severity>3</severity>
26 <rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
27 <rule ref="Generic.NamingConventions.CamelCapsFunctionName">
29 <property name="strict" value="false"/>
33 <rule ref="PEAR.NamingConventions.ValidFunctionName">
34 <exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
35 <exclude name="PEAR.NamingConventions.ValidFunctionName.FunctionUnderscore"/>
38 <rule ref="PEAR.NamingConventions.ValidVariableName">
39 <exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
42 <rule ref="PSR2.Files.EndFileNewline">
43 <exclude name="PSR2.Files.EndFileNewline.NotFound"/>
46 <rule ref="EasyBib.PHP.CodeSniffer.Standards.EasyBib.Methods.ConstructShouldNotReturn"/>