Test Setup Failed
Branch master (599abb)
by Christopher
23:19 queued 19:24
created
src/Providers/MetadataProvider.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,11 +23,11 @@
 block discarded – undo
23 23
     {
24 24
         self::$METANAMESPACE = env('ODataMetaNamespace', 'Data');
25 25
         if(\App::runningInConsole() && count($_SERVER[ 'argv' ]) > 1 && $_SERVER[ 'argv' ][0] == "artisan"){
26
-           return;
26
+            return;
27 27
         }
28 28
 
29 29
 		
30
-	self::setupRoute();
30
+    self::setupRoute();
31 31
         $isCaching = env('APP_METADATA_CACHING', false);
32 32
 
33 33
         if ($isCaching && Cache::has('metadata')) {
Please login to merge, or discard this patch.
src/Providers/QueryProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function register()
26 26
     {
27 27
         $this->app->singleton('odataquery', function ($app) {
28
-           return new LaravelQuery();
28
+            return new LaravelQuery();
29 29
         });
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
src/Models/MetadataTrait.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -229,16 +229,16 @@
 block discarded – undo
229 229
                     $begin = strpos($code, 'function(');
230 230
                     $code = substr($code, $begin, strrpos($code, '}') - $begin + 1);
231 231
                     foreach (array(
232
-                               'hasMany',
233
-                               'hasManyThrough',
234
-                               'belongsToMany',
235
-                               'hasOne',
236
-                               'belongsTo',
237
-                               'morphOne',
238
-                               'morphTo',
239
-                               'morphMany',
240
-                               'morphToMany'
241
-                             ) as $relation) {
232
+                                'hasMany',
233
+                                'hasManyThrough',
234
+                                'belongsToMany',
235
+                                'hasOne',
236
+                                'belongsTo',
237
+                                'morphOne',
238
+                                'morphTo',
239
+                                'morphMany',
240
+                                'morphToMany'
241
+                                ) as $relation) {
242 242
                         $search = '$this->' . $relation . '(';
243 243
                         if ($pos = stripos($code, $search)) {
244 244
                             //Resolve the relation's model to a Relation object.
Please login to merge, or discard this patch.
src/Query/LaravelExpressionProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@
 block discarded – undo
285 285
                 .' ' . $str[1] . self::CLOSE_BRACKET;
286 286
         }
287 287
         //return self::OPEN_BRACKET . $left . ' ' . $operator . ' ' . $right . self::CLOSE_BRACKET;
288
-	    return $this->getSql();
288
+        return $this->getSql();
289 289
     }
290 290
     /**
291 291
      * To format unary expression.
Please login to merge, or discard this patch.