mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-13 22:34:07 +00:00
add PHPCS Squiz.Arrays.ArrayDeclaration.KeyNotAligned rule
This commit is contained in:
@@ -35,7 +35,7 @@ $aPlaceDetails['isarea'] = ($aPointDetails['isarea'] == 't');
|
||||
$aPlaceDetails['centroid'] = array(
|
||||
'type' => 'Point',
|
||||
'coordinates' => array( (float) $aPointDetails['lon'], (float) $aPointDetails['lat'] )
|
||||
);
|
||||
);
|
||||
|
||||
$aPlaceDetails['geometry'] = json_decode($aPointDetails['asgeojson']);
|
||||
|
||||
|
||||
@@ -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>
|
||||
@@ -103,7 +105,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- **************************************************************
|
||||
VARIABLES
|
||||
************************************************************** -->
|
||||
|
||||
Reference in New Issue
Block a user