You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (null !== $stdErr && extension_loaded('xdebug')) {
292
296
$stdErr->writeln(sprintf($stdErr->isDecorated() ? '<bg=yellow;fg=black;>%s</>' : '%s', 'You are running php-cs-fixer with xdebug enabled. This has a major impact on runtime performance.'));
293
297
}
294
298
@@ -346,8 +350,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
346
350
thrownewInvalidConfigurationException(sprintf('The config file "%s" does not return a "Symfony\CS\ConfigInterface" instance. Got: "%s".', $configFile, is_object($config) ? get_class($config) : gettype($config)));
347
351
}
348
352
349
-
if ('txt' === $input->getOption('format')) {
350
-
$output->writeln(sprintf('Loaded config from "%s"', $configFile));
353
+
if (null !== $stdErr && $configFile) {
354
+
$stdErr->writeln(sprintf('Loaded config from "%s".', $configFile));
351
355
}
352
356
} else {
353
357
$config = $this->defaultConfig;
@@ -383,11 +387,11 @@ protected function execute(InputInterface $input, OutputInterface $output)
0 commit comments