1<?xml version="1.0"?> 2<ruleset name="Migration Adjustments for the DokuWiki Coding Standard Standard" namespace="DokuWiki\CS\Standard"> 3 <description>These are exceptions to the Coding Standard used for DokuWiki that are intended to be removed over time.</description> 4 5 <!-- extend the standard configuration --> 6 <rule ref="./phpcs.xml"> 7 </rule> 8 9 <!-- for now we mix declarations and execution here (mostly for defines) --> 10 <rule ref="PSR1.Files.SideEffects"> 11 <exclude-pattern>*/index.php</exclude-pattern> 12 <exclude-pattern>*/inc/parserutils.php</exclude-pattern> 13 <exclude-pattern>*/inc/mail.php</exclude-pattern> 14 <exclude-pattern>*/inc/init.php</exclude-pattern> 15 <exclude-pattern>*/inc/farm.php</exclude-pattern> 16 <exclude-pattern>*/inc/fulltext.php</exclude-pattern> 17 <exclude-pattern>*/inc/pluginutils.php</exclude-pattern> 18 <exclude-pattern>*/inc/indexer.php</exclude-pattern> 19 <exclude-pattern>*/inc/Mailer.class.php</exclude-pattern> 20 <exclude-pattern>*/doku.php</exclude-pattern> 21 <exclude-pattern>*/install.php</exclude-pattern> 22 <exclude-pattern>*/inc/utf8.php</exclude-pattern> 23 <exclude-pattern>*/feed.php</exclude-pattern> 24 <exclude-pattern>*/inc/load.php</exclude-pattern> 25 <exclude-pattern>*/bin/*.php</exclude-pattern> 26 <exclude-pattern>*/lib/exe/*.php</exclude-pattern> 27 </rule> 28 29</ruleset> 30