Passed
Pull Request — master (#118)
by Christopher
03:25
created
src/POData/OperationContext/Web/IncomingRequest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
             }
133 133
 
134 134
             $this->rawUrl .= '://' .
135
-                              $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)];
135
+                                $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)];
136 136
             $this->rawUrl .= utf8_decode(urldecode($_SERVER[ODataConstants::HTTPREQUEST_URI]));
137 137
         }
138 138
 
Please login to merge, or discard this patch.
src/POData/ObjectModel/ObjectModelSerializerBase.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -469,7 +469,7 @@
 block discarded – undo
469 469
                     ODataConstants::HTTPQUERY_STRING_ORDERBY,
470 470
                     ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
471 471
                     ODataConstants::HTTPQUERY_STRING_SELECT
472
-                 ] as $queryOption) {
472
+                    ] as $queryOption) {
473 473
             $value = $this->getService()->getHost()->getQueryStringItem($queryOption);
474 474
             if (!is_null($value)) {
475 475
                 if (!is_null($queryParameterString)) {
Please login to merge, or discard this patch.
src/POData/ObjectModel/ObjectModelSerializer.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -430,7 +430,8 @@
 block discarded – undo
430 430
                 $resourceTypeKind,
431 431
                 $navigationProperties
432 432
             );
433
-        } else { //This is the code path to handle projected properties of Entry
433
+        } else {
434
+//This is the code path to handle projected properties of Entry
434 435
             list($odataPropertyContent, $navigationProperties) = $this->writeObjectPropertiesExpanded(
435 436
                 $customObject,
436 437
                 $resourceType,
Please login to merge, or discard this patch.
src/POData/Writers/Atom/AtomODataWriter.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -570,7 +570,8 @@
 block discarded – undo
570 570
                 );
571 571
                 $this->writeProperties($content);
572 572
                 $this->xmlWriter->endElement();
573
-            } else {  //probably just a primitive string
573
+            } else {
574
+//probably just a primitive string
574 575
                     $this->xmlWriter->startElementNs(
575 576
                         ODataConstants::ODATA_NAMESPACE_PREFIX,
576 577
                         ODataConstants::COLLECTION_ELEMENT_NAME,
Please login to merge, or discard this patch.
src/POData/Common/Url.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,8 @@
 block discarded – undo
28 28
                 throw new UrlFormatException(Messages::urlMalformedUrl($url));
29 29
             }
30 30
         } else {
31
-            if (!preg_match(self::REL_URL_REGEXP, $url)) { //TODO: this matches EVERYTHING!!! what's the intent here? see #77
31
+            if (!preg_match(self::REL_URL_REGEXP, $url)) {
32
+//TODO: this matches EVERYTHING!!! what's the intent here? see #77
32 33
                 throw new UrlFormatException(Messages::urlMalformedUrl($url));
33 34
             }
34 35
         }
Please login to merge, or discard this patch.