@@ -119,7 +119,7 @@  | 
                                                    ||
| 119 | 119 | public static function validateWithoutPrefix($value, &$outValue)  | 
                                                        
| 120 | 120 |      { | 
                                                        
| 121 | 121 | $length = strlen($value);  | 
                                                        
| 122 | -        if (0 == $length || 0 != $length % 2) { | 
                                                        |
| 122 | +        if (0 == $length || 0 != $length%2) { | 
                                                        |
| 123 | 123 | return false;  | 
                                                        
| 124 | 124 | }  | 
                                                        
| 125 | 125 | |
@@ -349,7 +349,7 @@  | 
                                                    ||
| 349 | 349 | |
| 350 | 350 | ++$textIndex;  | 
                                                        
| 351 | 351 | $parameterValue  | 
                                                        
| 352 | - = self::readQuotedParameterValue($parameterName, $text, $textIndex);  | 
                                                        |
| 352 | + = self::readQuotedParameterValue($parameterName, $text, $textIndex);  | 
                                                        |
| 353 | 353 | $parameters[] = [$parameterName => $parameterValue];  | 
                                                        
| 354 | 354 | }  | 
                                                        
| 355 | 355 | |
@@ -78,7 +78,6 @@  | 
                                                    ||
| 78 | 78 | $this->eTag = $eTag;  | 
                                                        
| 79 | 79 | $this->name = $name;  | 
                                                        
| 80 | 80 | $this->srcLink = $srcLink;  | 
                                                        
| 81 | - $this->rel = (null !== $rel) ? $rel :  | 
                                                        |
| 82 | - ODataConstants::ATOM_MEDIA_RESOURCE_RELATION_ATTRIBUTE_VALUE . $name;  | 
                                                        |
| 81 | + $this->rel = (null !== $rel) ? $rel : ODataConstants::ATOM_MEDIA_RESOURCE_RELATION_ATTRIBUTE_VALUE . $name;  | 
                                                        |
| 83 | 82 | }  | 
                                                        
| 84 | 83 | }  | 
                                                        
@@ -615,7 +615,7 @@  | 
                                                    ||
| 615 | 615 | */  | 
                                                        
| 616 | 616 | public function setResponseStatusCode(int $value): void  | 
                                                        
| 617 | 617 |      { | 
                                                        
| 618 | - $floor = floor($value / 100);  | 
                                                        |
| 618 | + $floor = floor($value/100);  | 
                                                        |
| 619 | 619 |          if ($floor >= 1 && $floor <= 5) { | 
                                                        
| 620 | 620 | $statusDescription = HttpStatus::getStatusDescription($value);  | 
                                                        
| 621 | 621 |              if (null !== $statusDescription) { | 
                                                        
@@ -598,7 +598,7 @@ discard block  | 
                                                    ||
| 598 | 598 | MimeTypes::MIME_APPLICATION_JSON_FULL_META,  | 
                                                        
| 599 | 599 | MimeTypes::MIME_APPLICATION_JSON_NO_META,  | 
                                                        
| 600 | 600 | MimeTypes::MIME_APPLICATION_JSON_MINIMAL_META,  | 
                                                        
| 601 | - MimeTypes::MIME_APPLICATION_JSON_VERBOSE,];  | 
                                                        |
| 601 | + MimeTypes::MIME_APPLICATION_JSON_VERBOSE, ];  | 
                                                        |
| 602 | 602 | |
| 603 | 603 | // The Accept request-header field specifies media types which are acceptable for the response  | 
                                                        
| 604 | 604 | |
@@ -673,7 +673,7 @@ discard block  | 
                                                    ||
| 673 | 673 | $requestAcceptText,  | 
                                                        
| 674 | 674 | array_merge(  | 
                                                        
| 675 | 675 | [MimeTypes::MIME_APPLICATION_XML,  | 
                                                        
| 676 | - MimeTypes::MIME_TEXTXML,],  | 
                                                        |
| 676 | + MimeTypes::MIME_TEXTXML, ],  | 
                                                        |
| 677 | 677 | $baseMimeTypes  | 
                                                        
| 678 | 678 | )  | 
                                                        
| 679 | 679 | );  | 
                                                        
@@ -102,12 +102,12 @@  | 
                                                    ||
| 102 | 102 |              $patt = ['/^(\'[0-9a-fA-F]{32}\')?$/', | 
                                                        
| 103 | 103 |                  '/^(\'[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\')?$/', | 
                                                        
| 104 | 104 |                  '/^\'\{?([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}?\')?$/', | 
                                                        
| 105 | -                '/^\'\(?([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\)?\')?$/',]; | 
                                                        |
| 105 | +                '/^\'\(?([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\)?\')?$/', ]; | 
                                                        |
| 106 | 106 |          } else { | 
                                                        
| 107 | 107 |              $patt = ['/^([0-9a-fA-F]{32})?$/', | 
                                                        
| 108 | 108 |                  '/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})?$/', | 
                                                        
| 109 | 109 |                  '/^\{?([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}?)?$/', | 
                                                        
| 110 | -                '/^\(?([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\)?)?$/',]; | 
                                                        |
| 110 | +                '/^\(?([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\)?)?$/', ]; | 
                                                        |
| 111 | 111 | }  | 
                                                        
| 112 | 112 | |
| 113 | 113 |          foreach ($patt as $pattern) { | 
                                                        
@@ -97,7 +97,7 @@  | 
                                                    ||
| 97 | 97 | public function handleStartMetadataCount()  | 
                                                        
| 98 | 98 |      { | 
                                                        
| 99 | 99 |          $this->enqueueEnd(function () { | 
                                                        
| 100 | - $this->oDataFeed->rowCount = (int)$this->popCharData();  | 
                                                        |
| 100 | + $this->oDataFeed->rowCount = (int) $this->popCharData();  | 
                                                        |
| 101 | 101 | });  | 
                                                        
| 102 | 102 | }  | 
                                                        
| 103 | 103 | |
@@ -148,7 +148,7 @@  | 
                                                    ||
| 148 | 148 | assert($set instanceof ResourceSet, get_class($set));  | 
                                                        
| 149 | 149 | $type = $set->getResourceType();  | 
                                                        
| 150 | 150 | $properties = $this->getDeserialiser()->bulkDeserialise($type, $content);  | 
                                                        
| 151 | - $properties = (object)$properties;  | 
                                                        |
| 151 | + $properties = (object) $properties;  | 
                                                        |
| 152 | 152 | |
| 153 | 153 |          if ($isCreate) { | 
                                                        
| 154 | 154 | $result = $this->getWrapper()->createResourceforResourceSet($set, null, $properties);  | 
                                                        
@@ -748,7 +748,7 @@ discard block  | 
                                                    ||
| 748 | 748 | return false;  | 
                                                        
| 749 | 749 | }  | 
                                                        
| 750 | 750 | |
| 751 | - return 0 == ($value % 4);  | 
                                                        |
| 751 | + return 0 == ($value%4);  | 
                                                        |
| 752 | 752 | }  | 
                                                        
| 753 | 753 | |
| 754 | 754 | /**  | 
                                                        
@@ -879,7 +879,7 @@ discard block  | 
                                                    ||
| 879 | 879 | ODataConstants::HTTPQUERY_STRING_EXPAND,  | 
                                                        
| 880 | 880 | ODataConstants::HTTPQUERY_STRING_ORDERBY,  | 
                                                        
| 881 | 881 | ODataConstants::HTTPQUERY_STRING_INLINECOUNT,  | 
                                                        
| 882 | -            ODataConstants::HTTPQUERY_STRING_SELECT,] as $queryOption) { | 
                                                        |
| 882 | +            ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) { | 
                                                        |
| 883 | 883 | $value = $this->getService()->getHost()->getQueryStringItem($queryOption);  | 
                                                        
| 884 | 884 |              if (null !== $value) { | 
                                                        
| 885 | 885 |                  if (null !== $queryParameterString) { |