Passed
Pull Request — master (#269)
by Christopher
03:49
created
src/POData/Readers/Atom/Processors/FeedProcessor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             ODataConstants::ATOM_LINK_RELATION_ATTRIBUTE_NAME,
85 85
             ''
86 86
         );
87
-        $prop                     = $rel === ODataConstants::ATOM_SELF_RELATION_ATTRIBUTE_VALUE ? 'setSelfLink' : 'setNextPageLink';
87
+        $prop = $rel === ODataConstants::ATOM_SELF_RELATION_ATTRIBUTE_VALUE ? 'setSelfLink' : 'setNextPageLink';
88 88
         $this->oDataFeed->{$prop}(new ODataLink(
89 89
             $this->arrayKeyOrDefault($attributes, ODataConstants::ATOM_LINK_RELATION_ATTRIBUTE_NAME, ''),
90 90
             $this->arrayKeyOrDefault($attributes, ODataConstants::ATOM_TITLE_ELELMET_NAME, ''),
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/POData/ObjectModel/ODataFeed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     {
44 44
         parent::__construct($id, $title, $selfLink, $updated, $baseURI);
45 45
         $this->setNextPageLink($nextPageLink)->setEntries($entries);
46
-        $this->rowCount     = $rowCount;
46
+        $this->rowCount = $rowCount;
47 47
     }
48 48
 
49 49
     /**
Please login to merge, or discard this patch.
src/POData/ObjectModel/CynicSerialiser.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         $relativeUri = $this->getRequest()->getIdentifier();
143 143
         $absoluteUri = $this->getRequest()->getRequestUrl()->getUrlAsString();
144 144
 
145
-        $selfLink        = new ODataLink('self', $title, null, $relativeUri);
145
+        $selfLink = new ODataLink('self', $title, null, $relativeUri);
146 146
 
147 147
         $odata               = new ODataFeed();
148 148
         $odata->title        = new ODataTitle($title);
@@ -743,7 +743,7 @@  discard block
 block discarded – undo
743 743
             return false;
744 744
         }
745 745
 
746
-        return 0 == ($value % 4);
746
+        return 0 == ($value%4);
747 747
     }
748 748
 
749 749
     /**
@@ -816,7 +816,7 @@  discard block
 block discarded – undo
816 816
                 $result                  = new ODataEntry();
817 817
                 $result->resourceSetName = $type->getName();
818 818
             } else {
819
-                $result                 = new ODataFeed();
819
+                $result = new ODataFeed();
820 820
                 $result->setSelfLink(new ODataLink(ODataConstants::ATOM_SELF_RELATION_ATTRIBUTE_VALUE));
821 821
             }
822 822
             $nuLink->setExpandedResult(new ODataExpandedResult($result));
@@ -873,7 +873,7 @@  discard block
 block discarded – undo
873 873
             ODataConstants::HTTPQUERY_STRING_EXPAND,
874 874
             ODataConstants::HTTPQUERY_STRING_ORDERBY,
875 875
             ODataConstants::HTTPQUERY_STRING_INLINECOUNT,
876
-            ODataConstants::HTTPQUERY_STRING_SELECT,] as $queryOption) {
876
+            ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) {
877 877
             $value = $this->getService()->getHost()->getQueryStringItem($queryOption);
878 878
             if (null !== $value) {
879 879
                 if (null !== $queryParameterString) {
Please login to merge, or discard this patch.
src/POData/ObjectModel/CynicDeserialiser.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
             $hasExpanded = null !== $link->getExpandedResult();
92 92
 
93 93
             $isEntry = ($link->getExpandedResult() ? $link->getExpandedResult()->getData() : null)
94
-                       instanceof ODataEntry;
94
+                        instanceof ODataEntry;
95 95
 
96 96
             if ($hasExpanded) {
97 97
                 if ($isEntry) {
Please login to merge, or discard this patch.