File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,8 @@ public static function begin(
9898 ): InceptionResult
9999 {
100100 $ stdOutput = new SymfonyOutput ($ output , new SymfonyStyle (new ErrorsConsoleStyle ($ input , $ output )));
101-
102- $ 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 );
101+ $ symfonyErrorOutput = $ output instanceof ConsoleOutputInterface ? $ output ->getErrorOutput () : $ output ;
102+ $ errorOutput = new SymfonyOutput ($ symfonyErrorOutput , new SymfonyStyle (new ErrorsConsoleStyle ($ input , $ symfonyErrorOutput )));
106103
107104 if (!$ allowXdebug ) {
108105 $ xdebug = new XdebugHandler ('phpstan ' );
You can’t perform that action at this time.
0 commit comments