]> git.openstreetmap.org Git - nominatim.git/blobdiff - phpcs.xml
update links and remove MapQuest reference
[nominatim.git] / phpcs.xml
index 2f4bc11823b89be57f01c1df771f00b33d08beda..8f92f7c99078b87ca7f0bfd213fe93bfe5c44315 100644 (file)
--- a/phpcs.xml
+++ b/phpcs.xml
 
 
 
+
+  <!-- **************************************************************
+       STRING QUOTING
+       ************************************************************** -->
+
+  <!-- Prefer single quoted strings -->
+  <rule ref="Squiz.Strings.DoubleQuoteUsage" />
+
+  <!-- We allow variabled inside double-quoted strings "abc $somevar" -->
+  <rule ref="Squiz.Strings.DoubleQuoteUsage.ContainsVar">
+    <severity>0</severity>
+  </rule>
+
+
+
+
+
   <!-- **************************************************************
        CONTROL STRUCTURES
        ************************************************************** -->