]> git.openstreetmap.org Git - nominatim.git/blobdiff - phpcs.xml
remove tests that differ between lua and gazetteer versions
[nominatim.git] / phpcs.xml
index 6b4abc392a8279971f43e6a382708f6b7e6c2aed..ab9d3969284b0961f0b4f31c9d4243de05556e5d 100644 (file)
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -93,6 +93,8 @@
        INDENTATION, SPACING
        ************************************************************** -->
 
+  <rule ref="Squiz.Arrays.ArrayDeclaration.KeyNotAligned" />
+
   <!-- Aligned looks nicer, but causes too many warnings currently -->
   <rule ref="Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned">
     <severity>0</severity>
 
 
 
-
   <!-- **************************************************************
        VARIABLES
        ************************************************************** -->
     <severity>0</severity>
   </rule>
 
+  <!-- array() instead of [] for initialisation -->
+  <rule ref="Generic.Arrays.DisallowShortArraySyntax.Found" />