1994e9d4eSAndreas Gohr<?xml version="1.0"?> 2994e9d4eSAndreas Gohr<ruleset name="DokuWiki Coding Standard Standard" namespace="DokuWiki\CS\Standard"> 3994e9d4eSAndreas Gohr <description>Coding Standard used for DokuWiki</description> 4994e9d4eSAndreas Gohr <file>../inc</file> 5994e9d4eSAndreas Gohr <file>../lib</file> 6994e9d4eSAndreas Gohr <file>../bin</file> 7994e9d4eSAndreas Gohr <file>../doku.php</file> 8994e9d4eSAndreas Gohr <file>../index.php</file> 9994e9d4eSAndreas Gohr <file>../feed.php</file> 10994e9d4eSAndreas Gohr <file>../install.php</file> 11994e9d4eSAndreas Gohr <exclude-pattern>*/lang/*/lang.php</exclude-pattern> 12994e9d4eSAndreas Gohr <exclude-pattern>*/lang/*/settings.php</exclude-pattern> 13994e9d4eSAndreas Gohr <exclude-pattern>*/_test/*</exclude-pattern> 14994e9d4eSAndreas Gohr <arg name="colors"/> 15994e9d4eSAndreas Gohr <arg value="sp"/> 16994e9d4eSAndreas Gohr <arg name="extensions" value="php"/> 17994e9d4eSAndreas Gohr <!-- rules on top of PSR-2 --> 18994e9d4eSAndreas Gohr <rule ref="PSR2"> 19994e9d4eSAndreas Gohr <!-- the following rule is not in PSR-2 and breaks the guardian pattern --> 20994e9d4eSAndreas Gohr <exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed"/> 21*4b3d1701SAndreas Gohr 22*4b3d1701SAndreas Gohr <!-- we have lots of legacy classes without name spaces --> 23*4b3d1701SAndreas Gohr <exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/> 24994e9d4eSAndreas Gohr </rule> 25994e9d4eSAndreas Gohr <!-- configure additional rules here later --> 26994e9d4eSAndreas Gohr</ruleset> 27