@@ -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 | /** |
@@ -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 | /** |
@@ -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 | } |
@@ -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 | } |
@@ -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 | /** |
@@ -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 | } |
@@ -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 | /** |
@@ -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 | } |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | { |
| 18 | 18 | if ($notEndWithSvcOrHasQuery) { |
| 19 | 19 | return 'Malformed base service uri in the configuration file (should end with .svc, there should not'. |
| 20 | - ' be query or fragment in the base service uri)'; |
|
| 20 | + ' be query or fragment in the base service uri)'; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | return 'Malformed base service uri in the configuration file'; |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | public static function hostRequestUriIsNotBasedOnRelativeUriInConfig($requestUri, $relativeUri) |
| 36 | 36 | { |
| 37 | 37 | return 'The request uri ' . $requestUri . ' is not valid as it is not based on the configured relative uri ' |
| 38 | - . $relativeUri; |
|
| 38 | + . $relativeUri; |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | public static function badRequestInvalidUriForMediaResource($uri) |
| 88 | 88 | { |
| 89 | 89 | return 'The URI \''.$uri.'\' is not valid. The segment before \'$value\' must be a Media Link Entry or' |
| 90 | - .' a primitive property.'; |
|
| 90 | + .' a primitive property.'; |
|
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | public static function hostNonODataOptionBeginsWithSystemCharacter($optionName) |
| 102 | 102 | { |
| 103 | 103 | return 'The query parameter \''.$optionName.'\' begins with a system-reserved \'$\' character but' |
| 104 | - .' is not recognized.'; |
|
| 104 | + .' is not recognized.'; |
|
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | /** |
@@ -139,6 +139,6 @@ discard block |
||
| 139 | 139 | public static function bothIfMatchAndIfNoneMatchHeaderSpecified() |
| 140 | 140 | { |
| 141 | 141 | return 'Both If-Match and If-None-Match HTTP headers cannot be specified at the same time. Please specify' |
| 142 | - .' either one of the headers or none of them.'; |
|
| 142 | + .' either one of the headers or none of them.'; |
|
| 143 | 143 | } |
| 144 | 144 | } |