Passed
Pull Request — master (#127)
by Christopher
04:00
created
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.
src/POData/Common/Messages/httpProcessUtility.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     public static function httpProcessUtilityClosingQuoteNotFound($parameterName)
94 94
     {
95 95
         return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because the closing quote '.
96
-               'character could not be found while the parameter value started with a quote character.';
96
+                'character could not be found while the parameter value started with a quote character.';
97 97
     }
98 98
 
99 99
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      */
93 93
     public static function httpProcessUtilityClosingQuoteNotFound($parameterName)
94 94
     {
95
-        return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because the closing quote '.
95
+        return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because the closing quote ' .
96 96
                'character could not be found while the parameter value started with a quote character.';
97 97
     }
98 98
 
Please login to merge, or discard this patch.
src/POData/OperationContext/Web/IncomingRequest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
             }
132 132
 
133 133
             $this->rawUrl .= '://' .
134
-                             $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)];
134
+                                $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)];
135 135
             $this->rawUrl .= utf8_decode(urldecode($_SERVER[ODataConstants::HTTPREQUEST_URI]));
136 136
         }
137 137
 
Please login to merge, or discard this patch.