Passed
Push — master ( a41c45...2e9f0d )
by Lars
03:03
created
src/voku/helper/UTF8.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -559,16 +559,16 @@  discard block
 block discarded – undo
559 559
       $chr = self::$CHR[$code_point];
560 560
     } elseif ($code_point <= 0x7FF) {
561 561
       $chr = self::$CHR[($code_point >> 6) + 0xC0] .
562
-             self::$CHR[($code_point & 0x3F) + 0x80];
562
+              self::$CHR[($code_point & 0x3F) + 0x80];
563 563
     } elseif ($code_point <= 0xFFFF) {
564 564
       $chr = self::$CHR[($code_point >> 12) + 0xE0] .
565
-             self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
566
-             self::$CHR[($code_point & 0x3F) + 0x80];
565
+              self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
566
+              self::$CHR[($code_point & 0x3F) + 0x80];
567 567
     } else {
568 568
       $chr = self::$CHR[($code_point >> 18) + 0xF0] .
569
-             self::$CHR[(($code_point >> 12) & 0x3F) + 0x80] .
570
-             self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
571
-             self::$CHR[($code_point & 0x3F) + 0x80];
569
+              self::$CHR[(($code_point >> 12) & 0x3F) + 0x80] .
570
+              self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
571
+              self::$CHR[($code_point & 0x3F) + 0x80];
572 572
     }
573 573
 
574 574
     if ($encoding !== 'UTF-8') {
@@ -2875,10 +2875,10 @@  discard block
 block discarded – undo
2875 2875
 
2876 2876
     /** @noinspection PhpComposerExtensionStubsInspection */
2877 2877
     return (
2878
-               \is_object($json) === true
2878
+                \is_object($json) === true
2879 2879
                ||
2880 2880
                \is_array($json) === true
2881
-           )
2881
+            )
2882 2882
            &&
2883 2883
            \json_last_error() === JSON_ERROR_NONE;
2884 2884
   }
Please login to merge, or discard this patch.