We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad04102 commit d3597abCopy full SHA for d3597ab
src/Command/CommandHelper.php
@@ -99,10 +99,10 @@ public static function begin(
99
{
100
$stdOutput = new SymfonyOutput($output, new SymfonyStyle(new ErrorsConsoleStyle($input, $output)));
101
102
- $errorOutput = (static function () use ($input, $output): Output {
+ $errorOutput = (static function ($input, $output): Output {
103
$symfonyErrorOutput = $output instanceof ConsoleOutputInterface ? $output->getErrorOutput() : $output;
104
return new SymfonyOutput($symfonyErrorOutput, new SymfonyStyle(new ErrorsConsoleStyle($input, $symfonyErrorOutput)));
105
- })();
+ })($input, $output);
106
107
if (!$allowXdebug) {
108
$xdebug = new XdebugHandler('phpstan');
0 commit comments