Passed
Pull Request — master (#127)
by Christopher
03:43
created
src/POData/UriProcessor/RequestExpander.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      *
195 195
      * @return bool true if a segment was pushed, false otherwise
196 196
      */
197
-    private function pushSegmentForNavigationProperty(ResourceProperty &$resourceProperty)
197
+    private function pushSegmentForNavigationProperty(ResourceProperty & $resourceProperty)
198 198
     {
199 199
         if ($resourceProperty->getTypeKind() == ResourceTypeKind::ENTITY) {
200 200
             assert(!empty($this->getStack()->getSegmentNames()), '!is_empty($this->getStack()->getSegmentNames())');
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      *
280 280
      * @return bool true if the segment was push, false otherwise
281 281
      */
282
-    private function pushSegment($segmentName, ResourceSetWrapper &$resourceSetWrapper)
282
+    private function pushSegment($segmentName, ResourceSetWrapper & $resourceSetWrapper)
283 283
     {
284 284
         return $this->getStack()->pushSegment($segmentName, $resourceSetWrapper);
285 285
     }
Please login to merge, or discard this patch.
src/POData/UriProcessor/QueryProcessor/SkipTokenParser/SkipTokenParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
      * @return InternalSkipTokenInfo
42 42
      */
43 43
     public static function parseSkipTokenClause(
44
-        ResourceType &$resourceType,
45
-        InternalOrderByInfo &$internalOrderByInfo,
44
+        ResourceType & $resourceType,
45
+        InternalOrderByInfo & $internalOrderByInfo,
46 46
         $skipToken
47 47
     ) {
48 48
         $tokenValueDescriptor = null;
Please login to merge, or discard this patch.
src/POData/Common/Messages/expressionLexer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         $position
70 70
     ) {
71 71
         return 'No applicable function found for \'' . $functionName . '\' at position ' . $position .
72
-               ' with the specified arguments. The functions considered are: ' . $protoTypes;
72
+                ' with the specified arguments. The functions considered are: ' . $protoTypes;
73 73
     }
74 74
 
75 75
     /**
Please login to merge, or discard this patch.
src/POData/Common/Messages/orderByInfo.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,6 +178,6 @@
 block discarded – undo
178 178
     public static function orderByParserFailedToAccessOrInitializeProperty($propertyName, $parentObjectName)
179 179
     {
180 180
         return 'OrderBy parser failed to access or initialize the property ' . $propertyName .
181
-               ' of ' . $parentObjectName;
181
+                ' of ' . $parentObjectName;
182 182
     }
183 183
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/common.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     public static function commonNotValidPrimitiveEDMType($argumentName, $functionName)
47 47
     {
48 48
         return 'The argument \'' . $argumentName . '\' to ' . $functionName . ' is not a valid ' .
49
-               'EdmPrimitiveType Enum value.';
49
+                'EdmPrimitiveType Enum value.';
50 50
     }
51 51
 
52 52
     /**
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     public static function failedToAccessProperty($propertyName, $parentObjectName)
73 73
     {
74 74
         return 'Data Service failed to access or initialize the property ' . $propertyName .
75
-               ' of ' . $parentObjectName . '.';
75
+                ' of ' . $parentObjectName . '.';
76 76
     }
77 77
 
78 78
     /**
Please login to merge, or discard this patch.
src/POData/Common/Messages/expandProjectionParser.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $clause = $isSelect ? 'select' : 'expand';
34 34
 
35 35
         return 'Error in the ' . $clause . ' clause. Type \'' . $resourceTypeName . '\' does not have ' .
36
-               'a property named \'' . $propertyName . '\'.';
36
+                'a property named \'' . $propertyName . '\'.';
37 37
     }
38 38
 
39 39
     /**
Please login to merge, or discard this patch.
src/POData/Common/Messages/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 static function queryProviderResultCountMissing($methodName, QueryType $queryType)
26 26
     {
27 27
         return 'The implementation of the method ' . $methodName . ' must return a QueryResult instance with ' .
28
-               'a count for queries of type ' . $queryType . '.';
28
+                'a count for queries of type ' . $queryType . '.';
29 29
     }
30 30
 
31 31
     /**
Please login to merge, or discard this patch.
src/POData/Common/Messages/expressionParser.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,6 +132,6 @@
 block discarded – undo
132 132
     public static function expressionParserEntityCollectionNotAllowedInFilter($property, $parentProperty, $pos)
133 133
     {
134 134
         return 'The \'' . $property . '\' is an entity collection property of \'' . $parentProperty .
135
-               '\' (position: ' . $pos . '), which cannot be used in $filter query option';
135
+                '\' (position: ' . $pos . '), which cannot be used in $filter query option';
136 136
     }
137 137
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/keyDescriptor.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     public static function keyDescriptorKeyCountNotMatching($segment, $expectedCount, $actualCount)
18 18
     {
19 19
         return 'The predicate in the segment \'' . $segment . '\' expect ' . $expectedCount .
20
-               ' keys but ' . $actualCount . ' provided';
20
+                ' keys but ' . $actualCount . ' provided';
21 21
     }
22 22
 
23 23
     /**
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     public static function keyDescriptorMissingKeys($segment, $expectedKeys)
33 33
     {
34 34
         return 'Missing keys in key predicate for the segment \'' . $segment . '\'. The key predicate ' .
35
-               'expects the keys \'' . $expectedKeys . '\'';
35
+                'expects the keys \'' . $expectedKeys . '\'';
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.