]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - phpcs.xml
Manually fix remaining PHPCS errors
[github/shaarli/Shaarli.git] / phpcs.xml
index 349dc5664f6ac626c6f982edc51f9375074508b6..c559e35da97bb4d8ec7afb229c7845fab983767f 100644 (file)
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -14,4 +14,9 @@
 
   <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>
+  </rule>
 </ruleset>