Test Failed
Pull Request — master (#106)
by Alex
03:39
created
src/Serialisers/IronicSerialiser.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -621,10 +621,10 @@
 block discarded – undo
621 621
     {
622 622
         $queryParameterString = null;
623 623
         foreach ([ODataConstants::HTTPQUERY_STRING_FILTER,
624
-                     ODataConstants::HTTPQUERY_STRING_EXPAND,
625
-                     ODataConstants::HTTPQUERY_STRING_ORDERBY,
626
-                     ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
627
-                     ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
624
+                        ODataConstants::HTTPQUERY_STRING_EXPAND,
625
+                        ODataConstants::HTTPQUERY_STRING_ORDERBY,
626
+                        ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
627
+                        ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
628 628
             $value = $this->getService()->getHost()->getQueryStringItem($queryOption);
629 629
             if (!is_null($value)) {
630 630
                 if (!is_null($queryParameterString)) {
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
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         };
57 57
         $this->functionDescriptionParsers[ODataConstants::STRFUN_ENDSWITH] = function ($params) {
58 58
             return '(strcmp(substr('.$params[0].', strlen('.$params[0].') - strlen('.$params[1].')), '
59
-                   .$params[1].') === 0)';
59
+                    .$params[1].') === 0)';
60 60
         };
61 61
         $this->functionDescriptionParsers[ODataConstants::STRFUN_INDEXOF] = function ($params) {
62 62
             return 'strpos('.$params[0].', '.$params[1].')';
Please login to merge, or discard this patch.
src/Models/MetadataTrait.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -301,17 +301,17 @@
 block discarded – undo
301 301
                         $lastCode = $code[strlen($code) - 1];
302 302
                         assert('}' == $lastCode, 'Final character of function definition must be closing brace');
303 303
                         foreach ([
304
-                                     'hasMany',
305
-                                     'hasManyThrough',
306
-                                     'belongsToMany',
307
-                                     'hasOne',
308
-                                     'belongsTo',
309
-                                     'morphOne',
310
-                                     'morphTo',
311
-                                     'morphMany',
312
-                                     'morphToMany',
313
-                                     'morphedByMany'
314
-                                 ] as $relation) {
304
+                                        'hasMany',
305
+                                        'hasManyThrough',
306
+                                        'belongsToMany',
307
+                                        'hasOne',
308
+                                        'belongsTo',
309
+                                        'morphOne',
310
+                                        'morphTo',
311
+                                        'morphMany',
312
+                                        'morphToMany',
313
+                                        'morphedByMany'
314
+                                    ] as $relation) {
315 315
                             $search = '$this->' . $relation . '(';
316 316
                             if ($pos = stripos($code, $search)) {
317 317
                                 //Resolve the relation's model to a Relation object.
Please login to merge, or discard this patch.
src/Providers/MetadataProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@
 block discarded – undo
280 280
                     $targUnknown = $targRels[$principalPoly ? $dependentType : $principalType];
281 281
                     $targProperty = $principalPoly ? $relation['dependentProp'] : $relation['principalProp'];
282 282
                     $msg = 'Specified unknown-side property ' . $targProperty
283
-                           . ' not found in polymorphic relation map';
283
+                            . ' not found in polymorphic relation map';
284 284
                     assert(in_array($targProperty, $targUnknown), $msg);
285 285
 
286 286
                     $targType = $principalPoly ? 'dependentRSet' : 'principalRSet';
Please login to merge, or discard this patch.