Completed
Push — AUTOMATED_TESTING ( 0fc006...6591ac )
by Gordon
12:25
created
code/Mappable.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Defines the interface for a mappable DataObject. Implementors of this interface
4
- * must define the following functions in order to work with the {@link GoogleMapUtil}
5
- * helper class.
6
- *
7
- * @author Uncle Cheese
8
- * @package mappable
9
- */
3
+	 * Defines the interface for a mappable DataObject. Implementors of this interface
4
+	 * must define the following functions in order to work with the {@link GoogleMapUtil}
5
+	 * helper class.
6
+	 *
7
+	 * @author Uncle Cheese
8
+	 * @package mappable
9
+	 */
10 10
 interface Mappable {
11 11
 
12 12
 	/**
Please login to merge, or discard this patch.
code/MapAPI.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -397,10 +397,10 @@
 block discarded – undo
397 397
 	}
398 398
 
399 399
 	/**
400
-	* Set the center of the gmap
401
-	*
402
-	* @return MapAPI This same object, in order to enable chaining of methods
403
-	**/
400
+	 * Set the center of the gmap
401
+	 *
402
+	 * @return MapAPI This same object, in order to enable chaining of methods
403
+	 **/
404 404
 	public function setLatLongCenter($center) {
405 405
 		$this->latLongCenter = $center;
406 406
 		return $this;
Please login to merge, or discard this patch.
code/MappableData.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 		}
81 81
 
82 82
 		//https://maps.googleapis.com/maps/api/staticmap?center=Berkeley,CA&zoom=14&size=400x400&key=YOUR_API_KEY
83
-			    //maps.googleapis.com/maps/api/staticmap';
83
+				//maps.googleapis.com/maps/api/staticmap';
84 84
 
85 85
 		$apiurl = Config::inst()->get('MappableData', 'staticmap_api_url');
86 86
 
Please login to merge, or discard this patch.
code/MapExtension.php 1 patch
Indentation   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -186,8 +186,7 @@
 block discarded – undo
186 186
 			}
187 187
 			$map->setClusterer(true);
188 188
 		}
189
-
190
-		**/
189
+		 **/
191 190
 
192 191
 		$map->setEnableAutomaticCenterZoom($autozoom);
193 192
 		$map->setShowInlineMapDivStyle(true);
Please login to merge, or discard this patch.
tests/MapAPITest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -283,7 +283,7 @@
 block discarded – undo
283 283
 		$expected = array(
284 284
 			'lat' => 13.8621125,
285 285
 			'lon' => 100.5143528,
286
-    		'geocoded' => true
286
+			'geocoded' => true
287 287
 		);
288 288
 		$this->assertEquals($expected, $location);
289 289
 	}
Please login to merge, or discard this patch.