🤖 Rector and PHPCS fixes
[dokuwiki.git] / _test / phpcs_MigrationAdjustments.xml
blobce571b7fd6ca25c65f0e8fbb3661da3a1a9e12b6
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>
5     <!-- extend the standard configuration -->
6     <rule ref="./phpcs.xml">
7     </rule>
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>
29 </ruleset>