Completed
Push — master ( ba1925...47ca7a )
by Doug
02:12
created
TransverseMercator.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCoord
4
- * @package PHPCoord
5
- * @author Jonathan Stott
6
- * @author Doug Wright
7
- */
3
+     * PHPCoord
4
+     * @package PHPCoord
5
+     * @author Jonathan Stott
6
+     * @author Doug Wright
7
+     */
8 8
 namespace PHPCoord;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
OSRef.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCoord
4
- * @package PHPCoord
5
- * @author Jonathan Stott
6
- * @author Doug Wright
7
- */
3
+     * PHPCoord
4
+     * @package PHPCoord
5
+     * @author Jonathan Stott
6
+     * @author Doug Wright
7
+     */
8 8
 namespace PHPCoord;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
RefEll.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCoord
4
- * @package PHPCoord
5
- * @author Jonathan Stott
6
- * @author Doug Wright
7
- */
3
+     * PHPCoord
4
+     * @package PHPCoord
5
+     * @author Jonathan Stott
6
+     * @author Doug Wright
7
+     */
8 8
 namespace PHPCoord;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
LatLng.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCoord
4
- * @package PHPCoord
5
- * @author Jonathan Stott
6
- * @author Doug Wright
7
- */
3
+     * PHPCoord
4
+     * @package PHPCoord
5
+     * @author Jonathan Stott
6
+     * @author Doug Wright
7
+     */
8 8
 namespace PHPCoord;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
             trigger_error('Current co-ordinates are in a non-WGS84 datum', E_USER_WARNING);
384 384
         }
385 385
 
386
-        $longitudeZone = (int)(($this->lng + 180) / 6) + 1;
386
+        $longitudeZone = (int) (($this->lng + 180) / 6) + 1;
387 387
 
388 388
         // Special zone for Norway
389 389
         if ($this->lat >= 56 && $this->lat < 64 && $this->lng >= 3 && $this->lng < 12) {
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
         }
441 441
 
442 442
         $zones = "CDEFGHJKLMNPQRSTUVWXX";
443
-        $zoneIndex = (int)(($latitude + 80) / 8);
443
+        $zoneIndex = (int) (($latitude + 80) / 8);
444 444
         return $zones[$zoneIndex];
445 445
     }
446 446
 
Please login to merge, or discard this patch.
UTMRef.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCoord
4
- * @package PHPCoord
5
- * @author Jonathan Stott
6
- * @author Doug Wright
7
- */
3
+     * PHPCoord
4
+     * @package PHPCoord
5
+     * @author Jonathan Stott
6
+     * @author Doug Wright
7
+     */
8 8
 namespace PHPCoord;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.