@@ -28,7 +28,7 @@ |
||
| 28 | 28 | public static function metadataWriterNoResourceAssociationSetForNavigationProperty($navigationPropertyName, $resourceTypeName) |
| 29 | 29 | { |
| 30 | 30 | return 'No visible ResourceAssociationSet found for navigation property \''.$navigationPropertyName. |
| 31 | - '\' on type \''.$resourceTypeName.'\'. There must be at least one ResourceAssociationSet for'. |
|
| 32 | - ' each navigation property.'; |
|
| 31 | + '\' on type \''.$resourceTypeName.'\'. There must be at least one ResourceAssociationSet for'. |
|
| 32 | + ' each navigation property.'; |
|
| 33 | 33 | } |
| 34 | 34 | } |
@@ -27,8 +27,8 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public static function metadataWriterNoResourceAssociationSetForNavigationProperty($navigationPropertyName, $resourceTypeName) |
| 29 | 29 | { |
| 30 | - return 'No visible ResourceAssociationSet found for navigation property \''.$navigationPropertyName. |
|
| 31 | - '\' on type \''.$resourceTypeName.'\'. There must be at least one ResourceAssociationSet for'. |
|
| 30 | + return 'No visible ResourceAssociationSet found for navigation property \'' . $navigationPropertyName . |
|
| 31 | + '\' on type \'' . $resourceTypeName . '\'. There must be at least one ResourceAssociationSet for' . |
|
| 32 | 32 | ' each navigation property.'; |
| 33 | 33 | } |
| 34 | 34 | } |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | public static function expressionParserOperatorNotSupportNull($operator, $pos) |
| 30 | 30 | { |
| 31 | 31 | return 'The operator \''.$operator.'\' at position '.$pos.' is not supported for the \'null\'' |
| 32 | - .' literal; only equality checks are supported'; |
|
| 32 | + .' literal; only equality checks are supported'; |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | public static function expressionParserOperatorNotSupportGuid($operator, $pos) |
| 44 | 44 | { |
| 45 | 45 | return 'The operator \''.$operator.'\' at position '.$pos.' is not supported for the Edm.Guid;' |
| 46 | - .' only equality checks are supported'; |
|
| 46 | + .' only equality checks are supported'; |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | public static function expressionParserOperatorNotSupportBinary($operator, $pos) |
| 58 | 58 | { |
| 59 | 59 | return 'The operator \''.$operator.'\' at position '.$pos.' is not supported for the Edm.Binary;' |
| 60 | - .' only equality checks are supported'; |
|
| 60 | + .' only equality checks are supported'; |
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
@@ -132,6 +132,6 @@ discard block |
||
| 132 | 132 | public static function expressionParserEntityCollectionNotAllowedInFilter($property, $parentProperty, $pos) |
| 133 | 133 | { |
| 134 | 134 | return 'The \''.$property.'\' is an entity collection property of \''.$parentProperty.'\' (position: '.$pos |
| 135 | - .'), which cannot be used in $filter query option'; |
|
| 135 | + .'), which cannot be used in $filter query option'; |
|
| 136 | 136 | } |
| 137 | 137 | } |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | public static function expressionParserInCompatibleTypes($operator, $str, $pos) |
| 17 | 17 | { |
| 18 | - return 'Operator \''.$operator.'\' incompatible with operand types '.$str.' at position '.$pos; |
|
| 18 | + return 'Operator \'' . $operator . '\' incompatible with operand types ' . $str . ' at position ' . $pos; |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | /** |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | */ |
| 29 | 29 | public static function expressionParserOperatorNotSupportNull($operator, $pos) |
| 30 | 30 | { |
| 31 | - return 'The operator \''.$operator.'\' at position '.$pos.' is not supported for the \'null\'' |
|
| 31 | + return 'The operator \'' . $operator . '\' at position ' . $pos . ' is not supported for the \'null\'' |
|
| 32 | 32 | .' literal; only equality checks are supported'; |
| 33 | 33 | } |
| 34 | 34 | |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public static function expressionParserOperatorNotSupportGuid($operator, $pos) |
| 44 | 44 | { |
| 45 | - return 'The operator \''.$operator.'\' at position '.$pos.' is not supported for the Edm.Guid;' |
|
| 45 | + return 'The operator \'' . $operator . '\' at position ' . $pos . ' is not supported for the Edm.Guid;' |
|
| 46 | 46 | .' only equality checks are supported'; |
| 47 | 47 | } |
| 48 | 48 | |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | public static function expressionParserOperatorNotSupportBinary($operator, $pos) |
| 58 | 58 | { |
| 59 | - return 'The operator \''.$operator.'\' at position '.$pos.' is not supported for the Edm.Binary;' |
|
| 59 | + return 'The operator \'' . $operator . '\' at position ' . $pos . ' is not supported for the Edm.Binary;' |
|
| 60 | 60 | .' only equality checks are supported'; |
| 61 | 61 | } |
| 62 | 62 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | */ |
| 72 | 72 | public static function expressionParserUnrecognizedLiteral($type, $literal, $pos) |
| 73 | 73 | { |
| 74 | - return 'Unrecognized \''.$type.'\' literal \''.$literal.'\' in position \''.$pos.'\'.'; |
|
| 74 | + return 'Unrecognized \'' . $type . '\' literal \'' . $literal . '\' in position \'' . $pos . '\'.'; |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /** |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | */ |
| 85 | 85 | public static function expressionParserUnknownFunction($str, $pos) |
| 86 | 86 | { |
| 87 | - return 'Unknown function \''.$str.'\' at position '.$pos; |
|
| 87 | + return 'Unknown function \'' . $str . '\' at position ' . $pos; |
|
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | /** |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | */ |
| 107 | 107 | public static function expressionParser2UnexpectedExpression($expressionClassName) |
| 108 | 108 | { |
| 109 | - return 'Unexpected expression of type \''.$expressionClassName.'\' found'; |
|
| 109 | + return 'Unexpected expression of type \'' . $expressionClassName . '\' found'; |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | */ |
| 132 | 132 | public static function expressionParserEntityCollectionNotAllowedInFilter($property, $parentProperty, $pos) |
| 133 | 133 | { |
| 134 | - return 'The \''.$property.'\' is an entity collection property of \''.$parentProperty.'\' (position: '.$pos |
|
| 134 | + return 'The \'' . $property . '\' is an entity collection property of \'' . $parentProperty . '\' (position: ' . $pos |
|
| 135 | 135 | .'), which cannot be used in $filter query option'; |
| 136 | 136 | } |
| 137 | 137 | } |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | public static function resourceAssociationSetPropertyMustBeNullOrInstanceofResourceProperty($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 | /** |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | */ |
| 29 | 29 | public static function resourceAssociationSetEndPropertyMustBeNavigationProperty($propertyName, $resourceTypeName) |
| 30 | 30 | { |
| 31 | - return 'The property '.$propertyName.' must be a navigation property of the resource type '.$resourceTypeName; |
|
| 31 | + return 'The property ' . $propertyName . ' must be a navigation property of the resource type ' . $resourceTypeName; |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | /** |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public static function resourceAssociationSetEndResourceTypeMustBeAssignableToResourceSet($resourceTypeName, $resourceSetName) |
| 44 | 44 | { |
| 45 | - return 'The resource type '.$resourceTypeName.' must be assignable to the resource set '.$resourceSetName.'.'; |
|
| 45 | + return 'The resource type ' . $resourceTypeName . ' must be assignable to the resource set ' . $resourceSetName . '.'; |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | public static function requestVersionTooLow($requestedVersion, $requiredVersion) |
| 18 | 18 | { |
| 19 | 19 | return 'Request version \''.$requestedVersion.'\' is not supported for the request payload. The only' |
| 20 | - .' supported version is \''.$requiredVersion.'\'.'; |
|
| 20 | + .' supported version is \''.$requiredVersion.'\'.'; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | public static function requestVersionIsBiggerThanProtocolVersion($requiredVersion, $configuredVersion) |
| 33 | 33 | { |
| 34 | 34 | return 'The response requires that version '.$requiredVersion.' of the protocol be used, but the' |
| 35 | - .' MaxProtocolVersion of the data service is set to '.$configuredVersion.'.'; |
|
| 35 | + .' MaxProtocolVersion of the data service is set to '.$configuredVersion.'.'; |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
@@ -62,6 +62,6 @@ discard block |
||
| 62 | 62 | public static function requestDescriptionUnSupportedVersion($requestHeaderName, $requestedVersion, $availableVersions) |
| 63 | 63 | { |
| 64 | 64 | return 'The version value '.$requestedVersion.' in the header '.$requestHeaderName.' is not' |
| 65 | - .' supported, available versions are '.$availableVersions; |
|
| 65 | + .' supported, available versions are '.$availableVersions; |
|
| 66 | 66 | } |
| 67 | 67 | } |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | */ |
| 17 | 17 | public static function requestVersionTooLow($requestedVersion, $requiredVersion) |
| 18 | 18 | { |
| 19 | - return 'Request version \''.$requestedVersion.'\' is not supported for the request payload. The only' |
|
| 20 | - .' supported version is \''.$requiredVersion.'\'.'; |
|
| 19 | + return 'Request version \'' . $requestedVersion . '\' is not supported for the request payload. The only' |
|
| 20 | + .' supported version is \'' . $requiredVersion . '\'.'; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | */ |
| 32 | 32 | public static function requestVersionIsBiggerThanProtocolVersion($requiredVersion, $configuredVersion) |
| 33 | 33 | { |
| 34 | - return 'The response requires that version '.$requiredVersion.' of the protocol be used, but the' |
|
| 35 | - .' MaxProtocolVersion of the data service is set to '.$configuredVersion.'.'; |
|
| 34 | + return 'The response requires that version ' . $requiredVersion . ' of the protocol be used, but the' |
|
| 35 | + .' MaxProtocolVersion of the data service is set to ' . $configuredVersion . '.'; |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | */ |
| 47 | 47 | public static function requestDescriptionInvalidVersionHeader($versionAsString, $headerName) |
| 48 | 48 | { |
| 49 | - return 'The header '.$headerName.' has malformed version value '.$versionAsString; |
|
| 49 | + return 'The header ' . $headerName . ' has malformed version value ' . $versionAsString; |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | */ |
| 62 | 62 | public static function requestDescriptionUnSupportedVersion($requestHeaderName, $requestedVersion, $availableVersions) |
| 63 | 63 | { |
| 64 | - return 'The version value '.$requestedVersion.' in the header '.$requestHeaderName.' is not' |
|
| 65 | - .' supported, available versions are '.$availableVersions; |
|
| 64 | + return 'The version value ' . $requestedVersion . ' in the header ' . $requestHeaderName . ' is not' |
|
| 65 | + .' supported, available versions are ' . $availableVersions; |
|
| 66 | 66 | } |
| 67 | 67 | } |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | public static function metadataResourceTypeSetNamedStreamsOnDerivedEntityTypesNotSupported($entitySetName, $derivedTypeName) |
| 17 | 17 | { |
| 18 | 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.'\'.'; |
|
| 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 | /** |
@@ -32,6 +32,6 @@ discard block |
||
| 32 | 32 | public static function metadataResourceTypeSetBagOfComplexTypeWithDerivedTypes($complexTypeName) |
| 33 | 33 | { |
| 34 | 34 | return 'Complex type \''.$complexTypeName.'\' has derived types and is used as the item type in a bag.' |
| 35 | - .' Only bags containing complex types without derived types are supported.'; |
|
| 35 | + .' Only bags containing complex types without derived types are supported.'; |
|
| 36 | 36 | } |
| 37 | 37 | } |
@@ -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 | } |