mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 08:50:50 +00:00
Shorten output rule (#6114)
This commit is contained in:
parent
37d5978025
commit
ad36b21383
|
@ -202,7 +202,8 @@ final class ConsoleOutputFormatter implements OutputFormatterInterface
|
|||
|
||||
$rectorsChangelogsLines = [];
|
||||
foreach ($rectorsChangelogs as $rectorClass => $changelog) {
|
||||
$rectorsChangelogsLines[] = $changelog === null ? $rectorClass : $rectorClass . ' (' . $changelog . ')';
|
||||
$rectorShortClass = (string) Strings::after($rectorClass, '\\', -1);
|
||||
$rectorsChangelogsLines[] = $changelog === null ? $rectorShortClass : $rectorShortClass . ' (' . $changelog . ')';
|
||||
}
|
||||
|
||||
return $rectorsChangelogsLines;
|
||||
|
|
Loading…
Reference in New Issue
Block a user