GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 74c530...9db20b )
by Anton
09:59 queued 06:18
created
deps/vendor/symfony/polyfill-ctype/Ctype.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@
 block discarded – undo
220 220
         }
221 221
 
222 222
         if (\PHP_VERSION_ID >= 80100) {
223
-            @trigger_error($function.'(): Argument of type int will be interpreted as string in the future', \E_USER_DEPRECATED);
223
+            @trigger_error($function . '(): Argument of type int will be interpreted as string in the future', \E_USER_DEPRECATED);
224 224
         }
225 225
 
226 226
         if ($int < 0) {
Please login to merge, or discard this patch.
deps/vendor/symfony/polyfill-php73/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     function is_countable($value) { return is_array($value) || $value instanceof Countable || $value instanceof ResourceBundle || $value instanceof SimpleXmlElement; }
20 20
 }
21 21
 if (!function_exists('hrtime')) {
22
-    require_once __DIR__.'/Php73.php';
22
+    require_once __DIR__ . '/Php73.php';
23 23
     p\Php73::$startAt = (int) microtime(true);
24 24
     function hrtime($as_number = false) { return p\Php73::hrtime($as_number); }
25 25
 }
Please login to merge, or discard this patch.
deps/vendor/symfony/polyfill-php80/Php80.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             return $class;
55 55
         }
56 56
 
57
-        return (get_parent_class($class) ?: key(class_implements($class)) ?: 'class').'@anonymous';
57
+        return (get_parent_class($class) ?: key(class_implements($class)) ?: 'class') . '@anonymous';
58 58
     }
59 59
 
60 60
     public static function get_resource_id($res): int
Please login to merge, or discard this patch.
deps/vendor/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         public function __construct(string $data, string $postname, string $mime = 'application/octet-stream')
21 21
         {
22 22
             $this->data = $data;
23
-            parent::__construct('data://application/octet-stream;base64,'.base64_encode($data), $mime, $postname);
23
+            parent::__construct('data://application/octet-stream;base64,' . base64_encode($data), $mime, $postname);
24 24
         }
25 25
 
26 26
         public function __set(string $name, $value): void
@@ -32,10 +32,10 @@  discard block
 block discarded – undo
32 32
             }
33 33
 
34 34
             if (is_object($value) ? !method_exists($value, '__toString') : !is_scalar($value)) {
35
-                throw new TypeError('Cannot assign '.gettype($value).' to property CURLStringFile::$data of type string');
35
+                throw new TypeError('Cannot assign ' . gettype($value) . ' to property CURLStringFile::$data of type string');
36 36
             }
37 37
 
38
-            $this->name = 'data://application/octet-stream;base64,'.base64_encode($value);
38
+            $this->name = 'data://application/octet-stream;base64,' . base64_encode($value);
39 39
         }
40 40
 
41 41
         public function __isset(string $name): bool
Please login to merge, or discard this patch.
deps/vendor/symfony/polyfill-intl-grapheme/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 }
17 17
 
18 18
 if (\PHP_VERSION_ID >= 80000) {
19
-    return require __DIR__.'/bootstrap80.php';
19
+    return require __DIR__ . '/bootstrap80.php';
20 20
 }
21 21
 
22 22
 if (!defined('GRAPHEME_EXTR_COUNT')) {
Please login to merge, or discard this patch.
deps/vendor/symfony/polyfill-intl-grapheme/bootstrap80.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -22,29 +22,29 @@
 block discarded – undo
22 22
 }
23 23
 
24 24
 if (!function_exists('grapheme_extract')) {
25
-    function grapheme_extract(?string $haystack, ?int $size, ?int $type = GRAPHEME_EXTR_COUNT, ?int $offset = 0, &$next = null): string|false { return p\Grapheme::grapheme_extract((string) $haystack, (int) $size, (int) $type, (int) $offset, $next); }
25
+    function grapheme_extract(?string $haystack, ?int $size, ?int $type = GRAPHEME_EXTR_COUNT, ?int $offset = 0, &$next = null): string | false { return p\Grapheme::grapheme_extract((string) $haystack, (int) $size, (int) $type, (int) $offset, $next); }
26 26
 }
27 27
 if (!function_exists('grapheme_stripos')) {
28
-    function grapheme_stripos(?string $haystack, ?string $needle, ?int $offset = 0): int|false { return p\Grapheme::grapheme_stripos((string) $haystack, (string) $needle, (int) $offset); }
28
+    function grapheme_stripos(?string $haystack, ?string $needle, ?int $offset = 0): int | false { return p\Grapheme::grapheme_stripos((string) $haystack, (string) $needle, (int) $offset); }
29 29
 }
30 30
 if (!function_exists('grapheme_stristr')) {
31
-    function grapheme_stristr(?string $haystack, ?string $needle, ?bool $beforeNeedle = false): string|false { return p\Grapheme::grapheme_stristr((string) $haystack, (string) $needle, (bool) $beforeNeedle); }
31
+    function grapheme_stristr(?string $haystack, ?string $needle, ?bool $beforeNeedle = false): string | false { return p\Grapheme::grapheme_stristr((string) $haystack, (string) $needle, (bool) $beforeNeedle); }
32 32
 }
33 33
 if (!function_exists('grapheme_strlen')) {
34
-    function grapheme_strlen(?string $string): int|false|null { return p\Grapheme::grapheme_strlen((string) $string); }
34
+    function grapheme_strlen(?string $string): int | false | null { return p\Grapheme::grapheme_strlen((string) $string); }
35 35
 }
36 36
 if (!function_exists('grapheme_strpos')) {
37
-    function grapheme_strpos(?string $haystack, ?string $needle, ?int $offset = 0): int|false { return p\Grapheme::grapheme_strpos((string) $haystack, (string) $needle, (int) $offset); }
37
+    function grapheme_strpos(?string $haystack, ?string $needle, ?int $offset = 0): int | false { return p\Grapheme::grapheme_strpos((string) $haystack, (string) $needle, (int) $offset); }
38 38
 }
39 39
 if (!function_exists('grapheme_strripos')) {
40
-    function grapheme_strripos(?string $haystack, ?string $needle, ?int $offset = 0): int|false { return p\Grapheme::grapheme_strripos((string) $haystack, (string) $needle, (int) $offset); }
40
+    function grapheme_strripos(?string $haystack, ?string $needle, ?int $offset = 0): int | false { return p\Grapheme::grapheme_strripos((string) $haystack, (string) $needle, (int) $offset); }
41 41
 }
42 42
 if (!function_exists('grapheme_strrpos')) {
43
-    function grapheme_strrpos(?string $haystack, ?string $needle, ?int $offset = 0): int|false { return p\Grapheme::grapheme_strrpos((string) $haystack, (string) $needle, (int) $offset); }
43
+    function grapheme_strrpos(?string $haystack, ?string $needle, ?int $offset = 0): int | false { return p\Grapheme::grapheme_strrpos((string) $haystack, (string) $needle, (int) $offset); }
44 44
 }
45 45
 if (!function_exists('grapheme_strstr')) {
46
-    function grapheme_strstr(?string $haystack, ?string $needle, ?bool $beforeNeedle = false): string|false { return p\Grapheme::grapheme_strstr((string) $haystack, (string) $needle, (bool) $beforeNeedle); }
46
+    function grapheme_strstr(?string $haystack, ?string $needle, ?bool $beforeNeedle = false): string | false { return p\Grapheme::grapheme_strstr((string) $haystack, (string) $needle, (bool) $beforeNeedle); }
47 47
 }
48 48
 if (!function_exists('grapheme_substr')) {
49
-    function grapheme_substr(?string $string, ?int $offset, ?int $length = null): string|false { return p\Grapheme::grapheme_substr((string) $string, (int) $offset, $length); }
49
+    function grapheme_substr(?string $string, ?int $offset, ?int $length = null): string | false { return p\Grapheme::grapheme_substr((string) $string, (int) $offset, $length); }
50 50
 }
Please login to merge, or discard this patch.
deps/vendor/symfony/polyfill-intl-grapheme/Grapheme.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     private const CASE_FOLD = [
41 41
         ['µ', 'ſ', "\xCD\x85", 'ς', "\xCF\x90", "\xCF\x91", "\xCF\x95", "\xCF\x96", "\xCF\xB0", "\xCF\xB1", "\xCF\xB5", "\xE1\xBA\x9B", "\xE1\xBE\xBE"],
42
-        ['μ', 's', 'ι',        'σ', 'β',        'θ',        'φ',        'π',        'κ',        'ρ',        'ε',        "\xE1\xB9\xA1", 'ι'],
42
+        ['μ', 's', 'ι', 'σ', 'β', 'θ', 'φ', 'π', 'κ', 'ρ', 'ε', "\xE1\xB9\xA1", 'ι'],
43 43
     ];
44 44
 
45 45
     public static function grapheme_extract($s, $size, $type = \GRAPHEME_EXTR_COUNT, $start = 0, &$next = 0)
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
         if (!\is_scalar($s)) {
52 52
             $hasError = false;
53
-            set_error_handler(function () use (&$hasError) { $hasError = true; });
53
+            set_error_handler(function() use (&$hasError) { $hasError = true; });
54 54
             $next = substr($s, $start);
55 55
             restore_error_handler();
56 56
             if ($hasError) {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
         $next = $start;
85 85
 
86
-        $s = preg_split('/('.SYMFONY_GRAPHEME_CLUSTER_RX.')/u', "\r\n".$s, $size + 1, \PREG_SPLIT_NO_EMPTY | \PREG_SPLIT_DELIM_CAPTURE);
86
+        $s = preg_split('/(' . SYMFONY_GRAPHEME_CLUSTER_RX . ')/u', "\r\n" . $s, $size + 1, \PREG_SPLIT_NO_EMPTY | \PREG_SPLIT_DELIM_CAPTURE);
87 87
 
88 88
         if (!isset($s[1])) {
89 89
             return false;
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 
114 114
     public static function grapheme_strlen($s)
115 115
     {
116
-        preg_replace('/'.SYMFONY_GRAPHEME_CLUSTER_RX.'/u', '', $s, -1, $len);
116
+        preg_replace('/' . SYMFONY_GRAPHEME_CLUSTER_RX . '/u', '', $s, -1, $len);
117 117
 
118 118
         return 0 === $len && '' !== $s ? null : $len;
119 119
     }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
             $len = 2147483647;
125 125
         }
126 126
 
127
-        preg_match_all('/'.SYMFONY_GRAPHEME_CLUSTER_RX.'/u', $s, $s);
127
+        preg_match_all('/' . SYMFONY_GRAPHEME_CLUSTER_RX . '/u', $s, $s);
128 128
 
129 129
         $slen = \count($s[0]);
130 130
         $start = (int) $start;
Please login to merge, or discard this patch.
deps/vendor/symfony/string/CodePointString.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             $rx .= '.{65535}';
61 61
             $length -= 65535;
62 62
         }
63
-        $rx .= '.{'.$length.'})/us';
63
+        $rx .= '.{' . $length . '})/us';
64 64
 
65 65
         $str = clone $this;
66 66
         $chunks = [];
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         return '' === $str->string ? [] : [mb_ord($str->string, 'UTF-8')];
81 81
     }
82 82
 
83
-    public function endsWith(string|iterable|AbstractString $suffix): bool
83
+    public function endsWith(string | iterable | AbstractString $suffix): bool
84 84
     {
85 85
         if ($suffix instanceof AbstractString) {
86 86
             $suffix = $suffix->string;
@@ -93,13 +93,13 @@  discard block
 block discarded – undo
93 93
         }
94 94
 
95 95
         if ($this->ignoreCase) {
96
-            return preg_match('{'.preg_quote($suffix).'$}iuD', $this->string);
96
+            return preg_match('{' . preg_quote($suffix) . '$}iuD', $this->string);
97 97
         }
98 98
 
99 99
         return \strlen($this->string) >= \strlen($suffix) && 0 === substr_compare($this->string, $suffix, -\strlen($suffix));
100 100
     }
101 101
 
102
-    public function equalsTo(string|iterable|AbstractString $string): bool
102
+    public function equalsTo(string | iterable | AbstractString $string): bool
103 103
     {
104 104
         if ($string instanceof AbstractString) {
105 105
             $string = $string->string;
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         return $string === $this->string;
115 115
     }
116 116
 
117
-    public function indexOf(string|iterable|AbstractString $needle, int $offset = 0): ?int
117
+    public function indexOf(string | iterable | AbstractString $needle, int $offset = 0): ?int
118 118
     {
119 119
         if ($needle instanceof AbstractString) {
120 120
             $needle = $needle->string;
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         return false === $i ? null : $i;
132 132
     }
133 133
 
134
-    public function indexOfLast(string|iterable|AbstractString $needle, int $offset = 0): ?int
134
+    public function indexOfLast(string | iterable | AbstractString $needle, int $offset = 0): ?int
135 135
     {
136 136
         if ($needle instanceof AbstractString) {
137 137
             $needle = $needle->string;
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     public function prepend(string ...$prefix): static
157 157
     {
158 158
         $str = clone $this;
159
-        $str->string = (1 >= \count($prefix) ? ($prefix[0] ?? '') : implode('', $prefix)).$this->string;
159
+        $str->string = (1 >= \count($prefix) ? ($prefix[0] ?? '') : implode('', $prefix)) . $this->string;
160 160
 
161 161
         if (!preg_match('//u', $str->string)) {
162 162
             throw new InvalidArgumentException('Invalid UTF-8 string.');
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
         }
179 179
 
180 180
         if ($this->ignoreCase) {
181
-            $str->string = implode($to, preg_split('{'.preg_quote($from).'}iuD', $this->string));
181
+            $str->string = implode($to, preg_split('{' . preg_quote($from) . '}iuD', $this->string));
182 182
         } else {
183 183
             $str->string = str_replace($from, $to, $this->string);
184 184
         }
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
         }
220 220
 
221 221
         if (null !== $flags) {
222
-            return parent::split($delimiter.'u', $limit, $flags);
222
+            return parent::split($delimiter . 'u', $limit, $flags);
223 223
         }
224 224
 
225 225
         if (!preg_match('//u', $delimiter)) {
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
 
229 229
         $str = clone $this;
230 230
         $chunks = $this->ignoreCase
231
-            ? preg_split('{'.preg_quote($delimiter).'}iuD', $this->string, $limit)
231
+            ? preg_split('{' . preg_quote($delimiter) . '}iuD', $this->string, $limit)
232 232
             : explode($delimiter, $this->string, $limit);
233 233
 
234 234
         foreach ($chunks as &$chunk) {
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
         return $chunks;
240 240
     }
241 241
 
242
-    public function startsWith(string|iterable|AbstractString $prefix): bool
242
+    public function startsWith(string | iterable | AbstractString $prefix): bool
243 243
     {
244 244
         if ($prefix instanceof AbstractString) {
245 245
             $prefix = $prefix->string;
Please login to merge, or discard this patch.
deps/vendor/symfony/string/UnicodeString.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     public function append(string ...$suffix): static
49 49
     {
50 50
         $str = clone $this;
51
-        $str->string = $this->string.(1 >= \count($suffix) ? ($suffix[0] ?? '') : implode('', $suffix));
51
+        $str->string = $this->string . (1 >= \count($suffix) ? ($suffix[0] ?? '') : implode('', $suffix));
52 52
 
53 53
         if (normalizer_is_normalized($str->string)) {
54 54
             return $str;
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             $rx .= '\X{65535}';
79 79
             $length -= 65535;
80 80
         }
81
-        $rx .= '\X{'.$length.'})/u';
81
+        $rx .= '\X{' . $length . '})/u';
82 82
 
83 83
         $str = clone $this;
84 84
         $chunks = [];
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
         return $chunks;
92 92
     }
93 93
 
94
-    public function endsWith(string|iterable|AbstractString $suffix): bool
94
+    public function endsWith(string | iterable | AbstractString $suffix): bool
95 95
     {
96 96
         if ($suffix instanceof AbstractString) {
97 97
             $suffix = $suffix->string;
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         return $suffix === grapheme_extract($this->string, \strlen($suffix), \GRAPHEME_EXTR_MAXBYTES, \strlen($this->string) - \strlen($suffix));
114 114
     }
115 115
 
116
-    public function equalsTo(string|iterable|AbstractString $string): bool
116
+    public function equalsTo(string | iterable | AbstractString $string): bool
117 117
     {
118 118
         if ($string instanceof AbstractString) {
119 119
             $string = $string->string;
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         return $string === $this->string;
132 132
     }
133 133
 
134
-    public function indexOf(string|iterable|AbstractString $needle, int $offset = 0): ?int
134
+    public function indexOf(string | iterable | AbstractString $needle, int $offset = 0): ?int
135 135
     {
136 136
         if ($needle instanceof AbstractString) {
137 137
             $needle = $needle->string;
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         return false === $i ? null : $i;
156 156
     }
157 157
 
158
-    public function indexOfLast(string|iterable|AbstractString $needle, int $offset = 0): ?int
158
+    public function indexOfLast(string | iterable | AbstractString $needle, int $offset = 0): ?int
159 159
     {
160 160
         if ($needle instanceof AbstractString) {
161 161
             $needle = $needle->string;
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     public function prepend(string ...$prefix): static
218 218
     {
219 219
         $str = clone $this;
220
-        $str->string = (1 >= \count($prefix) ? ($prefix[0] ?? '') : implode('', $prefix)).$this->string;
220
+        $str->string = (1 >= \count($prefix) ? ($prefix[0] ?? '') : implode('', $prefix)) . $this->string;
221 221
 
222 222
         if (normalizer_is_normalized($str->string)) {
223 223
             return $str;
@@ -244,11 +244,11 @@  discard block
 block discarded – undo
244 244
 
245 245
             while ('' !== $tail && false !== $i = $indexOf($tail, $from)) {
246 246
                 $slice = grapheme_substr($tail, 0, $i);
247
-                $result .= $slice.$to;
247
+                $result .= $slice . $to;
248 248
                 $tail = substr($tail, \strlen($slice) + \strlen($from));
249 249
             }
250 250
 
251
-            $str->string = $result.$tail;
251
+            $str->string = $result . $tail;
252 252
 
253 253
             if (normalizer_is_normalized($str->string)) {
254 254
                 return $str;
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
         return $str;
265 265
     }
266 266
 
267
-    public function replaceMatches(string $fromRegexp, string|callable $to): static
267
+    public function replaceMatches(string $fromRegexp, string | callable $to): static
268 268
     {
269 269
         $str = parent::replaceMatches($fromRegexp, $to);
270 270
         normalizer_is_normalized($str->string) ?: $str->string = normalizer_normalize($str->string);
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
         }
314 314
 
315 315
         if (null !== $flags) {
316
-            return parent::split($delimiter.'u', $limit, $flags);
316
+            return parent::split($delimiter . 'u', $limit, $flags);
317 317
         }
318 318
 
319 319
         normalizer_is_normalized($delimiter) ?: $delimiter = normalizer_normalize($delimiter);
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
         return $chunks;
341 341
     }
342 342
 
343
-    public function startsWith(string|iterable|AbstractString $prefix): bool
343
+    public function startsWith(string | iterable | AbstractString $prefix): bool
344 344
     {
345 345
         if ($prefix instanceof AbstractString) {
346 346
             $prefix = $prefix->string;
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
     public function __wakeup()
369 369
     {
370 370
         if (!\is_string($this->string)) {
371
-            throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
371
+            throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__);
372 372
         }
373 373
 
374 374
         normalizer_is_normalized($this->string) ?: $this->string = normalizer_normalize($this->string);
Please login to merge, or discard this patch.