@@ -33,6 +33,6 @@ |
||
33 | 33 | */ |
34 | 34 | public static function urlMalformedUrl($url) |
35 | 35 | { |
36 | - return 'Bad Request - The url \''.$url.'\' is malformed.'; |
|
36 | + return 'Bad Request - The url \'' . $url . '\' is malformed.'; |
|
37 | 37 | } |
38 | 38 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | public static function orderByParserBagPropertyNotAllowed($bagPropertyName) |
64 | 64 | { |
65 | 65 | return 'orderby clause does not support Bag property in the path, the property \''.$bagPropertyName |
66 | - .'\' is a bag property'; |
|
66 | + .'\' is a bag property'; |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | public static function orderByParserPrimitiveAsIntermediateSegment($propertyName) |
78 | 78 | { |
79 | 79 | return 'The primitive property \''.$propertyName.'\' cannnot be used as intermediate segment, it should' |
80 | - .' be last segment'; |
|
80 | + .' be last segment'; |
|
81 | 81 | } |
82 | 82 | |
83 | 83 | /** |
@@ -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 | /** |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | public static function orderByParserSortByComplexPropertyIsNotAllowed($complexPropertyName) |
132 | 132 | { |
133 | 133 | return 'Complex property cannot be used as sort key, the property \''.$complexPropertyName |
134 | - .'\' is a complex property'; |
|
134 | + .'\' is a complex property'; |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | /** |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public static function orderByParserPropertyNotFound($resourceTypeName, $propertyName) |
51 | 51 | { |
52 | - return 'Error in the \'orderby\' clause. Type '.$resourceTypeName.' does not have a property named \''.$propertyName.'\'.'; |
|
52 | + return 'Error in the \'orderby\' clause. Type ' . $resourceTypeName . ' does not have a property named \'' . $propertyName . '\'.'; |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
@@ -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 | |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | */ |
90 | 90 | public static function orderByParserSortByBinaryPropertyNotAllowed($binaryPropertyName) |
91 | 91 | { |
92 | - return 'Binary property is not allowed in orderby clause, \''.$binaryPropertyName.'\''; |
|
92 | + return 'Binary property is not allowed in orderby clause, \'' . $binaryPropertyName . '\''; |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
@@ -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 | /** |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | */ |
118 | 118 | public static function orderByParserSortByNavigationPropertyIsNotAllowed($navigationPropertyName) |
119 | 119 | { |
120 | - return 'Navigation property cannot be used as sort key, \''.$navigationPropertyName.'\''; |
|
120 | + return 'Navigation property cannot be used as sort key, \'' . $navigationPropertyName . '\''; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |
@@ -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 | |
@@ -177,6 +177,6 @@ discard block |
||
177 | 177 | */ |
178 | 178 | public static function orderByParserFailedToAccessOrInitializeProperty($propertyName, $parentObjectName) |
179 | 179 | { |
180 | - return 'OrderBy parser failed to access or initialize the property '.$propertyName.' of '.$parentObjectName; |
|
180 | + return 'OrderBy parser failed to access or initialize the property ' . $propertyName . ' of ' . $parentObjectName; |
|
181 | 181 | } |
182 | 182 | } |
@@ -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,7 +13,7 @@ discard block |
||
13 | 13 | public static function configurationMaxResultAndPageSizeMutuallyExclusive() |
14 | 14 | { |
15 | 15 | return 'Specification of \'entity set page size\' is mutually exclusive with the specification ' |
16 | - .'of \'maximum result per collection\' in configuration'; |
|
16 | + .'of \'maximum result per collection\' in configuration'; |
|
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | public static function configurationCountNotAccepted() |
53 | 53 | { |
54 | 54 | return 'The ability of the data service to return row count information is disabled. To enable' |
55 | - .' this functionality, set the ServiceConfiguration.AcceptCountRequests property to true.'; |
|
55 | + .' this functionality, set the ServiceConfiguration.AcceptCountRequests property to true.'; |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | public static function configurationProjectionsNotAccepted() |
65 | 65 | { |
66 | 66 | return 'The ability to use the $select query option to define a projection in a data service query is' |
67 | - .' disabled. To enable this functionality, call ServiceConfiguration::setAcceptProjectionRequests' |
|
68 | - .' method with argument as true.'; |
|
67 | + .' disabled. To enable this functionality, call ServiceConfiguration::setAcceptProjectionRequests' |
|
68 | + .' method with argument as true.'; |
|
69 | 69 | } |
70 | 70 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | public static function configurationResourceSetNameNotFound($name) |
28 | 28 | { |
29 | - return 'The given name \''.$name.'\' was not found in the entity sets'; |
|
29 | + return 'The given name \'' . $name . '\' was not found in the entity sets'; |
|
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public static function configurationRightsAreNotInRange($argument, $functionName) |
42 | 42 | { |
43 | - return 'The argument \''.$argument.'\' of \''.$functionName.'\' should be EntitySetRights enum value'; |
|
43 | + return 'The argument \'' . $argument . '\' of \'' . $functionName . '\' should be EntitySetRights enum value'; |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | public static function expandedProjectionNodeArgumentTypeShouldBeProjection() |
14 | 14 | { |
15 | 15 | return 'The argument to ExpandedProjectionNode::addNode should be either ProjectionNode or' |
16 | - .' ExpandedProjectionNode'; |
|
16 | + .' ExpandedProjectionNode'; |
|
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $clause = $isSelect ? 'select' : 'expand'; |
34 | 34 | |
35 | 35 | return 'Error in the '.$clause.' clause. Type \''.$resourceTypeName.'\' does not have a property named \'' |
36 | - .$propertyName.'\'.'; |
|
36 | + .$propertyName.'\'.'; |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | public static function expandProjectionParserExpandCanOnlyAppliedToEntity($resourceTypeName, $propertyName) |
49 | 49 | { |
50 | 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'; |
|
51 | + '\''.$propertyName.'\' defined in \''.$resourceTypeName.'\' is not a navigation property'; |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | public static function expandProjectionParserPrimitivePropertyUsedAsNavigationProperty($resourceTypeName, $primitvePropertyName) |
66 | 66 | { |
67 | 67 | return 'Property \''.$primitvePropertyName.'\' on type \''.$resourceTypeName |
68 | - .'\' is of primitive type and cannot be used as a navigation property.'; |
|
68 | + .'\' is of primitive type and cannot be used as a navigation property.'; |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | public static function expandProjectionParserComplexPropertyAsInnerSelectSegment($resourceTypeName, $complextTypeName) |
82 | 82 | { |
83 | 83 | return 'select doesn\'t support selection of properties of complex type. The property \''.$complextTypeName |
84 | - .'\' on type \''.$resourceTypeName.'\' is a complex type.'; |
|
84 | + .'\' on type \''.$resourceTypeName.'\' is a complex type.'; |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | public static function expandProjectionParserBagPropertyAsInnerSelectSegment($resourceTypeName, $bagPropertyName) |
98 | 98 | { |
99 | 99 | return 'The selection from property \''.$bagPropertyName.'\' on type \''.$resourceTypeName |
100 | - .'\' is not valid. The select query option does not support selection items from a bag property.'; |
|
100 | + .'\' is not valid. The select query option does not support selection items from a bag property.'; |
|
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
@@ -123,6 +123,6 @@ discard block |
||
123 | 123 | public static function expandProjectionParserPropertyWithoutMatchingExpand($propertyName) |
124 | 124 | { |
125 | 125 | return 'Only navigation properties specified in expand option can be traversed in select option. In order to' |
126 | - .' traverse the navigation property \'' . $propertyName . '\', it should be first expanded'; |
|
126 | + .' traverse the navigation property \'' . $propertyName . '\', it should be first expanded'; |
|
127 | 127 | } |
128 | 128 | } |
@@ -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 |
@@ -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.' keys but '.$actualCount |
20 | - .' provided'; |
|
20 | + .' 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 expects the keys \'' |
35 | - .$expectedKeys.'\''; |
|
35 | + .$expectedKeys.'\''; |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | public static function keyDescriptorInCompatibleKeyType($segment, $keyProperty, $expectedType, $actualType) |
50 | 50 | { |
51 | 51 | return 'Syntax error in the segment \''.$segment.'\'. The value of key property \''.$keyProperty |
52 | - .'\' should be of type ' . $expectedType . ', given ' . $actualType; |
|
52 | + .'\' should be of type ' . $expectedType . ', given ' . $actualType; |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | public static function keyDescriptorInCompatibleKeyTypeAtPosition($segment, $keyProperty, $position, $expectedType, $actualType) |
68 | 68 | { |
69 | 69 | return 'Syntax error in the segment \''.$segment.'\'. The value of key property \''.$keyProperty |
70 | - .'\' at position '.$position.' should be of type ' . $expectedType . ', given ' . $actualType; |
|
70 | + .'\' at position '.$position.' should be of type ' . $expectedType . ', given ' . $actualType; |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | */ |
17 | 17 | public static function keyDescriptorKeyCountNotMatching($segment, $expectedCount, $actualCount) |
18 | 18 | { |
19 | - return 'The predicate in the segment \''.$segment.'\' expect '.$expectedCount.' keys but '.$actualCount |
|
19 | + return 'The predicate in the segment \'' . $segment . '\' expect ' . $expectedCount . ' keys but ' . $actualCount |
|
20 | 20 | .' provided'; |
21 | 21 | } |
22 | 22 | |
@@ -31,8 +31,8 @@ discard block |
||
31 | 31 | */ |
32 | 32 | public static function keyDescriptorMissingKeys($segment, $expectedKeys) |
33 | 33 | { |
34 | - return 'Missing keys in key predicate for the segment \''.$segment.'\'. The key predicate expects the keys \'' |
|
35 | - .$expectedKeys.'\''; |
|
34 | + return 'Missing keys in key predicate for the segment \'' . $segment . '\'. The key predicate expects the keys \'' |
|
35 | + .$expectedKeys . '\''; |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public static function keyDescriptorInCompatibleKeyType($segment, $keyProperty, $expectedType, $actualType) |
50 | 50 | { |
51 | - return 'Syntax error in the segment \''.$segment.'\'. The value of key property \''.$keyProperty |
|
51 | + return 'Syntax error in the segment \'' . $segment . '\'. The value of key property \'' . $keyProperty |
|
52 | 52 | .'\' should be of type ' . $expectedType . ', given ' . $actualType; |
53 | 53 | } |
54 | 54 | |
@@ -66,8 +66,8 @@ discard block |
||
66 | 66 | */ |
67 | 67 | public static function keyDescriptorInCompatibleKeyTypeAtPosition($segment, $keyProperty, $position, $expectedType, $actualType) |
68 | 68 | { |
69 | - return 'Syntax error in the segment \''.$segment.'\'. The value of key property \''.$keyProperty |
|
70 | - .'\' at position '.$position.' should be of type ' . $expectedType . ', given ' . $actualType; |
|
69 | + return 'Syntax error in the segment \'' . $segment . '\'. The value of key property \'' . $keyProperty |
|
70 | + .'\' at position ' . $position . ' should be of type ' . $expectedType . ', given ' . $actualType; |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public static function resourceAssociationTypeEndPropertyMustBeNullOrInstanceofResourceProperty($argumentName) |
16 | 16 | { |
17 | - return 'The argument \''.$argumentName.'\' must be either null or instance of \'ResourceProperty\'.'; |
|
17 | + return 'The argument \'' . $argumentName . '\' must be either null or instance of \'ResourceProperty\'.'; |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | public static function resourceTypeMissingKeyPropertiesForEntity($entityName) |
63 | 63 | { |
64 | 64 | return 'The entity type \''.$entityName.'\' does not have any key properties. Please make sure the key' |
65 | - .' properties are defined for this entity type'; |
|
65 | + .' properties are defined for this entity type'; |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | public static function resourceTypeKeyPropertiesOnlyOnEntityTypes() |
86 | 86 | { |
87 | 87 | return 'Key properties can only be added to ResourceType instances with a ResourceTypeKind' |
88 | - .' equal to \'EntityType\''; |
|
88 | + .' equal to \'EntityType\''; |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | public static function resourceTypeETagPropertiesOnlyOnEntityTypes() |
98 | 98 | { |
99 | 99 | return 'ETag properties can only be added to ResourceType instances with a ResourceTypeKind' |
100 | - .' equal to \'EntityType\''; |
|
100 | + .' equal to \'EntityType\''; |
|
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
@@ -112,8 +112,8 @@ discard block |
||
112 | 112 | public static function resourceTypePropertyWithSameNameAlreadyExists($propertyName, $resourceTypeName) |
113 | 113 | { |
114 | 114 | return 'Property with same name \''.$propertyName.'\' already exists in type \''.$resourceTypeName |
115 | - .'\'. Please make sure that there is no property with the same name defined in one of the' |
|
116 | - .' ancestor types'; |
|
115 | + .'\'. Please make sure that there is no property with the same name defined in one of the' |
|
116 | + .' ancestor types'; |
|
117 | 117 | } |
118 | 118 | |
119 | 119 | /** |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | public static function resourceTypeNamedStreamWithSameNameAlreadyExists($namedStreamName, $resourceTypeName) |
159 | 159 | { |
160 | 160 | return 'Named stream with the name \''.$namedStreamName.'\' already exists in type \''.$resourceTypeName |
161 | - .'\'. Please make sure that there is no named stream with the same name defined in one of the' |
|
162 | - .' ancestor types'; |
|
161 | + .'\'. Please make sure that there is no named stream with the same name defined in one of the' |
|
162 | + .' ancestor types'; |
|
163 | 163 | } |
164 | 164 | } |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | */ |
37 | 37 | public static function resourceTypeTypeShouldImplementIType($argument) |
38 | 38 | { |
39 | - return 'For primitive type the \''.$argument.'\' argument should be an \'IType\' instance'; |
|
39 | + return 'For primitive type the \'' . $argument . '\' argument should be an \'IType\' instance'; |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public static function resourceTypeTypeShouldReflectionClass($argument) |
51 | 51 | { |
52 | - return 'For entity type the \''.$argument.'\' argument should be a \'ReflectionClass\' instance'; |
|
52 | + return 'For entity type the \'' . $argument . '\' argument should be a \'ReflectionClass\' instance'; |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | */ |
62 | 62 | public static function resourceTypeMissingKeyPropertiesForEntity($entityName) |
63 | 63 | { |
64 | - return 'The entity type \''.$entityName.'\' does not have any key properties. Please make sure the key' |
|
64 | + return 'The entity type \'' . $entityName . '\' does not have any key properties. Please make sure the key' |
|
65 | 65 | .' properties are defined for this entity type'; |
66 | 66 | } |
67 | 67 | |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | */ |
112 | 112 | public static function resourceTypePropertyWithSameNameAlreadyExists($propertyName, $resourceTypeName) |
113 | 113 | { |
114 | - return 'Property with same name \''.$propertyName.'\' already exists in type \''.$resourceTypeName |
|
114 | + return 'Property with same name \'' . $propertyName . '\' already exists in type \'' . $resourceTypeName |
|
115 | 115 | .'\'. Please make sure that there is no property with the same name defined in one of the' |
116 | 116 | .' ancestor types'; |
117 | 117 | } |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | */ |
158 | 158 | public static function resourceTypeNamedStreamWithSameNameAlreadyExists($namedStreamName, $resourceTypeName) |
159 | 159 | { |
160 | - return 'Named stream with the name \''.$namedStreamName.'\' already exists in type \''.$resourceTypeName |
|
160 | + return 'Named stream with the name \'' . $namedStreamName . '\' already exists in type \'' . $resourceTypeName |
|
161 | 161 | .'\'. Please make sure that there is no named stream with the same name defined in one of the' |
162 | 162 | .' ancestor types'; |
163 | 163 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | public static function httpProcessUtilityEscapeCharWithoutQuotes($parameterName) |
66 | 66 | { |
67 | 67 | return 'Value for MIME type parameter \''.$parameterName.'\' is incorrect because it contained escape'. |
68 | - ' characters even though it was not quoted.'; |
|
68 | + ' characters even though it was not quoted.'; |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | public static function httpProcessUtilityEscapeCharAtEnd($parameterName) |
80 | 80 | { |
81 | 81 | return 'Value for MIME type parameter \''.$parameterName.'\' is incorrect because it terminated with escape' |
82 | - .' character. Escape characters must always be followed by a character in a parameter value.'; |
|
82 | + .' character. Escape characters must always be followed by a character in a parameter value.'; |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | public static function httpProcessUtilityClosingQuoteNotFound($parameterName) |
94 | 94 | { |
95 | 95 | return 'Value for MIME type parameter \''.$parameterName.'\' is incorrect because the closing quote character' |
96 | - .' could not be found while the parameter value started with a quote character.'; |
|
96 | + .' could not be found while the parameter value started with a quote character.'; |
|
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
@@ -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 |