Test Setup Failed
Push — master ( 1e6c76...7c7c34 )
by Hennik
03:52
created
src/SpatialServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,14 +32,14 @@
 block discarded – undo
32 32
         // The connection factory is used to create the actual connection instances on
33 33
         // the database. We will inject the factory into the manager so that it may
34 34
         // make the connections while they are actually needed and not of before.
35
-        $this->app->singleton('db.factory', function ($app) {
35
+        $this->app->singleton('db.factory', function($app) {
36 36
             return new ConnectionFactory($app);
37 37
         });
38 38
 
39 39
         // The database manager is used to resolve various connections, since multiple
40 40
         // connections might be managed. It also implements the connection resolver
41 41
         // interface which may be used by other components requiring connections.
42
-        $this->app->singleton('db', function ($app) {
42
+        $this->app->singleton('db', function($app) {
43 43
             return new DatabaseManager($app, $app['db.factory']);
44 44
         });
45 45
 
Please login to merge, or discard this patch.
src/Eloquent/Builder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
                 try {
25 25
                     $decoded = json_decode(json_encode($value->jsonSerialize(), JSON_THROW_ON_ERROR), false, 512, JSON_THROW_ON_ERROR);
26 26
                     $wkt     = geoPHP::load($decoded, 'json')
27
-                                 ->out('wkt');
27
+                                    ->out('wkt');
28 28
                 } catch (\Exception $e) {
29 29
                     throw new SpatialParseException(
30 30
                         \sprintf('Unable to parse geometry data for column %s.', $key),
Please login to merge, or discard this patch.
src/Eloquent/SpatialTrait.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
                     $value = GeoJson::jsonUnserialize(
98 98
                         json_decode(
99 99
                             geoPHP::load($value, 'wkb')
100
-                                  ->out('json'),
100
+                                    ->out('json'),
101 101
                             false,
102 102
                             512,
103 103
                             JSON_THROW_ON_ERROR
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
                 512,
139 139
                 JSON_THROW_ON_ERROR
140 140
             );
141
-            $wkt     = geoPHP::load($decoded, 'json')->out('wkt');
141
+            $wkt = geoPHP::load($decoded, 'json')->out('wkt');
142 142
         } catch (Exception $e) {
143 143
             throw new SpatialParseException('Unable to data to geometry.', 0, $e);
144 144
         }
Please login to merge, or discard this patch.