Test Failed
Push — master ( a4d647...9c4c4b )
by Bálint
07:48
created
src/POData/UriProcessor/QueryProcessor/ExpressionParser/ExpressionToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,6 +102,6 @@
 block discarded – undo
102 102
     public function identifierIs($id)
103 103
     {
104 104
         return $this->Id == ExpressionTokenId::IDENTIFIER 
105
-            && strcmp($this->Text, (string)$id) == 0;
105
+            && strcmp($this->Text, (string) $id) == 0;
106 106
     }
107 107
 }
108 108
\ No newline at end of file
Please login to merge, or discard this patch.
src/POData/ObjectModel/ObjectModelSerializer.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -850,7 +850,7 @@
 block discarded – undo
850 850
             $stringValue = $primitiveValue->format(\DateTime::ATOM);
851 851
         } else if ($type instanceof StringType && $primitiveValue instanceof \DateInterval) {
852 852
             $stringValue = (($primitiveValue->d * 86400) + ($primitiveValue->h * 3600) + ($primitiveValue->i * 60) + $primitiveValue->s) * 1000;
853
-           // $stringValue = intval($primitiveValue->format('%s'))*1000; // Miliszekundumokkáé
853
+            // $stringValue = intval($primitiveValue->format('%s'))*1000; // Miliszekundumokkáé
854 854
         } else if ($type instanceof StringType) {
855 855
             $stringValue = mb_convert_encoding($primitiveValue, 'UTF-8');
856 856
         } else {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -849,7 +849,7 @@
 block discarded – undo
849 849
         } else if (($type instanceof DateTime || $type instanceof StringType) && $primitiveValue instanceof \DateTime) {
850 850
             $stringValue = $primitiveValue->format(\DateTime::ATOM);
851 851
         } else if ($type instanceof StringType && $primitiveValue instanceof \DateInterval) {
852
-            $stringValue = (($primitiveValue->d * 86400) + ($primitiveValue->h * 3600) + ($primitiveValue->i * 60) + $primitiveValue->s) * 1000;
852
+            $stringValue = (($primitiveValue->d*86400) + ($primitiveValue->h*3600) + ($primitiveValue->i*60) + $primitiveValue->s)*1000;
853 853
            // $stringValue = intval($primitiveValue->format('%s'))*1000; // Miliszekundumokkáé
854 854
         } else if ($type instanceof StringType) {
855 855
             $stringValue = mb_convert_encoding($primitiveValue, 'UTF-8');
Please login to merge, or discard this patch.
src/POData/Writers/Json/JsonLightODataWriter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -281,14 +281,14 @@
 block discarded – undo
281 281
     protected function writeNextPageLink(ODataLink $nextPageLinkUri = null)
282 282
     {
283 283
         
284
-		// "__next" : uri
285
-		if ($nextPageLinkUri != null) {
286
-			$this->_writer
287
-				->writeName(ODataConstants::JSON_NEXT_STRING)
288
-				->writeValue($nextPageLinkUri->url);
289
-		}
290
-
291
-		return $this;
284
+        // "__next" : uri
285
+        if ($nextPageLinkUri != null) {
286
+            $this->_writer
287
+                ->writeName(ODataConstants::JSON_NEXT_STRING)
288
+                ->writeValue($nextPageLinkUri->url);
289
+        }
290
+
291
+        return $this;
292 292
 		
293 293
     }
294 294
 
Please login to merge, or discard this patch.