mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-16 13:00:23 +01:00
Merge pull request #259 from carusogabriel/process-command
[ProcessCommand] Add one line between the progress bar and Exception trace
This commit is contained in:
commit
bddf758654
@ -159,8 +159,9 @@ final class ProcessCommand extends Command
|
||||
try {
|
||||
$this->processFile($fileInfo, $i);
|
||||
} catch (Throwable $throwable) {
|
||||
$this->consoleStyle->newLine();
|
||||
throw new FileProcessingException(
|
||||
sprintf('Processing of "%s" file failed.', $fileInfo->getRealPath()),
|
||||
sprintf('Processing of "%s" file failed.', $fileInfo->getPathname()),
|
||||
$throwable->getCode(),
|
||||
$throwable
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user