This commit is contained in:
nuno maduro
2026-05-02 01:03:06 +01:00
parent 3cc9b169e3
commit 1d3e8bb5dd

View File

@ -912,9 +912,10 @@ final class Tia implements AddsOutput, HandlesArguments, Terminable
$reasons === [] ? '' : ' ('.implode(', ', $reasons).')',
));
$previewLimit = 10;
$sorted = $affected;
sort($sorted);
$previewLimit = $this->output->isVerbose() ? count($sorted) : 10;
$preview = array_slice($sorted, 0, $previewLimit);
foreach ($preview as $file) {