]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - phpcs.xml
Coding style: switch PHPCS to PSR12
[github/shaarli/Shaarli.git] / phpcs.xml
index 29b95d56dacffcff94e3a92cd6137289750e6686..349dc5664f6ac626c6f982edc51f9375074508b6 100644 (file)
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -5,13 +5,13 @@
   <file>index.php</file>
   <file>application</file>
   <file>plugins</file>
-  <file>tests</file>
+<!--  <file>tests</file>-->
 
   <exclude-pattern>*/*.css</exclude-pattern>
   <exclude-pattern>*/*.js</exclude-pattern>
 
   <arg name="colors"/>
 
-  <rule ref="PSR1"/>
-  <rule ref="PSR2"/>
+  <rule ref="PSR12"/>
+  <rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
 </ruleset>