Passed
Pull Request — master (#205)
by Alex
04:56
created
src/Query/LaravelExpressionProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         };
55 55
         $this->functionDescriptionParsers[ODataConstants::STRFUN_ENDSWITH] = function ($params) {
56 56
             return '(strcmp(substr(' . $params[0] . ', strlen(' . $params[0] . ') - strlen(' . $params[1] . ')), '
57
-                   .$params[1] . ') === 0)';
57
+                    .$params[1] . ') === 0)';
58 58
         };
59 59
         $this->functionDescriptionParsers[ODataConstants::STRFUN_INDEXOF] = function ($params) {
60 60
             return 'strpos(' . $params[0] . ', ' . $params[1] . ')';
Please login to merge, or discard this patch.
src/Models/MetadataGubbinsHolder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
             $others = $this->getRelationsByRelationName($className, $relName);
71 71
             if ($stub instanceof AssociationStubMonomorphic) {
72 72
                 $msg = 'Monomorphic relation stub on ' . $className . ' ' . $relName
73
-                       . ' should point to at most 1 other stub';
73
+                        . ' should point to at most 1 other stub';
74 74
                 if (!(1 >= count($others))) {
75 75
                     throw new InvalidOperationException($msg);
76 76
                 }
Please login to merge, or discard this patch.
src/Serialisers/SerialiseDepWrapperTrait.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,8 +110,8 @@
 block discarded – undo
110 110
     }
111 111
 
112 112
     /**
113
-    * @return IMetadataProvider
114
-    */
113
+     * @return IMetadataProvider
114
+     */
115 115
     protected function getMetadata()
116 116
     {
117 117
         if (null == $this->metaProvider) {
Please login to merge, or discard this patch.
src/Serialisers/IronicSerialiser.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         $targClass = $resourceType->getInstanceType()->getName();
134 134
         if (!($res instanceof $targClass)) {
135 135
             $msg = 'Object being serialised not instance of expected class, '
136
-                   . $targClass . ', is actually ' . $payloadClass;
136
+                    . $targClass . ', is actually ' . $payloadClass;
137 137
             throw new InvalidOperationException($msg);
138 138
         }
139 139
 
@@ -636,10 +636,10 @@  discard block
 block discarded – undo
636 636
         /** @var string|null $queryParameterString */
637 637
         $queryParameterString = null;
638 638
         foreach ([ODataConstants::HTTPQUERY_STRING_FILTER,
639
-                     ODataConstants::HTTPQUERY_STRING_EXPAND,
640
-                     ODataConstants::HTTPQUERY_STRING_ORDERBY,
641
-                     ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
642
-                     ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
639
+                        ODataConstants::HTTPQUERY_STRING_EXPAND,
640
+                        ODataConstants::HTTPQUERY_STRING_ORDERBY,
641
+                        ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
642
+                        ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
643 643
             /** @var string|null $value */
644 644
             $value = $this->getService()->getHost()->getQueryStringItem($queryOption);
645 645
             if (null !== $value) {
@@ -818,7 +818,7 @@  discard block
 block discarded – undo
818 818
         $kVal = $typeKind;
819 819
         if (!(ResourceTypeKind::PRIMITIVE() == $kVal || ResourceTypeKind::COMPLEX() == $kVal)) {
820 820
             $msg = '$bagItemResourceTypeKind != ResourceTypeKind::PRIMITIVE'
821
-                   .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
821
+                    .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
822 822
             throw new InvalidOperationException($msg);
823 823
         }
824 824
         if ($isNull) {
@@ -963,7 +963,7 @@  discard block
 block discarded – undo
963 963
             if (!(ResourcePropertyKind::RESOURCESET_REFERENCE == $propKind
964 964
                   || ResourcePropertyKind::RESOURCE_REFERENCE == $propKind)) {
965 965
                 $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&'
966
-                       . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
966
+                        . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
967 967
                 throw new InvalidOperationException($msg);
968 968
             }
969 969
             $propTail = ResourcePropertyKind::RESOURCE_REFERENCE == $propKind ? 'entry' : 'feed';
Please login to merge, or discard this patch.