mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-08-16 22:50:24 +03:00
PHP code style rule to enforce single quotes
This commit is contained in:
parent
0c053431f5
commit
71602afcad
17
phpcs.xml
17
phpcs.xml
@ -129,6 +129,23 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- **************************************************************
|
||||
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
|
||||
************************************************************** -->
|
||||
|
Loading…
Reference in New Issue
Block a user