Passed
Pull Request — master (#66)
by Alex
03:12
created
src/Util/XmlCharType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
             return;
310 310
         }
311 311
         if (file_exists('XmlCharType.bin')) {
312
-            $file                   = fopen('XmlCharType.bin', 'rb');
312
+            $file = fopen('XmlCharType.bin', 'rb');
313 313
             if (is_resource($file)) {
314 314
                 self::$m_CharProperties = fopen('php://memory', 'w+b');
315 315
                 stream_copy_to_stream($file, self::$m_CharProperties);
@@ -334,9 +334,9 @@  discard block
 block discarded – undo
334 334
     private static function setProperties(string $ranges, int $value): void
335 335
     {
336 336
         assert(mb_strlen($ranges, 'UTF-8') % 2 === 0);
337
-        for ($p = 0; $p < mb_strlen($ranges, 'UTF-8'); $p +=2) {
337
+        for ($p = 0; $p < mb_strlen($ranges, 'UTF-8'); $p += 2) {
338 338
             $str1 = mb_substr($ranges, $p, 1, 'UTF-8');
339
-            $str2 = mb_substr($ranges, $p+1, 1, 'UTF-8');
339
+            $str2 = mb_substr($ranges, $p + 1, 1, 'UTF-8');
340 340
             for ($i = mb_ord($str1),
341 341
                  $last = mb_ord($str2); $i <= $last; $i++) {
342 342
                 if (!isset(self::$s_CharProperties[$i])) {
Please login to merge, or discard this patch.