Passed
Pull Request — master (#127)
by Christopher
04:00
created
src/POData/Common/Messages/resourceProperty.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     public static function resourcePropertyInvalidKindParameter($argumentName)
15 15
     {
16 16
         return 'The argument \''.$argumentName.'\' is not a valid ResourcePropertyKind enum value or'
17
-               .' valid combination of ResourcePropertyKind enum values';
17
+                .' valid combination of ResourcePropertyKind enum values';
18 18
     }
19 19
 
20 20
     /**
@@ -28,6 +28,6 @@  discard block
 block discarded – undo
28 28
     public static function resourcePropertyPropertyKindAndResourceTypeKindMismatch($resourcePropertyKindArgName, $resourceTypeArgName)
29 29
     {
30 30
         return 'The \''.$resourcePropertyKindArgName.'\' parameter does not match with the type of the resource'
31
-               .' type in parameter \''.$resourceTypeArgName.'\'';
31
+                .' type in parameter \''.$resourceTypeArgName.'\'';
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/queryProcessor.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/POData/Common/Messages/resourceSet.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/streamProviderWrapper.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/POData/Common/Messages/request.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/expressionLexer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/POData/Common/Messages/orderByInfo.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,6 +178,6 @@
 block discarded – undo
178 178
     public static function orderByParserFailedToAccessOrInitializeProperty($propertyName, $parentObjectName)
179 179
     {
180 180
         return 'OrderBy parser failed to access or initialize the property ' . $propertyName .
181
-               ' of ' . $parentObjectName;
181
+                ' of ' . $parentObjectName;
182 182
     }
183 183
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/common.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/POData/Common/Messages/expandProjectionParser.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.