Passed
Push — master ( 3e052f...482722 )
by Christopher
03:45
created
src/POData/Common/Messages/objectModelSerializer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      */
16 16
     public static function badProviderInconsistentEntityOrComplexTypeUsage($typeName)
17 17
     {
18
-        return 'Internal Server Error. The type \''.$typeName.'\' has inconsistent metadata and runtime type info.';
18
+        return 'Internal Server Error. The type \'' . $typeName . '\' has inconsistent metadata and runtime type info.';
19 19
     }
20 20
 
21 21
     /**
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public static function badQueryNullKeysAreNotSupported($resourceTypeName, $keyName)
32 32
     {
33
-        return 'The serialized resource of type '.$resourceTypeName.' has a null value in key member \''.$keyName
33
+        return 'The serialized resource of type ' . $resourceTypeName . ' has a null value in key member \'' . $keyName
34 34
                .'\'. Null values are not supported in key members.';
35 35
     }
36 36
 
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public static function objectModelSerializerFailedToAccessProperty($propertyName, $parentObjectName)
47 47
     {
48
-        return 'objectModelSerializer failed to access or initialize the property '.$propertyName.' of '
49
-               .$parentObjectName.', Please contact provider.';
48
+        return 'objectModelSerializer failed to access or initialize the property ' . $propertyName . ' of '
49
+               .$parentObjectName . ', Please contact provider.';
50 50
     }
51 51
 
52 52
     /**
Please login to merge, or discard this patch.
src/POData/Common/Messages/skipTokenInfo.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
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
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public static function internalSkipTokenInfoFailedToAccessOrInitializeProperty($propertyName)
34 34
     {
35
-        return 'internalSkipTokenInfo failed to access or initialize the property '.$propertyName;
35
+        return 'internalSkipTokenInfo failed to access or initialize the property ' . $propertyName;
36 36
     }
37 37
 
38 38
     /**
@@ -45,6 +45,6 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public static function internalSkipTokenInfoBinarySearchRequireArray($argumentName)
47 47
     {
48
-        return 'The argument \''.$argumentName.'\' should be an array to perfrom binary search';
48
+        return 'The argument \'' . $argumentName . '\' should be an array to perfrom binary search';
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/uriProcessor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public static function uriProcessorResourceNotFound($segment)
15 15
     {
16
-        return 'Resource not found for the segment \''.$segment.'\'.';
16
+        return 'Resource not found for the segment \'' . $segment . '\'.';
17 17
     }
18 18
 
19 19
     /**
@@ -38,6 +38,6 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public static function uriProcessorRequestUriDoesNotHaveTheRightBaseUri($requestUri, $serviceUri)
40 40
     {
41
-        return 'The URI \''.$requestUri.'\' is not valid since it is not based on \''.$serviceUri.'\'';
41
+        return 'The URI \'' . $requestUri . '\' is not valid since it is not based on \'' . $serviceUri . '\'';
42 42
     }
43 43
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/providersWrapper.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/POData/Common/Messages/eTag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      */
50 50
     public static function eTagCannotBeSpecified($uri)
51 51
     {
52
-        return 'If-Match or If-None-Match HTTP headers cannot be specified since the URI \''.$uri.'\' refers to a'
52
+        return 'If-Match or If-None-Match HTTP headers cannot be specified since the URI \'' . $uri . '\' refers to a'
53 53
                .' collection of resources or has a $count or $link segment or has an $expand as one of the query'
54 54
                .' parameters.';
55 55
     }
Please login to merge, or discard this patch.
src/POData/Common/Messages/resourceProperty.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public static function resourcePropertyInvalidKindParameter($argumentName)
15 15
     {
16
-        return 'The argument \''.$argumentName.'\' is not a valid ResourcePropertyKind enum value or'
16
+        return 'The argument \'' . $argumentName . '\' is not a valid ResourcePropertyKind enum value or'
17 17
                .' valid combination of ResourcePropertyKind enum values';
18 18
     }
19 19
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public static function resourcePropertyPropertyKindAndResourceTypeKindMismatch($resourcePropertyKindArgName, $resourceTypeArgName)
29 29
     {
30
-        return 'The \''.$resourcePropertyKindArgName.'\' parameter does not match with the type of the resource'
31
-               .' type in parameter \''.$resourceTypeArgName.'\'';
30
+        return 'The \'' . $resourcePropertyKindArgName . '\' parameter does not match with the type of the resource'
31
+               .' type in parameter \'' . $resourceTypeArgName . '\'';
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/navigation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/orderByInfo.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/POData/Common/Messages/queryProcessor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.