1515use Symfony \Bridge \Monolog \Formatter \ConsoleFormatter ;
1616use Symfony \Bridge \Monolog \Handler \ConsoleHandler ;
1717use Symfony \Component \Console \Command \Command ;
18+ use Symfony \Component \Console \Exception \LogicException ;
19+ use Symfony \Component \Console \Exception \RuntimeException ;
1820use Symfony \Component \Console \Input \InputInterface ;
1921use Symfony \Component \Console \Input \InputOption ;
2022use Symfony \Component \Console \Output \OutputInterface ;
@@ -78,7 +80,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
7880 $ filter = $ input ->getOption ('filter ' );
7981 if ($ filter ) {
8082 if (!class_exists (ExpressionLanguage::class)) {
81- throw new \ LogicException ('Package "symfony/expression-language" is required to use the "filter" option. ' );
83+ throw new LogicException ('Package "symfony/expression-language" is required to use the "filter" option. ' );
8284 }
8385 $ this ->el = new ExpressionLanguage ();
8486 }
@@ -97,7 +99,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
9799 }
98100
99101 if (!$ socket = stream_socket_server ($ host , $ errno , $ errstr )) {
100- throw new \ RuntimeException (sprintf ('Server start failed on "%s": %s %s. ' , $ host , $ errstr , $ errno ));
102+ throw new RuntimeException (sprintf ('Server start failed on "%s": %s %s. ' , $ host , $ errstr , $ errno ));
101103 }
102104
103105 foreach ($ this ->getLogs ($ socket ) as $ clientId => $ message ) {
0 commit comments