@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | public static function queryProcessorNoQueryOptionsApplicable() |
26 | 26 | { |
27 | 27 | return 'Query options $select, $expand, $filter, $orderby, $inlinecount, $skip, $skiptoken and $top are not'. |
28 | - ' supported by this request method or cannot be applied to the requested resource.'; |
|
28 | + ' supported by this request method or cannot be applied to the requested resource.'; |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | public static function queryProcessorSkipTokenCannotBeAppliedForNonPagedResourceSet($resourceSetName) |
124 | 124 | { |
125 | 125 | return '$skiptoken cannot be applied to the resource set \''.$resourceSetName |
126 | - .'\', since paging is not enabled for this resource set'; |
|
126 | + .'\', since paging is not enabled for this resource set'; |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | /** |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public static function queryProcessorNoQueryOptionsApplicable() |
26 | 26 | { |
27 | - return 'Query options $select, $expand, $filter, $orderby, $inlinecount, $skip, $skiptoken and $top are not'. |
|
27 | + return 'Query options $select, $expand, $filter, $orderby, $inlinecount, $skip, $skiptoken and $top are not' . |
|
28 | 28 | ' supported by this request method or cannot be applied to the requested resource.'; |
29 | 29 | } |
30 | 30 | |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | */ |
109 | 109 | public static function queryProcessorIncorrectArgumentFormat($argName, $argValue) |
110 | 110 | { |
111 | - return 'Incorrect format for '.$argName.' argument \''.$argValue.'\''; |
|
111 | + return 'Incorrect format for ' . $argName . ' argument \'' . $argValue . '\''; |
|
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | */ |
123 | 123 | public static function queryProcessorSkipTokenCannotBeAppliedForNonPagedResourceSet($resourceSetName) |
124 | 124 | { |
125 | - return '$skiptoken cannot be applied to the resource set \''.$resourceSetName |
|
125 | + return '$skiptoken cannot be applied to the resource set \'' . $resourceSetName |
|
126 | 126 | .'\', since paging is not enabled for this resource set'; |
127 | 127 | } |
128 | 128 | |
@@ -137,6 +137,6 @@ discard block |
||
137 | 137 | */ |
138 | 138 | public static function queryProcessorSelectOrExpandOptionNotApplicable($queryItem) |
139 | 139 | { |
140 | - return 'Query option '.$queryItem.' cannot be applied to the requested resource'; |
|
140 | + return 'Query option ' . $queryItem . ' cannot be applied to the requested resource'; |
|
141 | 141 | } |
142 | 142 | } |
@@ -13,6 +13,6 @@ |
||
13 | 13 | public static function resourceSetContainerMustBeAssociatedWithEntityType() |
14 | 14 | { |
15 | 15 | return 'The ResourceTypeKind property of a ResourceType instance associated with a ResourceSet' |
16 | - .' must be equal to \'EntityType\''; |
|
16 | + .' must be equal to \'EntityType\''; |
|
17 | 17 | } |
18 | 18 | } |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | public static function streamProviderWrapperMustImplementIStreamProviderToSupportStreaming() |
53 | 53 | { |
54 | 54 | return 'To support streaming, the data service must implement IService::getStreamProviderX() to return' |
55 | - .' an implementation of IStreamProvider or IStreamProvider2'; |
|
55 | + .' an implementation of IStreamProvider or IStreamProvider2'; |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | public static function streamProviderWrapperMaxProtocolVersionMustBeV3OrAboveToSupportNamedStreams() |
64 | 64 | { |
65 | 65 | return 'To support named streams, the MaxProtocolVersion of the data service must be set to' |
66 | - .' ProtocolVersion.V3 or above.'; |
|
66 | + .' ProtocolVersion.V3 or above.'; |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | public static function streamProviderWrapperMustImplementStreamProvider2ToSupportNamedStreams() |
76 | 76 | { |
77 | 77 | return 'To support named streams, the data service must implement IServiceProvider.GetService() to' |
78 | - .' return an implementation of IStreamProvider2 or the data source must implement IStreamProvider2.'; |
|
78 | + .' return an implementation of IStreamProvider2 or the data source must implement IStreamProvider2.'; |
|
79 | 79 | } |
80 | 80 | |
81 | 81 | /** |
@@ -87,7 +87,7 @@ |
||
87 | 87 | */ |
88 | 88 | public static function streamProviderWrapperMustNotSetContentTypeAndEtag($methodName) |
89 | 89 | { |
90 | - return 'The method '.$methodName.' must not set the HTTP response headers \'Content-Type\' and \'ETag\''; |
|
90 | + return 'The method ' . $methodName . ' must not set the HTTP response headers \'Content-Type\' and \'ETag\''; |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
@@ -69,7 +69,7 @@ |
||
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 | /** |
@@ -46,7 +46,7 @@ discard block |
||
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 |
||
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 | /** |
@@ -33,7 +33,7 @@ |
||
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 | /** |
@@ -25,7 +25,7 @@ |
||
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 | /** |
@@ -132,6 +132,6 @@ |
||
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 | } |
@@ -17,7 +17,7 @@ discard block |
||
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 |
||
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 | /** |