Completed
Push — master ( df5542...5dfd0e )
by Tobias
02:56
created
Tests/ProviderAggregatorTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -142,6 +142,9 @@
 block discarded – undo
142 142
 {
143 143
     protected $name;
144 144
 
145
+    /**
146
+     * @param string $name
147
+     */
145 148
     public function __construct($name)
146 149
     {
147 150
         $this->name = $name;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Geocoder package.
Please login to merge, or discard this patch.
Formatter/StringFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Geocoder package.
Please login to merge, or discard this patch.
Tests/TimedGeocoderTest.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
     public function testGeocode()
46 46
     {
47 47
         $this->delegate->expects($this->once())
48
-             ->method('geocodeQuery')
49
-             ->will($this->returnValue(new AddressCollection([])));
48
+                ->method('geocodeQuery')
49
+                ->will($this->returnValue(new AddressCollection([])));
50 50
 
51 51
         $this->geocoder->geocode('foo');
52 52
 
@@ -56,8 +56,8 @@  discard block
 block discarded – undo
56 56
     public function testGeocodeThrowsException()
57 57
     {
58 58
         $this->delegate->expects($this->once())
59
-             ->method('geocodeQuery')
60
-             ->will($this->throwException($exception = new \Exception()));
59
+                ->method('geocodeQuery')
60
+                ->will($this->throwException($exception = new \Exception()));
61 61
 
62 62
         try {
63 63
             $this->geocoder->geocode('foo');
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
     public function testReverse()
73 73
     {
74 74
         $this->delegate->expects($this->once())
75
-             ->method('reverseQuery')
76
-             ->will($this->returnValue(new AddressCollection([])));
75
+                ->method('reverseQuery')
76
+                ->will($this->returnValue(new AddressCollection([])));
77 77
 
78 78
         $this->geocoder->reverse(0, 0);
79 79
 
@@ -83,8 +83,8 @@  discard block
 block discarded – undo
83 83
     public function testReverseThrowsException()
84 84
     {
85 85
         $this->delegate->expects($this->once())
86
-             ->method('reverseQuery')
87
-             ->will($this->throwException($exception = new \Exception()));
86
+                ->method('reverseQuery')
87
+                ->will($this->throwException($exception = new \Exception()));
88 88
 
89 89
         try {
90 90
             $this->geocoder->reverse(0, 0);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Geocoder package.
Please login to merge, or discard this patch.
Dumper/GeoArray.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Geocoder package.
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function dump(Location $location): array
26 26
     {
27
-        $properties = array_filter($location->toArray(), function ($value) {
27
+        $properties = array_filter($location->toArray(), function($value) {
28 28
             return !empty($value);
29 29
         });
30 30
 
Please login to merge, or discard this patch.
Dumper/GeoJson.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Geocoder package.
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function dump(Location $location): string
26 26
     {
27
-        $properties = array_filter($location->toArray(), function ($value) {
27
+        $properties = array_filter($location->toArray(), function($value) {
28 28
             return !empty($value);
29 29
         });
30 30
 
Please login to merge, or discard this patch.
Model/Bounds.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Geocoder package.
Please login to merge, or discard this patch.
Model/Country.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Geocoder package.
Please login to merge, or discard this patch.
Model/AddressCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Geocoder package.
Please login to merge, or discard this patch.
Model/Address.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Geocoder package.
Please login to merge, or discard this patch.