]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - phpcs.xml
Merge pull request #1698 from ArthurHoaro/feature/plugins-search-filter
[github/shaarli/Shaarli.git] / phpcs.xml
index 349dc5664f6ac626c6f982edc51f9375074508b6..9bdc872092a0d3aff71bb1652db2148f3cc1790f 100644 (file)
--- a/phpcs.xml
+++ b/phpcs.xml
 
   <rule ref="PSR12"/>
   <rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
+
+  <rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
+    <!--  index.php bootstraps everything, so yes mixed symbols with side effects  -->
+    <exclude-pattern>index.php</exclude-pattern>
+    <exclude-pattern>plugins/*</exclude-pattern>
+  </rule>
 </ruleset>