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 ( 5cefd1...492078 )
by Anton
04:08
created
deps/vendor/symfony/string/ByteString.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -214,8 +214,8 @@  discard block
 block discarded – undo
214 214
     {
215 215
         $str = clone $this;
216 216
 
217
-        $tail = null !== $lastGlue && 1 < \count($strings) ? $lastGlue.array_pop($strings) : '';
218
-        $str->string = implode($this->string, $strings).$tail;
217
+        $tail = null !== $lastGlue && 1 < \count($strings) ? $lastGlue . array_pop($strings) : '';
218
+        $str->string = implode($this->string, $strings) . $tail;
219 219
 
220 220
         return $str;
221 221
     }
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
             $regexp .= 'i';
242 242
         }
243 243
 
244
-        set_error_handler(static function ($t, $m) { throw new InvalidArgumentException($m); });
244
+        set_error_handler(static function($t, $m) { throw new InvalidArgumentException($m); });
245 245
 
246 246
         try {
247 247
             if (false === $match($regexp, $this->string, $matches, $flags | \PREG_UNMATCHED_AS_NULL, $offset)) {
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
 
250 250
                 foreach (get_defined_constants(true)['pcre'] as $k => $v) {
251 251
                     if ($lastError === $v && '_ERROR' === substr($k, -6)) {
252
-                        throw new RuntimeException('Matching failed with '.$k.'.');
252
+                        throw new RuntimeException('Matching failed with ' . $k . '.');
253 253
                     }
254 254
                 }
255 255
 
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     public function prepend(string ...$prefix): parent
290 290
     {
291 291
         $str = clone $this;
292
-        $str->string = (1 >= \count($prefix) ? ($prefix[0] ?? '') : implode('', $prefix)).$str->string;
292
+        $str->string = (1 >= \count($prefix) ? ($prefix[0] ?? '') : implode('', $prefix)) . $str->string;
293 293
 
294 294
         return $str;
295 295
     }
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
             $replace = $to instanceof \Closure ? 'preg_replace_callback' : 'preg_replace';
322 322
         }
323 323
 
324
-        set_error_handler(static function ($t, $m) { throw new InvalidArgumentException($m); });
324
+        set_error_handler(static function($t, $m) { throw new InvalidArgumentException($m); });
325 325
 
326 326
         try {
327 327
             if (null === $string = $replace($fromRegexp, $to, $this->string)) {
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
 
330 330
                 foreach (get_defined_constants(true)['pcre'] as $k => $v) {
331 331
                     if ($lastError === $v && '_ERROR' === substr($k, -6)) {
332
-                        throw new RuntimeException('Matching failed with '.$k.'.');
332
+                        throw new RuntimeException('Matching failed with ' . $k . '.');
333 333
                     }
334 334
                 }
335 335
 
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
 
394 394
         $str = clone $this;
395 395
         $chunks = $this->ignoreCase
396
-            ? preg_split('{'.preg_quote($delimiter).'}iD', $this->string, $limit)
396
+            ? preg_split('{' . preg_quote($delimiter) . '}iD', $this->string, $limit)
397 397
             : explode($delimiter, $this->string, $limit);
398 398
 
399 399
         foreach ($chunks as &$chunk) {
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
             return $u;
439 439
         }
440 440
 
441
-        set_error_handler(static function ($t, $m) { throw new InvalidArgumentException($m); });
441
+        set_error_handler(static function($t, $m) { throw new InvalidArgumentException($m); });
442 442
 
443 443
         try {
444 444
             try {
Please login to merge, or discard this patch.
deps/vendor/symfony/string/CodePointString.php 1 patch
Spacing   +6 added lines, -6 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 = [];
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         }
96 96
 
97 97
         if ($this->ignoreCase) {
98
-            return preg_match('{'.preg_quote($suffix).'$}iuD', $this->string);
98
+            return preg_match('{' . preg_quote($suffix) . '$}iuD', $this->string);
99 99
         }
100 100
 
101 101
         return \strlen($this->string) >= \strlen($suffix) && 0 === substr_compare($this->string, $suffix, -\strlen($suffix));
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     public function prepend(string ...$prefix): AbstractString
165 165
     {
166 166
         $str = clone $this;
167
-        $str->string = (1 >= \count($prefix) ? ($prefix[0] ?? '') : implode('', $prefix)).$this->string;
167
+        $str->string = (1 >= \count($prefix) ? ($prefix[0] ?? '') : implode('', $prefix)) . $this->string;
168 168
 
169 169
         if (!preg_match('//u', $str->string)) {
170 170
             throw new InvalidArgumentException('Invalid UTF-8 string.');
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
         }
187 187
 
188 188
         if ($this->ignoreCase) {
189
-            $str->string = implode($to, preg_split('{'.preg_quote($from).'}iuD', $this->string));
189
+            $str->string = implode($to, preg_split('{' . preg_quote($from) . '}iuD', $this->string));
190 190
         } else {
191 191
             $str->string = str_replace($from, $to, $this->string);
192 192
         }
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
         }
228 228
 
229 229
         if (null !== $flags) {
230
-            return parent::split($delimiter.'u', $limit, $flags);
230
+            return parent::split($delimiter . 'u', $limit, $flags);
231 231
         }
232 232
 
233 233
         if (!preg_match('//u', $delimiter)) {
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
 
237 237
         $str = clone $this;
238 238
         $chunks = $this->ignoreCase
239
-            ? preg_split('{'.preg_quote($delimiter).'}iuD', $this->string, $limit)
239
+            ? preg_split('{' . preg_quote($delimiter) . '}iuD', $this->string, $limit)
240 240
             : explode($delimiter, $this->string, $limit);
241 241
 
242 242
         foreach ($chunks as &$chunk) {
Please login to merge, or discard this patch.
deps/vendor/symfony/string/AbstractString.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -286,9 +286,9 @@  discard block
 block discarded – undo
286 286
         }
287 287
 
288 288
         $suffix = preg_quote($suffix);
289
-        $regex = '{('.$suffix.')(?:'.$suffix.')++$}D';
289
+        $regex = '{(' . $suffix . ')(?:' . $suffix . ')++$}D';
290 290
 
291
-        return $this->replaceMatches($regex.($this->ignoreCase ? 'i' : ''), '$1');
291
+        return $this->replaceMatches($regex . ($this->ignoreCase ? 'i' : ''), '$1');
292 292
     }
293 293
 
294 294
     /**
@@ -502,7 +502,7 @@  discard block
 block discarded – undo
502 502
             $delimiter .= 'i';
503 503
         }
504 504
 
505
-        set_error_handler(static function ($t, $m) { throw new InvalidArgumentException($m); });
505
+        set_error_handler(static function($t, $m) { throw new InvalidArgumentException($m); });
506 506
 
507 507
         try {
508 508
             if (false === $chunks = preg_split($delimiter, $this->string, $limit, $flags)) {
@@ -510,7 +510,7 @@  discard block
 block discarded – undo
510 510
 
511 511
                 foreach (get_defined_constants(true)['pcre'] as $k => $v) {
512 512
                     if ($lastError === $v && '_ERROR' === substr($k, -6)) {
513
-                        throw new RuntimeException('Splitting failed with '.$k.'.');
513
+                        throw new RuntimeException('Splitting failed with ' . $k . '.');
514 514
                     }
515 515
                 }
516 516
 
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
             return $b;
573 573
         }
574 574
 
575
-        set_error_handler(static function ($t, $m) { throw new InvalidArgumentException($m); });
575
+        set_error_handler(static function($t, $m) { throw new InvalidArgumentException($m); });
576 576
 
577 577
         try {
578 578
             try {
@@ -773,7 +773,7 @@  discard block
 block discarded – undo
773 773
         }
774 774
 
775 775
         $str = clone $this;
776
-        $str->string = $string.implode('', $chars);
776
+        $str->string = $string . implode('', $chars);
777 777
 
778 778
         return $str;
779 779
     }
Please login to merge, or discard this patch.
deps/vendor/symfony/deprecation-contracts/function.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      */
23 23
     function trigger_deprecation(string $package, string $version, string $message, ...$args): void
24 24
     {
25
-        @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
25
+        @trigger_error(($package || $version ? "Since $package $version: " : '') . ($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
deps/vendor/symfony/console/Application.php 1 patch
Spacing   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -137,8 +137,8 @@  discard block
 block discarded – undo
137 137
     public function run(InputInterface $input = null, OutputInterface $output = null)
138 138
     {
139 139
         if (\function_exists('putenv')) {
140
-            @putenv('LINES='.$this->terminal->getHeight());
141
-            @putenv('COLUMNS='.$this->terminal->getWidth());
140
+            @putenv('LINES=' . $this->terminal->getHeight());
141
+            @putenv('COLUMNS=' . $this->terminal->getWidth());
142 142
         }
143 143
 
144 144
         if (null === $input) {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
             $output = new ConsoleOutput();
150 150
         }
151 151
 
152
-        $renderException = function (\Throwable $e) use ($output) {
152
+        $renderException = function(\Throwable $e) use ($output) {
153 153
             if ($output instanceof ConsoleOutputInterface) {
154 154
                 $this->renderThrowable($e, $output->getErrorOutput());
155 155
             } else {
@@ -631,8 +631,8 @@  discard block
 block discarded – undo
631 631
     public function findNamespace(string $namespace)
632 632
     {
633 633
         $allNamespaces = $this->getNamespaces();
634
-        $expr = implode('[^:]*:', array_map('preg_quote', explode(':', $namespace))).'[^:]*';
635
-        $namespaces = preg_grep('{^'.$expr.'}', $allNamespaces);
634
+        $expr = implode('[^:]*:', array_map('preg_quote', explode(':', $namespace))) . '[^:]*';
635
+        $namespaces = preg_grep('{^' . $expr . '}', $allNamespaces);
636 636
 
637 637
         if (empty($namespaces)) {
638 638
             $message = sprintf('There are no commands defined in the "%s" namespace.', $namespace);
@@ -687,15 +687,15 @@  discard block
 block discarded – undo
687 687
         }
688 688
 
689 689
         $allCommands = $this->commandLoader ? array_merge($this->commandLoader->getNames(), array_keys($this->commands)) : array_keys($this->commands);
690
-        $expr = implode('[^:]*:', array_map('preg_quote', explode(':', $name))).'[^:]*';
691
-        $commands = preg_grep('{^'.$expr.'}', $allCommands);
690
+        $expr = implode('[^:]*:', array_map('preg_quote', explode(':', $name))) . '[^:]*';
691
+        $commands = preg_grep('{^' . $expr . '}', $allCommands);
692 692
 
693 693
         if (empty($commands)) {
694
-            $commands = preg_grep('{^'.$expr.'}i', $allCommands);
694
+            $commands = preg_grep('{^' . $expr . '}i', $allCommands);
695 695
         }
696 696
 
697 697
         // if no commands matched or we just matched namespaces
698
-        if (empty($commands) || \count(preg_grep('{^'.$expr.'$}i', $commands)) < 1) {
698
+        if (empty($commands) || \count(preg_grep('{^' . $expr . '$}i', $commands)) < 1) {
699 699
             if (false !== $pos = strrpos($name, ':')) {
700 700
                 // check if a namespace exists and contains commands
701 701
                 $this->findNamespace(substr($name, 0, $pos));
@@ -705,7 +705,7 @@  discard block
 block discarded – undo
705 705
 
706 706
             if ($alternatives = $this->findAlternatives($name, $allCommands)) {
707 707
                 // remove hidden commands
708
-                $alternatives = array_filter($alternatives, function ($name) {
708
+                $alternatives = array_filter($alternatives, function($name) {
709 709
                     return !$this->get($name)->isHidden();
710 710
                 });
711 711
 
@@ -723,7 +723,7 @@  discard block
 block discarded – undo
723 723
         // filter out aliases for commands which are already on the list
724 724
         if (\count($commands) > 1) {
725 725
             $commandList = $this->commandLoader ? array_merge(array_flip($this->commandLoader->getNames()), $this->commands) : $this->commands;
726
-            $commands = array_unique(array_filter($commands, function ($nameOrAlias) use (&$commandList, $commands, &$aliases) {
726
+            $commands = array_unique(array_filter($commands, function($nameOrAlias) use (&$commandList, $commands, &$aliases) {
727 727
                 if (!$commandList[$nameOrAlias] instanceof Command) {
728 728
                     $commandList[$nameOrAlias] = $this->commandLoader->get($nameOrAlias);
729 729
                 }
@@ -743,16 +743,16 @@  discard block
 block discarded – undo
743 743
             foreach ($abbrevs as $abbrev) {
744 744
                 $maxLen = max(Helper::width($abbrev), $maxLen);
745 745
             }
746
-            $abbrevs = array_map(function ($cmd) use ($commandList, $usableWidth, $maxLen, &$commands) {
746
+            $abbrevs = array_map(function($cmd) use ($commandList, $usableWidth, $maxLen, &$commands) {
747 747
                 if ($commandList[$cmd]->isHidden()) {
748 748
                     unset($commands[array_search($cmd, $commands)]);
749 749
 
750 750
                     return false;
751 751
                 }
752 752
 
753
-                $abbrev = str_pad($cmd, $maxLen, ' ').' '.$commandList[$cmd]->getDescription();
753
+                $abbrev = str_pad($cmd, $maxLen, ' ') . ' ' . $commandList[$cmd]->getDescription();
754 754
 
755
-                return Helper::width($abbrev) > $usableWidth ? Helper::substr($abbrev, 0, $usableWidth - 3).'...' : $abbrev;
755
+                return Helper::width($abbrev) > $usableWidth ? Helper::substr($abbrev, 0, $usableWidth - 3) . '...' : $abbrev;
756 756
             }, array_values($commands));
757 757
 
758 758
             if (\count($commands) > 1) {
@@ -851,15 +851,15 @@  discard block
 block discarded – undo
851 851
             $message = trim($e->getMessage());
852 852
             if ('' === $message || OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
853 853
                 $class = get_debug_type($e);
854
-                $title = sprintf('  [%s%s]  ', $class, 0 !== ($code = $e->getCode()) ? ' ('.$code.')' : '');
854
+                $title = sprintf('  [%s%s]  ', $class, 0 !== ($code = $e->getCode()) ? ' (' . $code . ')' : '');
855 855
                 $len = Helper::width($title);
856 856
             } else {
857 857
                 $len = 0;
858 858
             }
859 859
 
860 860
             if (str_contains($message, "@anonymous\0")) {
861
-                $message = preg_replace_callback('/[a-zA-Z_\x7f-\xff][\\\\a-zA-Z0-9_\x7f-\xff]*+@anonymous\x00.*?\.php(?:0x?|:[0-9]++\$)[0-9a-fA-F]++/', function ($m) {
862
-                    return class_exists($m[0], false) ? (get_parent_class($m[0]) ?: key(class_implements($m[0])) ?: 'class').'@anonymous' : $m[0];
861
+                $message = preg_replace_callback('/[a-zA-Z_\x7f-\xff][\\\\a-zA-Z0-9_\x7f-\xff]*+@anonymous\x00.*?\.php(?:0x?|:[0-9]++\$)[0-9a-fA-F]++/', function($m) {
862
+                    return class_exists($m[0], false) ? (get_parent_class($m[0]) ?: key(class_implements($m[0])) ?: 'class') . '@anonymous' : $m[0];
863 863
                 }, $message);
864 864
             }
865 865
 
@@ -911,7 +911,7 @@  discard block
 block discarded – undo
911 911
                     $file = $trace[$i]['file'] ?? 'n/a';
912 912
                     $line = $trace[$i]['line'] ?? 'n/a';
913 913
 
914
-                    $output->writeln(sprintf(' %s%s at <info>%s:%s</info>', $class, $function ? $type.$function.'()' : '', $file, $line), OutputInterface::VERBOSITY_QUIET);
914
+                    $output->writeln(sprintf(' %s%s at <info>%s:%s</info>', $class, $function ? $type . $function . '()' : '', $file, $line), OutputInterface::VERBOSITY_QUIET);
915 915
                 }
916 916
 
917 917
                 $output->writeln('', OutputInterface::VERBOSITY_QUIET);
@@ -973,7 +973,7 @@  discard block
 block discarded – undo
973 973
         }
974 974
 
975 975
         if (\function_exists('putenv')) {
976
-            @putenv('SHELL_VERBOSITY='.$shellVerbosity);
976
+            @putenv('SHELL_VERBOSITY=' . $shellVerbosity);
977 977
         }
978 978
         $_ENV['SHELL_VERBOSITY'] = $shellVerbosity;
979 979
         $_SERVER['SHELL_VERBOSITY'] = $shellVerbosity;
@@ -1007,8 +1007,8 @@  discard block
 block discarded – undo
1007 1007
                     $sttyMode = shell_exec('stty -g');
1008 1008
 
1009 1009
                     foreach ([\SIGINT, \SIGTERM] as $signal) {
1010
-                        $this->signalRegistry->register($signal, static function () use ($sttyMode) {
1011
-                            shell_exec('stty '.$sttyMode);
1010
+                        $this->signalRegistry->register($signal, static function() use ($sttyMode) {
1011
+                            shell_exec('stty ' . $sttyMode);
1012 1012
                         });
1013 1013
                     }
1014 1014
                 }
@@ -1018,7 +1018,7 @@  discard block
 block discarded – undo
1018 1018
                 foreach ($this->signalsToDispatchEvent as $signal) {
1019 1019
                     $event = new ConsoleSignalEvent($command, $input, $output, $signal);
1020 1020
 
1021
-                    $this->signalRegistry->register($signal, function ($signal, $hasNext) use ($event) {
1021
+                    $this->signalRegistry->register($signal, function($signal, $hasNext) use ($event) {
1022 1022
                         $this->dispatcher->dispatch($event, ConsoleEvents::SIGNAL);
1023 1023
 
1024 1024
                         // No more handlers, we try to simulate PHP default behavior
@@ -1098,7 +1098,7 @@  discard block
 block discarded – undo
1098 1098
     {
1099 1099
         return new InputDefinition([
1100 1100
             new InputArgument('command', InputArgument::REQUIRED, 'The command to execute'),
1101
-            new InputOption('--help', '-h', InputOption::VALUE_NONE, 'Display help for the given command. When no command is given display help for the <info>'.$this->defaultCommand.'</info> command'),
1101
+            new InputOption('--help', '-h', InputOption::VALUE_NONE, 'Display help for the given command. When no command is given display help for the <info>' . $this->defaultCommand . '</info> command'),
1102 1102
             new InputOption('--quiet', '-q', InputOption::VALUE_NONE, 'Do not output any message'),
1103 1103
             new InputOption('--verbose', '-v|vv|vvv', InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug'),
1104 1104
             new InputOption('--version', '-V', InputOption::VALUE_NONE, 'Display this application version'),
@@ -1137,7 +1137,7 @@  discard block
 block discarded – undo
1137 1137
      */
1138 1138
     private function getAbbreviationSuggestions(array $abbrevs): string
1139 1139
     {
1140
-        return '    '.implode("\n    ", $abbrevs);
1140
+        return '    ' . implode("\n    ", $abbrevs);
1141 1141
     }
1142 1142
 
1143 1143
     /**
@@ -1196,7 +1196,7 @@  discard block
 block discarded – undo
1196 1196
             }
1197 1197
         }
1198 1198
 
1199
-        $alternatives = array_filter($alternatives, function ($lev) use ($threshold) { return $lev < 2 * $threshold; });
1199
+        $alternatives = array_filter($alternatives, function($lev) use ($threshold) { return $lev < 2 * $threshold; });
1200 1200
         ksort($alternatives, \SORT_NATURAL | \SORT_FLAG_CASE);
1201 1201
 
1202 1202
         return array_keys($alternatives);
@@ -1248,7 +1248,7 @@  discard block
 block discarded – undo
1248 1248
 
1249 1249
             foreach (preg_split('//u', $m[0]) as $char) {
1250 1250
                 // test if $char could be appended to current line
1251
-                if (mb_strwidth($line.$char, 'utf8') <= $width) {
1251
+                if (mb_strwidth($line . $char, 'utf8') <= $width) {
1252 1252
                     $line .= $char;
1253 1253
                     continue;
1254 1254
                 }
@@ -1278,7 +1278,7 @@  discard block
 block discarded – undo
1278 1278
 
1279 1279
         foreach ($parts as $part) {
1280 1280
             if (\count($namespaces)) {
1281
-                $namespaces[] = end($namespaces).':'.$part;
1281
+                $namespaces[] = end($namespaces) . ':' . $part;
1282 1282
             } else {
1283 1283
                 $namespaces[] = $part;
1284 1284
             }
Please login to merge, or discard this patch.
deps/vendor/symfony/console/Command/DumpCompletionCommand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         }
90 90
 
91 91
         $shell = $input->getArgument('shell') ?? self::guessShell();
92
-        $completionFile = __DIR__.'/../Resources/completion.'.$shell;
92
+        $completionFile = __DIR__ . '/../Resources/completion.' . $shell;
93 93
         if (!file_exists($completionFile)) {
94 94
             $supportedShells = $this->getSupportedShells();
95 95
 
@@ -117,12 +117,12 @@  discard block
 block discarded – undo
117 117
 
118 118
     private function tailDebugLog(string $commandName, OutputInterface $output): void
119 119
     {
120
-        $debugFile = sys_get_temp_dir().'/sf_'.$commandName.'.log';
120
+        $debugFile = sys_get_temp_dir() . '/sf_' . $commandName . '.log';
121 121
         if (!file_exists($debugFile)) {
122 122
             touch($debugFile);
123 123
         }
124 124
         $process = new Process(['tail', '-f', $debugFile], null, null, null, 0);
125
-        $process->run(function (string $type, string $line) use ($output): void {
125
+        $process->run(function(string $type, string $line) use ($output): void {
126 126
             $output->write($line);
127 127
         });
128 128
     }
@@ -132,8 +132,8 @@  discard block
 block discarded – undo
132 132
      */
133 133
     private function getSupportedShells(): array
134 134
     {
135
-        return array_map(function ($f) {
135
+        return array_map(function($f) {
136 136
             return pathinfo($f, \PATHINFO_EXTENSION);
137
-        }, glob(__DIR__.'/../Resources/completion.*'));
137
+        }, glob(__DIR__ . '/../Resources/completion.*'));
138 138
     }
139 139
 }
Please login to merge, or discard this patch.
deps/vendor/symfony/console/Helper/Table.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -485,14 +485,14 @@  discard block
 block discarded – undo
485 485
             if ($titleLength > $limit = $markupLength - 4) {
486 486
                 $titleLength = $limit;
487 487
                 $formatLength = Helper::width(Helper::removeDecoration($formatter, sprintf($titleFormat, '')));
488
-                $formattedTitle = sprintf($titleFormat, Helper::substr($title, 0, $limit - $formatLength - 3).'...');
488
+                $formattedTitle = sprintf($titleFormat, Helper::substr($title, 0, $limit - $formatLength - 3) . '...');
489 489
             }
490 490
 
491 491
             $titleStart = intdiv($markupLength - $titleLength, 2);
492 492
             if (false === mb_detect_encoding($markup, null, true)) {
493 493
                 $markup = substr_replace($markup, $formattedTitle, $titleStart, $titleLength);
494 494
             } else {
495
-                $markup = mb_substr($markup, 0, $titleStart).$formattedTitle.mb_substr($markup, $titleStart + $titleLength);
495
+                $markup = mb_substr($markup, 0, $titleStart) . $formattedTitle . mb_substr($markup, $titleStart + $titleLength);
496 496
             }
497 497
         }
498 498
 
@@ -567,7 +567,7 @@  discard block
 block discarded – undo
567 567
                 $cellFormat = $cell->getStyle()->getCellFormat();
568 568
                 if (!\is_string($cellFormat)) {
569 569
                     $tag = http_build_query($cell->getStyle()->getTagOptions(), '', ';');
570
-                    $cellFormat = '<'.$tag.'>%s</>';
570
+                    $cellFormat = '<' . $tag . '>%s</>';
571 571
                 }
572 572
 
573 573
                 if (strstr($content, '</>')) {
@@ -640,7 +640,7 @@  discard block
 block discarded – undo
640 640
             }
641 641
         }
642 642
 
643
-        return new TableRows(function () use ($rows, $unmergedRows): \Traversable {
643
+        return new TableRows(function() use ($rows, $unmergedRows): \Traversable {
644 644
             foreach ($rows as $rowKey => $row) {
645 645
                 $rowGroup = [$row instanceof TableSeparator ? $row : $this->fillCells($row)];
646 646
 
Please login to merge, or discard this patch.
deps/vendor/symfony/console/Formatter/OutputFormatter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -251,18 +251,18 @@
 block discarded – undo
251 251
         }
252 252
 
253 253
         if ($currentLineLength) {
254
-            $prefix = substr($text, 0, $i = $width - $currentLineLength)."\n";
254
+            $prefix = substr($text, 0, $i = $width - $currentLineLength) . "\n";
255 255
             $text = substr($text, $i);
256 256
         } else {
257 257
             $prefix = '';
258 258
         }
259 259
 
260 260
         preg_match('~(\\n)$~', $text, $matches);
261
-        $text = $prefix.preg_replace('~([^\\n]{'.$width.'})\\ *~', "\$1\n", $text);
262
-        $text = rtrim($text, "\n").($matches[1] ?? '');
261
+        $text = $prefix . preg_replace('~([^\\n]{' . $width . '})\\ *~', "\$1\n", $text);
262
+        $text = rtrim($text, "\n") . ($matches[1] ?? '');
263 263
 
264 264
         if (!$currentLineLength && '' !== $current && "\n" !== substr($current, -1)) {
265
-            $text = "\n".$text;
265
+            $text = "\n" . $text;
266 266
         }
267 267
 
268 268
         $lines = explode("\n", $text);
Please login to merge, or discard this patch.
deps/vendor/symfony/yaml/Command/LintCommand.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 
136 136
     private function validate(string $content, int $flags, string $file = null)
137 137
     {
138
-        $prevErrorHandler = set_error_handler(function ($level, $message, $file, $line) use (&$prevErrorHandler) {
138
+        $prevErrorHandler = set_error_handler(function($level, $message, $file, $line) use (&$prevErrorHandler) {
139 139
             if (\E_USER_DEPRECATED === $level) {
140 140
                 throw new ParseException($message, $this->getParser()->getRealCurrentLineNb() + 1);
141 141
             }
@@ -180,10 +180,10 @@  discard block
 block discarded – undo
180 180
 
181 181
         foreach ($filesInfo as $info) {
182 182
             if ($info['valid'] && $this->displayCorrectFiles) {
183
-                $io->comment('<info>OK</info>'.($info['file'] ? sprintf(' in %s', $info['file']) : ''));
183
+                $io->comment('<info>OK</info>' . ($info['file'] ? sprintf(' in %s', $info['file']) : ''));
184 184
             } elseif (!$info['valid']) {
185 185
                 ++$erroredFiles;
186
-                $io->text('<error> ERROR </error>'.($info['file'] ? sprintf(' in %s', $info['file']) : ''));
186
+                $io->text('<error> ERROR </error>' . ($info['file'] ? sprintf(' in %s', $info['file']) : ''));
187 187
                 $io->text(sprintf('<error> >> %s</error>', $info['message']));
188 188
 
189 189
                 if (false !== strpos($info['message'], 'PARSE_CUSTOM_TAGS')) {
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     {
210 210
         $errors = 0;
211 211
 
212
-        array_walk($filesInfo, function (&$v) use (&$errors) {
212
+        array_walk($filesInfo, function(&$v) use (&$errors) {
213 213
             $v['file'] = (string) $v['file'];
214 214
             if (!$v['valid']) {
215 215
                 ++$errors;
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
 
254 254
     private function getDirectoryIterator(string $directory): iterable
255 255
     {
256
-        $default = function ($directory) {
256
+        $default = function($directory) {
257 257
             return new \RecursiveIteratorIterator(
258 258
                 new \RecursiveDirectoryIterator($directory, \FilesystemIterator::SKIP_DOTS | \FilesystemIterator::FOLLOW_SYMLINKS),
259 259
                 \RecursiveIteratorIterator::LEAVES_ONLY
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
 
270 270
     private function isReadable(string $fileOrDirectory): bool
271 271
     {
272
-        $default = function ($fileOrDirectory) {
272
+        $default = function($fileOrDirectory) {
273 273
             return is_readable($fileOrDirectory);
274 274
         };
275 275
 
Please login to merge, or discard this patch.