Passed
Push — master ( 2d4bff...43944f )
by Lars
03:45
created
src/voku/helper/UTF8.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -573,16 +573,16 @@  discard block
 block discarded – undo
573 573
             $chr = self::$CHR[$code_point];
574 574
         } elseif ($code_point <= 0x7FF) {
575 575
             $chr = self::$CHR[($code_point >> 6) + 0xC0] .
576
-                   self::$CHR[($code_point & 0x3F) + 0x80];
576
+                    self::$CHR[($code_point & 0x3F) + 0x80];
577 577
         } elseif ($code_point <= 0xFFFF) {
578 578
             $chr = self::$CHR[($code_point >> 12) + 0xE0] .
579
-                   self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
580
-                   self::$CHR[($code_point & 0x3F) + 0x80];
579
+                    self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
580
+                    self::$CHR[($code_point & 0x3F) + 0x80];
581 581
         } else {
582 582
             $chr = self::$CHR[($code_point >> 18) + 0xF0] .
583
-                   self::$CHR[(($code_point >> 12) & 0x3F) + 0x80] .
584
-                   self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
585
-                   self::$CHR[($code_point & 0x3F) + 0x80];
583
+                    self::$CHR[(($code_point >> 12) & 0x3F) + 0x80] .
584
+                    self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
585
+                    self::$CHR[($code_point & 0x3F) + 0x80];
586 586
         }
587 587
 
588 588
         if ($encoding !== 'UTF-8') {
@@ -3189,10 +3189,10 @@  discard block
 block discarded – undo
3189 3189
 
3190 3190
         /** @noinspection PhpComposerExtensionStubsInspection */
3191 3191
         return (
3192
-                   \is_object($json) === true
3192
+                    \is_object($json) === true
3193 3193
                    ||
3194 3194
                    \is_array($json) === true
3195
-               )
3195
+                )
3196 3196
                &&
3197 3197
                \json_last_error() === \JSON_ERROR_NONE;
3198 3198
     }
Please login to merge, or discard this patch.