Passed
Push — master ( a43ca2...013302 )
by Robin
02:19
created
programs/vendor/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     if (!headers_sent()) {
7 7
         header('HTTP/1.1 500 Internal Server Error');
8 8
     }
9
-    $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
9
+    $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running ' . PHP_VERSION . ', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.' . PHP_EOL;
10 10
     if (!ini_get('display_errors')) {
11 11
         if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
12 12
             fwrite(STDERR, $err);
Please login to merge, or discard this patch.
programs/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-return array (
3
+return array(
4 4
   'a' => 'A',
5 5
   'b' => 'B',
6 6
   'c' => 'C',
Please login to merge, or discard this patch.
programs/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-return array (
3
+return array(
4 4
   'A' => 'a',
5 5
   'B' => 'b',
6 6
   'C' => 'c',
Please login to merge, or discard this patch.
programs/vendor/symfony/polyfill-mbstring/bootstrap80.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 use Symfony\Polyfill\Mbstring as p;
13 13
 
14 14
 if (!function_exists('mb_convert_encoding')) {
15
-    function mb_convert_encoding(array|string|null $string, ?string $to_encoding, array|string|null $from_encoding = null): array|string|false { return p\Mbstring::mb_convert_encoding($string ?? '', (string) $to_encoding, $from_encoding); }
15
+    function mb_convert_encoding(array | string | null $string, ?string $to_encoding, array | string | null $from_encoding = null): array | string | false { return p\Mbstring::mb_convert_encoding($string ?? '', (string) $to_encoding, $from_encoding); }
16 16
 }
17 17
 if (!function_exists('mb_decode_mimeheader')) {
18 18
     function mb_decode_mimeheader(?string $string): string { return p\Mbstring::mb_decode_mimeheader((string) $string); }
@@ -30,10 +30,10 @@  discard block
 block discarded – undo
30 30
     function mb_convert_case(?string $string, ?int $mode, ?string $encoding = null): string { return p\Mbstring::mb_convert_case((string) $string, (int) $mode, $encoding); }
31 31
 }
32 32
 if (!function_exists('mb_internal_encoding')) {
33
-    function mb_internal_encoding(?string $encoding = null): string|bool { return p\Mbstring::mb_internal_encoding($encoding); }
33
+    function mb_internal_encoding(?string $encoding = null): string | bool { return p\Mbstring::mb_internal_encoding($encoding); }
34 34
 }
35 35
 if (!function_exists('mb_language')) {
36
-    function mb_language(?string $language = null): string|bool { return p\Mbstring::mb_language($language); }
36
+    function mb_language(?string $language = null): string | bool { return p\Mbstring::mb_language($language); }
37 37
 }
38 38
 if (!function_exists('mb_list_encodings')) {
39 39
     function mb_list_encodings(): array { return p\Mbstring::mb_list_encodings(); }
@@ -42,13 +42,13 @@  discard block
 block discarded – undo
42 42
     function mb_encoding_aliases(?string $encoding): array { return p\Mbstring::mb_encoding_aliases((string) $encoding); }
43 43
 }
44 44
 if (!function_exists('mb_check_encoding')) {
45
-    function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool { return p\Mbstring::mb_check_encoding($value, $encoding); }
45
+    function mb_check_encoding(array | string | null $value = null, ?string $encoding = null): bool { return p\Mbstring::mb_check_encoding($value, $encoding); }
46 46
 }
47 47
 if (!function_exists('mb_detect_encoding')) {
48
-    function mb_detect_encoding(?string $string, array|string|null $encodings = null, ?bool $strict = false): string|false { return p\Mbstring::mb_detect_encoding((string) $string, $encodings, (bool) $strict); }
48
+    function mb_detect_encoding(?string $string, array | string | null $encodings = null, ?bool $strict = false): string | false { return p\Mbstring::mb_detect_encoding((string) $string, $encodings, (bool) $strict); }
49 49
 }
50 50
 if (!function_exists('mb_detect_order')) {
51
-    function mb_detect_order(array|string|null $encoding = null): array|bool { return p\Mbstring::mb_detect_order($encoding); }
51
+    function mb_detect_order(array | string | null $encoding = null): array | bool { return p\Mbstring::mb_detect_order($encoding); }
52 52
 }
53 53
 if (!function_exists('mb_parse_str')) {
54 54
     function mb_parse_str(?string $string, &$result = []): bool { parse_str((string) $string, $result); return (bool) $result; }
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     function mb_strlen(?string $string, ?string $encoding = null): int { return p\Mbstring::mb_strlen((string) $string, $encoding); }
58 58
 }
59 59
 if (!function_exists('mb_strpos')) {
60
-    function mb_strpos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_strpos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
60
+    function mb_strpos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int | false { return p\Mbstring::mb_strpos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
61 61
 }
62 62
 if (!function_exists('mb_strtolower')) {
63 63
     function mb_strtolower(?string $string, ?string $encoding = null): string { return p\Mbstring::mb_strtolower((string) $string, $encoding); }
@@ -66,37 +66,37 @@  discard block
 block discarded – undo
66 66
     function mb_strtoupper(?string $string, ?string $encoding = null): string { return p\Mbstring::mb_strtoupper((string) $string, $encoding); }
67 67
 }
68 68
 if (!function_exists('mb_substitute_character')) {
69
-    function mb_substitute_character(string|int|null $substitute_character = null): string|int|bool { return p\Mbstring::mb_substitute_character($substitute_character); }
69
+    function mb_substitute_character(string | int | null $substitute_character = null): string | int | bool { return p\Mbstring::mb_substitute_character($substitute_character); }
70 70
 }
71 71
 if (!function_exists('mb_substr')) {
72 72
     function mb_substr(?string $string, ?int $start, ?int $length = null, ?string $encoding = null): string { return p\Mbstring::mb_substr((string) $string, (int) $start, $length, $encoding); }
73 73
 }
74 74
 if (!function_exists('mb_stripos')) {
75
-    function mb_stripos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_stripos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
75
+    function mb_stripos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int | false { return p\Mbstring::mb_stripos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
76 76
 }
77 77
 if (!function_exists('mb_stristr')) {
78
-    function mb_stristr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_stristr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
78
+    function mb_stristr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string | false { return p\Mbstring::mb_stristr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
79 79
 }
80 80
 if (!function_exists('mb_strrchr')) {
81
-    function mb_strrchr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_strrchr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
81
+    function mb_strrchr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string | false { return p\Mbstring::mb_strrchr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
82 82
 }
83 83
 if (!function_exists('mb_strrichr')) {
84
-    function mb_strrichr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_strrichr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
84
+    function mb_strrichr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string | false { return p\Mbstring::mb_strrichr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
85 85
 }
86 86
 if (!function_exists('mb_strripos')) {
87
-    function mb_strripos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_strripos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
87
+    function mb_strripos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int | false { return p\Mbstring::mb_strripos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
88 88
 }
89 89
 if (!function_exists('mb_strrpos')) {
90
-    function mb_strrpos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_strrpos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
90
+    function mb_strrpos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int | false { return p\Mbstring::mb_strrpos((string) $haystack, (string) $needle, (int) $offset, $encoding); }
91 91
 }
92 92
 if (!function_exists('mb_strstr')) {
93
-    function mb_strstr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_strstr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
93
+    function mb_strstr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string | false { return p\Mbstring::mb_strstr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); }
94 94
 }
95 95
 if (!function_exists('mb_get_info')) {
96
-    function mb_get_info(?string $type = 'all'): array|string|int|false { return p\Mbstring::mb_get_info((string) $type); }
96
+    function mb_get_info(?string $type = 'all'): array | string | int | false { return p\Mbstring::mb_get_info((string) $type); }
97 97
 }
98 98
 if (!function_exists('mb_http_output')) {
99
-    function mb_http_output(?string $encoding = null): string|bool { return p\Mbstring::mb_http_output($encoding); }
99
+    function mb_http_output(?string $encoding = null): string | bool { return p\Mbstring::mb_http_output($encoding); }
100 100
 }
101 101
 if (!function_exists('mb_strwidth')) {
102 102
     function mb_strwidth(?string $string, ?string $encoding = null): int { return p\Mbstring::mb_strwidth((string) $string, $encoding); }
@@ -108,18 +108,18 @@  discard block
 block discarded – undo
108 108
     function mb_output_handler(?string $string, ?int $status): string { return p\Mbstring::mb_output_handler((string) $string, (int) $status); }
109 109
 }
110 110
 if (!function_exists('mb_http_input')) {
111
-    function mb_http_input(?string $type = null): array|string|false { return p\Mbstring::mb_http_input($type); }
111
+    function mb_http_input(?string $type = null): array | string | false { return p\Mbstring::mb_http_input($type); }
112 112
 }
113 113
 
114 114
 if (!function_exists('mb_convert_variables')) {
115
-    function mb_convert_variables(?string $to_encoding, array|string|null $from_encoding, mixed &$var, mixed &...$vars): string|false { return p\Mbstring::mb_convert_variables((string) $to_encoding, $from_encoding ?? '', $var, ...$vars); }
115
+    function mb_convert_variables(?string $to_encoding, array | string | null $from_encoding, mixed &$var, mixed &...$vars): string | false { return p\Mbstring::mb_convert_variables((string) $to_encoding, $from_encoding ?? '', $var, ...$vars); }
116 116
 }
117 117
 
118 118
 if (!function_exists('mb_ord')) {
119
-    function mb_ord(?string $string, ?string $encoding = null): int|false { return p\Mbstring::mb_ord((string) $string, $encoding); }
119
+    function mb_ord(?string $string, ?string $encoding = null): int | false { return p\Mbstring::mb_ord((string) $string, $encoding); }
120 120
 }
121 121
 if (!function_exists('mb_chr')) {
122
-    function mb_chr(?int $codepoint, ?string $encoding = null): string|false { return p\Mbstring::mb_chr((int) $codepoint, $encoding); }
122
+    function mb_chr(?int $codepoint, ?string $encoding = null): string | false { return p\Mbstring::mb_chr((int) $codepoint, $encoding); }
123 123
 }
124 124
 if (!function_exists('mb_scrub')) {
125 125
     function mb_scrub(?string $string, ?string $encoding = null): string { $encoding ??= mb_internal_encoding(); return mb_convert_encoding((string) $string, $encoding, $encoding); }
Please login to merge, or discard this patch.
programs/vendor/symfony/polyfill-mbstring/Mbstring.php 1 patch
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
     private const CASE_FOLD = [
73 73
         ['µ', 'ſ', "\xCD\x85", 'ς', "\xCF\x90", "\xCF\x91", "\xCF\x95", "\xCF\x96", "\xCF\xB0", "\xCF\xB1", "\xCF\xB5", "\xE1\xBA\x9B", "\xE1\xBE\xBE"],
74
-        ['μ', 's', 'ι',        'σ', 'β',        'θ',        'φ',        'π',        'κ',        'ρ',        'ε',        "\xE1\xB9\xA1", 'ι'],
74
+        ['μ', 's', 'ι', 'σ', 'β', 'θ', 'φ', 'π', 'κ', 'ρ', 'ε', "\xE1\xB9\xA1", 'ι'],
75 75
     ];
76 76
 
77 77
     private static $encodingList = ['ASCII', 'UTF-8'];
@@ -113,13 +113,13 @@  discard block
 block discarded – undo
113 113
             $fromEncoding = 'UTF-8';
114 114
         }
115 115
 
116
-        return iconv($fromEncoding, $toEncoding.'//IGNORE', $s);
116
+        return iconv($fromEncoding, $toEncoding . '//IGNORE', $s);
117 117
     }
118 118
 
119 119
     public static function mb_convert_variables($toEncoding, $fromEncoding, &...$vars)
120 120
     {
121 121
         $ok = true;
122
-        array_walk_recursive($vars, function (&$v) use (&$ok, $toEncoding, $fromEncoding) {
122
+        array_walk_recursive($vars, function(&$v) use (&$ok, $toEncoding, $fromEncoding) {
123 123
             if (false === $v = self::mb_convert_encoding($v, $toEncoding, $fromEncoding)) {
124 124
                 $ok = false;
125 125
             }
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     public static function mb_decode_numericentity($s, $convmap, $encoding = null)
142 142
     {
143 143
         if (null !== $s && !\is_scalar($s) && !(\is_object($s) && method_exists($s, '__toString'))) {
144
-            trigger_error('mb_decode_numericentity() expects parameter 1 to be string, '.\gettype($s).' given', \E_USER_WARNING);
144
+            trigger_error('mb_decode_numericentity() expects parameter 1 to be string, ' . \gettype($s) . ' given', \E_USER_WARNING);
145 145
 
146 146
             return null;
147 147
         }
@@ -151,9 +151,9 @@  discard block
 block discarded – undo
151 151
         }
152 152
 
153 153
         if (null !== $encoding && !\is_scalar($encoding)) {
154
-            trigger_error('mb_decode_numericentity() expects parameter 3 to be string, '.\gettype($s).' given', \E_USER_WARNING);
154
+            trigger_error('mb_decode_numericentity() expects parameter 3 to be string, ' . \gettype($s) . ' given', \E_USER_WARNING);
155 155
 
156
-            return '';  // Instead of null (cf. mb_encode_numericentity).
156
+            return ''; // Instead of null (cf. mb_encode_numericentity).
157 157
         }
158 158
 
159 159
         $s = (string) $s;
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
             $convmap[$i + 1] += $convmap[$i + 2];
181 181
         }
182 182
 
183
-        $s = preg_replace_callback('/&#(?:0*([0-9]+)|x0*([0-9a-fA-F]+))(?!&);?/', function (array $m) use ($cnt, $convmap) {
183
+        $s = preg_replace_callback('/&#(?:0*([0-9]+)|x0*([0-9a-fA-F]+))(?!&);?/', function(array $m) use ($cnt, $convmap) {
184 184
             $c = isset($m[2]) ? (int) hexdec($m[2]) : $m[1];
185 185
             for ($i = 0; $i < $cnt; $i += 4) {
186 186
                 if ($c >= $convmap[$i] && $c <= $convmap[$i + 1]) {
@@ -195,13 +195,13 @@  discard block
 block discarded – undo
195 195
             return $s;
196 196
         }
197 197
 
198
-        return iconv('UTF-8', $encoding.'//IGNORE', $s);
198
+        return iconv('UTF-8', $encoding . '//IGNORE', $s);
199 199
     }
200 200
 
201 201
     public static function mb_encode_numericentity($s, $convmap, $encoding = null, $is_hex = false)
202 202
     {
203 203
         if (null !== $s && !\is_scalar($s) && !(\is_object($s) && method_exists($s, '__toString'))) {
204
-            trigger_error('mb_encode_numericentity() expects parameter 1 to be string, '.\gettype($s).' given', \E_USER_WARNING);
204
+            trigger_error('mb_encode_numericentity() expects parameter 1 to be string, ' . \gettype($s) . ' given', \E_USER_WARNING);
205 205
 
206 206
             return null;
207 207
         }
@@ -211,13 +211,13 @@  discard block
 block discarded – undo
211 211
         }
212 212
 
213 213
         if (null !== $encoding && !\is_scalar($encoding)) {
214
-            trigger_error('mb_encode_numericentity() expects parameter 3 to be string, '.\gettype($s).' given', \E_USER_WARNING);
214
+            trigger_error('mb_encode_numericentity() expects parameter 3 to be string, ' . \gettype($s) . ' given', \E_USER_WARNING);
215 215
 
216
-            return null;  // Instead of '' (cf. mb_decode_numericentity).
216
+            return null; // Instead of '' (cf. mb_decode_numericentity).
217 217
         }
218 218
 
219 219
         if (null !== $is_hex && !\is_scalar($is_hex)) {
220
-            trigger_error('mb_encode_numericentity() expects parameter 4 to be boolean, '.\gettype($s).' given', \E_USER_WARNING);
220
+            trigger_error('mb_encode_numericentity() expects parameter 4 to be boolean, ' . \gettype($s) . ' given', \E_USER_WARNING);
221 221
 
222 222
             return null;
223 223
         }
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
             for ($j = 0; $j < $cnt; $j += 4) {
255 255
                 if ($c >= $convmap[$j] && $c <= $convmap[$j + 1]) {
256 256
                     $cOffset = ($c + $convmap[$j + 2]) & $convmap[$j + 3];
257
-                    $result .= $is_hex ? sprintf('&#x%X;', $cOffset) : '&#'.$cOffset.';';
257
+                    $result .= $is_hex ? sprintf('&#x%X;', $cOffset) : '&#' . $cOffset . ';';
258 258
                     continue 2;
259 259
                 }
260 260
             }
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
             return $result;
266 266
         }
267 267
 
268
-        return iconv('UTF-8', $encoding.'//IGNORE', $result);
268
+        return iconv('UTF-8', $encoding . '//IGNORE', $result);
269 269
     }
270 270
 
271 271
     public static function mb_convert_case($s, $mode, $encoding = null)
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
             return $s;
344 344
         }
345 345
 
346
-        return iconv('UTF-8', $encoding.'//IGNORE', $s);
346
+        return iconv('UTF-8', $encoding . '//IGNORE', $s);
347 347
     }
348 348
 
349 349
     public static function mb_internal_encoding($encoding = null)
@@ -501,7 +501,7 @@  discard block
 block discarded – undo
501 501
         $needle = (string) $needle;
502 502
         if ('' === $needle) {
503 503
             if (80000 > \PHP_VERSION_ID) {
504
-                trigger_error(__METHOD__.': Empty delimiter', \E_USER_WARNING);
504
+                trigger_error(__METHOD__ . ': Empty delimiter', \E_USER_WARNING);
505 505
 
506 506
                 return false;
507 507
             }
@@ -542,7 +542,7 @@  discard block
 block discarded – undo
542 542
     public static function mb_str_split($string, $split_length = 1, $encoding = null)
543 543
     {
544 544
         if (null !== $string && !\is_scalar($string) && !(\is_object($string) && method_exists($string, '__toString'))) {
545
-            trigger_error('mb_str_split() expects parameter 1 to be string, '.\gettype($string).' given', \E_USER_WARNING);
545
+            trigger_error('mb_str_split() expects parameter 1 to be string, ' . \gettype($string) . ' given', \E_USER_WARNING);
546 546
 
547 547
             return null;
548 548
         }
@@ -567,7 +567,7 @@  discard block
 block discarded – undo
567 567
                 $rx .= '.{65535}';
568 568
                 $split_length -= 65535;
569 569
             }
570
-            $rx .= '.{'.$split_length.'})/us';
570
+            $rx .= '.{' . $split_length . '})/us';
571 571
 
572 572
             return preg_split($rx, $string, -1, \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY);
573 573
         }
@@ -760,11 +760,11 @@  discard block
 block discarded – undo
760 760
         if (0x80 > $code %= 0x200000) {
761 761
             $s = \chr($code);
762 762
         } elseif (0x800 > $code) {
763
-            $s = \chr(0xC0 | $code >> 6).\chr(0x80 | $code & 0x3F);
763
+            $s = \chr(0xC0 | $code >> 6) . \chr(0x80 | $code & 0x3F);
764 764
         } elseif (0x10000 > $code) {
765
-            $s = \chr(0xE0 | $code >> 12).\chr(0x80 | $code >> 6 & 0x3F).\chr(0x80 | $code & 0x3F);
765
+            $s = \chr(0xE0 | $code >> 12) . \chr(0x80 | $code >> 6 & 0x3F) . \chr(0x80 | $code & 0x3F);
766 766
         } else {
767
-            $s = \chr(0xF0 | $code >> 18).\chr(0x80 | $code >> 12 & 0x3F).\chr(0x80 | $code >> 6 & 0x3F).\chr(0x80 | $code & 0x3F);
767
+            $s = \chr(0xF0 | $code >> 18) . \chr(0x80 | $code >> 12 & 0x3F) . \chr(0x80 | $code >> 6 & 0x3F) . \chr(0x80 | $code & 0x3F);
768 768
         }
769 769
 
770 770
         if ('UTF-8' !== $encoding = self::getEncoding($encoding)) {
@@ -829,7 +829,7 @@  discard block
 block discarded – undo
829 829
                 $c = (($m[$i++] - 0xC0) << 6) + $m[$i++] - 0x80;
830 830
             }
831 831
 
832
-            $entities .= '&#'.$c.';';
832
+            $entities .= '&#' . $c . ';';
833 833
         }
834 834
 
835 835
         return $entities;
@@ -837,12 +837,12 @@  discard block
 block discarded – undo
837 837
 
838 838
     private static function title_case(array $s)
839 839
     {
840
-        return self::mb_convert_case($s[1], \MB_CASE_UPPER, 'UTF-8').self::mb_convert_case($s[2], \MB_CASE_LOWER, 'UTF-8');
840
+        return self::mb_convert_case($s[1], \MB_CASE_UPPER, 'UTF-8') . self::mb_convert_case($s[2], \MB_CASE_LOWER, 'UTF-8');
841 841
     }
842 842
 
843 843
     private static function getData($file)
844 844
     {
845
-        if (file_exists($file = __DIR__.'/Resources/unidata/'.$file.'.php')) {
845
+        if (file_exists($file = __DIR__ . '/Resources/unidata/' . $file . '.php')) {
846 846
             return require $file;
847 847
         }
848 848
 
Please login to merge, or discard this patch.
programs/vendor/symfony/polyfill-mbstring/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 use Symfony\Polyfill\Mbstring as p;
13 13
 
14 14
 if (\PHP_VERSION_ID >= 80000) {
15
-    return require __DIR__.'/bootstrap80.php';
15
+    return require __DIR__ . '/bootstrap80.php';
16 16
 }
17 17
 
18 18
 if (!function_exists('mb_convert_encoding')) {
Please login to merge, or discard this patch.
programs/vendor/composer/platform_check.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
     }
15 15
     if (!ini_get('display_errors')) {
16 16
         if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
17
-            fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
17
+            fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL . PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL . PHP_EOL);
18 18
         } elseif (!headers_sent()) {
19
-            echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
19
+            echo 'Composer detected issues in your platform:' . PHP_EOL . PHP_EOL . str_replace('You are running ' . PHP_VERSION . '.', '', implode(PHP_EOL, $issues)) . PHP_EOL . PHP_EOL;
20 20
         }
21 21
     }
22 22
     trigger_error(
Please login to merge, or discard this patch.
programs/vendor/composer/InstalledVersions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -327,9 +327,9 @@
 block discarded – undo
327 327
             foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
328 328
                 if (isset(self::$installedByVendor[$vendorDir])) {
329 329
                     $installed[] = self::$installedByVendor[$vendorDir];
330
-                } elseif (is_file($vendorDir.'/composer/installed.php')) {
331
-                    $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
332
-                    if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
330
+                } elseif (is_file($vendorDir . '/composer/installed.php')) {
331
+                    $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir . '/composer/installed.php';
332
+                    if (null === self::$installed && strtr($vendorDir . '/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
333 333
                         self::$installed = $installed[count($installed) - 1];
334 334
                     }
335 335
                 }
Please login to merge, or discard this patch.
programs/vendor/composer/autoload_static.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -6,47 +6,47 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInite51ffc086cc73a0e04fdd1790cb59b90
8 8
 {
9
-    public static $files = array (
9
+    public static $files = array(
10 10
         '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
11 11
     );
12 12
 
13
-    public static $prefixLengthsPsr4 = array (
13
+    public static $prefixLengthsPsr4 = array(
14 14
         'l' => 
15
-        array (
15
+        array(
16 16
             'libphonenumber\\' => 15,
17 17
         ),
18 18
         'S' => 
19
-        array (
19
+        array(
20 20
             'Symfony\\Polyfill\\Mbstring\\' => 26,
21 21
         ),
22 22
         'G' => 
23
-        array (
23
+        array(
24 24
             'Giggsey\\Locale\\' => 15,
25 25
         ),
26 26
     );
27 27
 
28
-    public static $prefixDirsPsr4 = array (
28
+    public static $prefixDirsPsr4 = array(
29 29
         'libphonenumber\\' => 
30
-        array (
30
+        array(
31 31
             0 => __DIR__ . '/..' . '/giggsey/libphonenumber-for-php/src',
32 32
         ),
33 33
         'Symfony\\Polyfill\\Mbstring\\' => 
34
-        array (
34
+        array(
35 35
             0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',
36 36
         ),
37 37
         'Giggsey\\Locale\\' => 
38
-        array (
38
+        array(
39 39
             0 => __DIR__ . '/..' . '/giggsey/locale/src',
40 40
         ),
41 41
     );
42 42
 
43
-    public static $classMap = array (
43
+    public static $classMap = array(
44 44
         'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
45 45
     );
46 46
 
47 47
     public static function getInitializer(ClassLoader $loader)
48 48
     {
49
-        return \Closure::bind(function () use ($loader) {
49
+        return \Closure::bind(function() use ($loader) {
50 50
             $loader->prefixLengthsPsr4 = ComposerStaticInite51ffc086cc73a0e04fdd1790cb59b90::$prefixLengthsPsr4;
51 51
             $loader->prefixDirsPsr4 = ComposerStaticInite51ffc086cc73a0e04fdd1790cb59b90::$prefixDirsPsr4;
52 52
             $loader->classMap = ComposerStaticInite51ffc086cc73a0e04fdd1790cb59b90::$classMap;
Please login to merge, or discard this patch.