Passed
Pull Request — master (#204)
by Alex
05:46
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
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
         $targClass = $resourceType->getInstanceType()->getName();
152 152
         if (!($res instanceof $targClass)) {
153 153
             $msg = 'Object being serialised not instance of expected class, '
154
-                   . $targClass . ', is actually ' . $payloadClass;
154
+                    . $targClass . ', is actually ' . $payloadClass;
155 155
             throw new InvalidOperationException($msg);
156 156
         }
157 157
 
@@ -748,10 +748,10 @@  discard block
 block discarded – undo
748 748
         /** @var string|null $queryParameterString */
749 749
         $queryParameterString = null;
750 750
         foreach ([ODataConstants::HTTPQUERY_STRING_FILTER,
751
-                     ODataConstants::HTTPQUERY_STRING_EXPAND,
752
-                     ODataConstants::HTTPQUERY_STRING_ORDERBY,
753
-                     ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
754
-                     ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
751
+                        ODataConstants::HTTPQUERY_STRING_EXPAND,
752
+                        ODataConstants::HTTPQUERY_STRING_ORDERBY,
753
+                        ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
754
+                        ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
755 755
             /** @var string|null $value */
756 756
             $value = $this->getService()->getHost()->getQueryStringItem($queryOption);
757 757
             if (null !== $value) {
@@ -953,7 +953,7 @@  discard block
 block discarded – undo
953 953
         $kVal = $typeKind;
954 954
         if (!(ResourceTypeKind::PRIMITIVE() == $kVal || ResourceTypeKind::COMPLEX() == $kVal)) {
955 955
             $msg = '$bagItemResourceTypeKind != ResourceTypeKind::PRIMITIVE'
956
-                   .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
956
+                    .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX';
957 957
             throw new InvalidOperationException($msg);
958 958
         }
959 959
         if (null == $result) {
@@ -1106,7 +1106,7 @@  discard block
 block discarded – undo
1106 1106
             if (!(ResourcePropertyKind::RESOURCESET_REFERENCE == $propKind
1107 1107
                   || ResourcePropertyKind::RESOURCE_REFERENCE == $propKind)) {
1108 1108
                 $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&'
1109
-                       . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
1109
+                        . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE';
1110 1110
                 throw new InvalidOperationException($msg);
1111 1111
             }
1112 1112
             $propTail = ResourcePropertyKind::RESOURCE_REFERENCE == $propKind ? 'entry' : 'feed';
Please login to merge, or discard this patch.