xref: /dokuwiki/_test/phpcs_MigrationAdjustments.xml (revision 257be26ca11cc3e4cd657879dce08ee32d8767dd)
136faf696SMichael Große<?xml version="1.0"?>
236faf696SMichael Große<ruleset name="Migration Adjustments for the DokuWiki Coding Standard Standard" namespace="DokuWiki\CS\Standard">
336faf696SMichael Große    <description>These are exceptions to the Coding Standard used for DokuWiki that are intended to be removed over time.</description>
436faf696SMichael Große
5*257be26cSAndreas Gohr    <!-- extend the standard configuration -->
636faf696SMichael Große    <rule ref="./phpcs.xml">
736faf696SMichael Große    </rule>
836faf696SMichael Große
936faf696SMichael Große    <!-- for now we mix declarations and execution here (mostly for defines) -->
1036faf696SMichael Große    <rule ref="PSR1.Files.SideEffects">
1136faf696SMichael Große        <exclude-pattern>*/index.php</exclude-pattern>
1236faf696SMichael Große        <exclude-pattern>*/inc/parserutils.php</exclude-pattern>
1336faf696SMichael Große        <exclude-pattern>*/inc/mail.php</exclude-pattern>
1436faf696SMichael Große        <exclude-pattern>*/inc/init.php</exclude-pattern>
1536faf696SMichael Große        <exclude-pattern>*/inc/farm.php</exclude-pattern>
1636faf696SMichael Große        <exclude-pattern>*/inc/fulltext.php</exclude-pattern>
1736faf696SMichael Große        <exclude-pattern>*/inc/pluginutils.php</exclude-pattern>
1836faf696SMichael Große        <exclude-pattern>*/inc/indexer.php</exclude-pattern>
1936faf696SMichael Große        <exclude-pattern>*/inc/Mailer.class.php</exclude-pattern>
2036faf696SMichael Große        <exclude-pattern>*/doku.php</exclude-pattern>
2136faf696SMichael Große        <exclude-pattern>*/install.php</exclude-pattern>
2236faf696SMichael Große        <exclude-pattern>*/inc/utf8.php</exclude-pattern>
2336faf696SMichael Große        <exclude-pattern>*/feed.php</exclude-pattern>
2436faf696SMichael Große        <exclude-pattern>*/inc/load.php</exclude-pattern>
2536faf696SMichael Große        <exclude-pattern>*/bin/*.php</exclude-pattern>
2636faf696SMichael Große        <exclude-pattern>*/lib/exe/*.php</exclude-pattern>
2736faf696SMichael Große    </rule>
2836faf696SMichael Große
2936faf696SMichael Große</ruleset>
30