1*994e9d4eSAndreas Gohr<?xml version="1.0"?> 2*994e9d4eSAndreas Gohr<ruleset name="DokuWiki Coding Standard Standard" namespace="DokuWiki\CS\Standard"> 3*994e9d4eSAndreas Gohr <description>Coding Standard used for DokuWiki</description> 4*994e9d4eSAndreas Gohr <file>../inc</file> 5*994e9d4eSAndreas Gohr <file>../lib</file> 6*994e9d4eSAndreas Gohr <file>../bin</file> 7*994e9d4eSAndreas Gohr <file>../doku.php</file> 8*994e9d4eSAndreas Gohr <file>../index.php</file> 9*994e9d4eSAndreas Gohr <file>../feed.php</file> 10*994e9d4eSAndreas Gohr <file>../install.php</file> 11*994e9d4eSAndreas Gohr <exclude-pattern>*/lang/*/lang.php</exclude-pattern> 12*994e9d4eSAndreas Gohr <exclude-pattern>*/lang/*/settings.php</exclude-pattern> 13*994e9d4eSAndreas Gohr <exclude-pattern>*/_test/*</exclude-pattern> 14*994e9d4eSAndreas Gohr <arg name="colors"/> 15*994e9d4eSAndreas Gohr <arg value="sp"/> 16*994e9d4eSAndreas Gohr <arg name="extensions" value="php"/> 17*994e9d4eSAndreas Gohr <!-- rules on top of PSR-2 --> 18*994e9d4eSAndreas Gohr <rule ref="PSR2"> 19*994e9d4eSAndreas Gohr <!-- the following rule is not in PSR-2 and breaks the guardian pattern --> 20*994e9d4eSAndreas Gohr <exclude name="Generic.ControlStructures.InlineControlStructure.NotAllowed"/> 21*994e9d4eSAndreas Gohr </rule> 22*994e9d4eSAndreas Gohr <!-- configure additional rules here later --> 23*994e9d4eSAndreas Gohr</ruleset> 24