Change success message (#5745)

This commit is contained in:
Oliver Nybroe 2021-03-03 11:22:17 +01:00 committed by GitHub
parent 92f2c5b3a6
commit 896a87c631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,7 +218,7 @@ final class ConsoleOutputFormatter implements OutputFormatterInterface
}
return sprintf(
'Rector changed %d file%s %s.',
'%d file%s %s by Rector.',
$changeCount,
$changeCount > 1 ? 's' : '',
$this->configuration->isDryRun() ? 'would have changed (dry-run)' : ($changeCount === 1 ? 'has' : 'have') . ' been changed'