@@ -15,9 +15,9 @@ discard block |
||
15 | 15 | */ |
16 | 16 | public static function metadataResourceTypeSetNamedStreamsOnDerivedEntityTypesNotSupported($entitySetName, $derivedTypeName) |
17 | 17 | { |
18 | - return 'Named streams are not supported on derived entity types. Entity Set \''.$entitySetName |
|
19 | - .'\' has an instance of type \''.$derivedTypeName.'\', which is a derived entity type and has' |
|
20 | - .' named streams. Please remove all named streams from type \''.$derivedTypeName.'\'.'; |
|
18 | + return 'Named streams are not supported on derived entity types. Entity Set \'' . $entitySetName |
|
19 | + .'\' has an instance of type \'' . $derivedTypeName . '\', which is a derived entity type and has' |
|
20 | + .' named streams. Please remove all named streams from type \'' . $derivedTypeName . '\'.'; |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | */ |
32 | 32 | public static function metadataResourceTypeSetBagOfComplexTypeWithDerivedTypes($complexTypeName) |
33 | 33 | { |
34 | - return 'Complex type \''.$complexTypeName.'\' has derived types and is used as the item type in a bag.' |
|
34 | + return 'Complex type \'' . $complexTypeName . '\' has derived types and is used as the item type in a bag.' |
|
35 | 35 | .' Only bags containing complex types without derived types are supported.'; |
36 | 36 | } |
37 | 37 | } |
@@ -68,8 +68,8 @@ |
||
68 | 68 | $protoTypes, |
69 | 69 | $position |
70 | 70 | ) { |
71 | - return 'No applicable function found for \''.$functionName.'\' at position '.$position.' with the specified' |
|
72 | - .' arguments. The functions considered are: '.$protoTypes; |
|
71 | + return 'No applicable function found for \'' . $functionName . '\' at position ' . $position . ' with the specified' |
|
72 | + .' arguments. The functions considered are: ' . $protoTypes; |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | */ |
65 | 65 | public static function httpProcessUtilityEscapeCharWithoutQuotes($parameterName) |
66 | 66 | { |
67 | - return 'Value for MIME type parameter \''.$parameterName.'\' is incorrect because it contained escape'. |
|
67 | + return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because it contained escape' . |
|
68 | 68 | ' characters even though it was not quoted.'; |
69 | 69 | } |
70 | 70 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public static function httpProcessUtilityEscapeCharAtEnd($parameterName) |
80 | 80 | { |
81 | - return 'Value for MIME type parameter \''.$parameterName.'\' is incorrect because it terminated with escape' |
|
81 | + return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because it terminated with escape' |
|
82 | 82 | .' character. Escape characters must always be followed by a character in a parameter value.'; |
83 | 83 | } |
84 | 84 | |
@@ -92,7 +92,7 @@ discard block |
||
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 character' |
|
95 | + return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because the closing quote character' |
|
96 | 96 | .' could not be found while the parameter value started with a quote character.'; |
97 | 97 | } |
98 | 98 |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | */ |
63 | 63 | public static function orderByParserBagPropertyNotAllowed($bagPropertyName) |
64 | 64 | { |
65 | - return 'orderby clause does not support Bag property in the path, the property \''.$bagPropertyName |
|
65 | + return 'orderby clause does not support Bag property in the path, the property \'' . $bagPropertyName |
|
66 | 66 | .'\' is a bag property'; |
67 | 67 | } |
68 | 68 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | */ |
77 | 77 | public static function orderByParserPrimitiveAsIntermediateSegment($propertyName) |
78 | 78 | { |
79 | - return 'The primitive property \''.$propertyName.'\' cannnot be used as intermediate segment, it should' |
|
79 | + return 'The primitive property \'' . $propertyName . '\' cannnot be used as intermediate segment, it should' |
|
80 | 80 | .' be last segment'; |
81 | 81 | } |
82 | 82 | |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | public static function orderByParserResourceSetReferenceNotAllowed($propertyName, $definedType) |
105 | 105 | { |
106 | 106 | return 'Navigation property points to a collection cannot be used in orderby clause, The property \'' |
107 | - .$propertyName.'\' defined on type \''.$definedType.'\' is such a property'; |
|
107 | + .$propertyName . '\' defined on type \'' . $definedType . '\' is such a property'; |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | /** |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | */ |
131 | 131 | public static function orderByParserSortByComplexPropertyIsNotAllowed($complexPropertyName) |
132 | 132 | { |
133 | - return 'Complex property cannot be used as sort key, the property \''.$complexPropertyName |
|
133 | + return 'Complex property cannot be used as sort key, the property \'' . $complexPropertyName |
|
134 | 134 | .'\' is a complex property'; |
135 | 135 | } |
136 | 136 |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | */ |
72 | 72 | public static function providersWrapperEntitySetNameShouldBeUnique($entitySetName) |
73 | 73 | { |
74 | - return 'More than one entity set with the name \''.$entitySetName |
|
74 | + return 'More than one entity set with the name \'' . $entitySetName |
|
75 | 75 | .'\' was found. Entity set names must be unique'; |
76 | 76 | } |
77 | 77 | |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | */ |
86 | 86 | public static function providersWrapperEntityTypeNameShouldBeUnique($entityTypeName) |
87 | 87 | { |
88 | - return 'More than one entity type with the name \''.$entityTypeName |
|
88 | + return 'More than one entity type with the name \'' . $entityTypeName |
|
89 | 89 | .'\' was found. Entity type names must be unique'; |
90 | 90 | } |
91 | 91 | |
@@ -101,9 +101,9 @@ discard block |
||
101 | 101 | */ |
102 | 102 | public static function providersWrapperIDSMPGetResourceSetReturnsInvalidResourceSet($resourceSetName, $resourceTypeName, $resourcePropertyName) |
103 | 103 | { |
104 | - return 'IDSMP::GetResourceSet retruns invalid instance of ResourceSet when invoked with params'. |
|
105 | - ' {ResourceSet with name '.$resourceSetName.', ResourceType with name '.$resourceTypeName |
|
106 | - .', ResourceProperty with name '.$resourcePropertyName.'}.'; |
|
104 | + return 'IDSMP::GetResourceSet retruns invalid instance of ResourceSet when invoked with params' . |
|
105 | + ' {ResourceSet with name ' . $resourceSetName . ', ResourceType with name ' . $resourceTypeName |
|
106 | + .', ResourceProperty with name ' . $resourcePropertyName . '}.'; |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | /** |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public static function skipTokenInfoBothOrderByPathAndOrderByValuesShouldBeSetOrNotSet($orderByPathsVarName, $orderByValuesVarName) |
20 | 20 | { |
21 | - return 'Either both the arguments '.$orderByPathsVarName.' and '.$orderByValuesVarName.' should be' |
|
21 | + return 'Either both the arguments ' . $orderByPathsVarName . ' and ' . $orderByValuesVarName . ' should be' |
|
22 | 22 | .' null or not-null'; |
23 | 23 | } |
24 | 24 |
@@ -15,8 +15,8 @@ discard block |
||
15 | 15 | */ |
16 | 16 | public static function commonArgumentShouldBeInteger($argument, $functionName) |
17 | 17 | { |
18 | - return 'The argument to the function '.$functionName.' should be integer, non-integer value \'' |
|
19 | - .$argument.'\' passed'; |
|
18 | + return 'The argument to the function ' . $functionName . ' should be integer, non-integer value \'' |
|
19 | + .$argument . '\' passed'; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -30,8 +30,8 @@ discard block |
||
30 | 30 | */ |
31 | 31 | public static function commonArgumentShouldBeNonNegative($argument, $functionName) |
32 | 32 | { |
33 | - return 'The argument to the function '.$functionName.' should be non-negative, negative value \'' |
|
34 | - .$argument.'\' passed'; |
|
33 | + return 'The argument to the function ' . $functionName . ' should be non-negative, negative value \'' |
|
34 | + .$argument . '\' passed'; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -93,9 +93,9 @@ discard block |
||
93 | 93 | */ |
94 | 94 | public static function badRequestInvalidPropertyNameSpecified($resourceTypeName, $propertyName) |
95 | 95 | { |
96 | - return 'Error processing request stream. The property name '.$propertyName.' specified for type ' |
|
97 | - .$resourceTypeName.' is not valid. (Check the resource set of the navigation property \'' |
|
98 | - .$propertyName.'\' is visible)'; |
|
96 | + return 'Error processing request stream. The property name ' . $propertyName . ' specified for type ' |
|
97 | + .$resourceTypeName . ' is not valid. (Check the resource set of the navigation property \'' |
|
98 | + .$propertyName . '\' is visible)'; |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
@@ -32,8 +32,8 @@ discard block |
||
32 | 32 | { |
33 | 33 | $clause = $isSelect ? 'select' : 'expand'; |
34 | 34 | |
35 | - return 'Error in the '.$clause.' clause. Type \''.$resourceTypeName.'\' does not have a property named \'' |
|
36 | - .$propertyName.'\'.'; |
|
35 | + return 'Error in the ' . $clause . ' clause. Type \'' . $resourceTypeName . '\' does not have a property named \'' |
|
36 | + .$propertyName . '\'.'; |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -47,8 +47,8 @@ discard block |
||
47 | 47 | */ |
48 | 48 | public static function expandProjectionParserExpandCanOnlyAppliedToEntity($resourceTypeName, $propertyName) |
49 | 49 | { |
50 | - return 'Error in the expand clause. Expand path can contain only navigation property, the property '. |
|
51 | - '\''.$propertyName.'\' defined in \''.$resourceTypeName.'\' is not a navigation property'; |
|
50 | + return 'Error in the expand clause. Expand path can contain only navigation property, the property ' . |
|
51 | + '\'' . $propertyName . '\' defined in \'' . $resourceTypeName . '\' is not a navigation property'; |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | */ |
65 | 65 | public static function expandProjectionParserPrimitivePropertyUsedAsNavigationProperty($resourceTypeName, $primitvePropertyName) |
66 | 66 | { |
67 | - return 'Property \''.$primitvePropertyName.'\' on type \''.$resourceTypeName |
|
67 | + return 'Property \'' . $primitvePropertyName . '\' on type \'' . $resourceTypeName |
|
68 | 68 | .'\' is of primitive type and cannot be used as a navigation property.'; |
69 | 69 | } |
70 | 70 | |
@@ -80,8 +80,8 @@ discard block |
||
80 | 80 | */ |
81 | 81 | public static function expandProjectionParserComplexPropertyAsInnerSelectSegment($resourceTypeName, $complextTypeName) |
82 | 82 | { |
83 | - return 'select doesn\'t support selection of properties of complex type. The property \''.$complextTypeName |
|
84 | - .'\' on type \''.$resourceTypeName.'\' is a complex type.'; |
|
83 | + return 'select doesn\'t support selection of properties of complex type. The property \'' . $complextTypeName |
|
84 | + .'\' on type \'' . $resourceTypeName . '\' is a complex type.'; |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | */ |
97 | 97 | public static function expandProjectionParserBagPropertyAsInnerSelectSegment($resourceTypeName, $bagPropertyName) |
98 | 98 | { |
99 | - return 'The selection from property \''.$bagPropertyName.'\' on type \''.$resourceTypeName |
|
99 | + return 'The selection from property \'' . $bagPropertyName . '\' on type \'' . $resourceTypeName |
|
100 | 100 | .'\' is not valid. The select query option does not support selection items from a bag property.'; |
101 | 101 | } |
102 | 102 |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | public static function segmentParserKeysMustBeNamed($segment) |
16 | 16 | { |
17 | 17 | return 'Segments with multiple key values must specify them in \'name=value\' form. For the segment' |
18 | - . $segment.' use named keys'; |
|
18 | + . $segment . ' use named keys'; |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | /** |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public static function segmentParserMustBeLeafSegment($leafSegment) |
31 | 31 | { |
32 | - return 'The request URI is not valid. The segment \''.$leafSegment.'\' must be the last segment in' |
|
32 | + return 'The request URI is not valid. The segment \'' . $leafSegment . '\' must be the last segment in' |
|
33 | 33 | .' the URI because it is one of the following: $batch, $value, $metadata, $count, a bag property,' |
34 | 34 | .' a named media resource, or a service operation that does not return a value.'; |
35 | 35 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | */ |
44 | 44 | public static function segmentParserNoSegmentAllowedAfterPostLinkSegment($postPostLinkSegment) |
45 | 45 | { |
46 | - return 'The request URI is not valid. The segment \''.$postPostLinkSegment.'\' is not valid. Since the' |
|
46 | + return 'The request URI is not valid. The segment \'' . $postPostLinkSegment . '\' is not valid. Since the' |
|
47 | 47 | .' uri contains the $links segment, there must be only one segment specified after that.'; |
48 | 48 | } |
49 | 49 | |
@@ -59,8 +59,8 @@ discard block |
||
59 | 59 | */ |
60 | 60 | public static function segmentParserOnlyValueSegmentAllowedAfterPrimitivePropertySegment($segment, $primitivePropertySegment) |
61 | 61 | { |
62 | - return 'The segment \''.$segment.'\' in the request URI is not valid. Since the segment \'' |
|
63 | - .$primitivePropertySegment.'\' refers to a primitive type property, the only supported value from' |
|
62 | + return 'The segment \'' . $segment . '\' in the request URI is not valid. Since the segment \'' |
|
63 | + .$primitivePropertySegment . '\' refers to a primitive type property, the only supported value from' |
|
64 | 64 | .' the next segment is \'$value\'.'; |
65 | 65 | } |
66 | 66 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | */ |
74 | 74 | public static function segmentParserCannotQueryCollection($collectionSegment) |
75 | 75 | { |
76 | - return 'The request URI is not valid. Since the segment \''.$collectionSegment.'\' refers to a' |
|
76 | + return 'The request URI is not valid. Since the segment \'' . $collectionSegment . '\' refers to a' |
|
77 | 77 | .' collection, this must be the last segment in the request URI. All intermediate segments must' |
78 | 78 | .' refer to a single resource.'; |
79 | 79 | } |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | */ |
88 | 88 | public static function segmentParserCountCannotFollowSingleton($segment) |
89 | 89 | { |
90 | - return 'The request URI is not valid, since the segment \''.$segment.'\' refers to a singleton,' |
|
90 | + return 'The request URI is not valid, since the segment \'' . $segment . '\' refers to a singleton,' |
|
91 | 91 | .' and the segment \'$count\' can only follow a resource collection.'; |
92 | 92 | } |
93 | 93 | |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | */ |
102 | 102 | public static function segmentParserLinkSegmentMustBeFollowedByEntitySegment($segment) |
103 | 103 | { |
104 | - return 'The request URI is not valid. The segment \''.$segment.'\' must refer to a navigation property' |
|
104 | + return 'The request URI is not valid. The segment \'' . $segment . '\' must refer to a navigation property' |
|
105 | 105 | .' since the previous segment identifier is \'$links\'.'; |
106 | 106 | } |
107 | 107 | |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | */ |
127 | 127 | public static function segmentParserSegmentNotAllowedOnRoot($segment) |
128 | 128 | { |
129 | - return 'The request URI is not valid, the segment \''.$segment.'\' cannot be applied to the root of the' |
|
129 | + return 'The request URI is not valid, the segment \'' . $segment . '\' cannot be applied to the root of the' |
|
130 | 130 | .' service'; |
131 | 131 | } |
132 | 132 | |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | */ |
163 | 163 | public static function segmentParserCountCannotBeApplied($segment) |
164 | 164 | { |
165 | - return 'The request URI is not valid, $count cannot be applied to the segment \''.$segment.'\' since ' |
|
165 | + return 'The request URI is not valid, $count cannot be applied to the segment \'' . $segment . '\' since ' |
|
166 | 166 | .'$count can only follow a resource segment.'; |
167 | 167 | } |
168 | 168 | } |