mirror of
https://github.com/pestphp/pest.git
synced 2026-06-05 02:52:12 +02:00
wip
This commit is contained in:
@ -912,9 +912,10 @@ final class Tia implements AddsOutput, HandlesArguments, Terminable
|
|||||||
$reasons === [] ? '' : ' ('.implode(', ', $reasons).')',
|
$reasons === [] ? '' : ' ('.implode(', ', $reasons).')',
|
||||||
));
|
));
|
||||||
|
|
||||||
$previewLimit = 10;
|
|
||||||
$sorted = $affected;
|
$sorted = $affected;
|
||||||
sort($sorted);
|
sort($sorted);
|
||||||
|
|
||||||
|
$previewLimit = $this->output->isVerbose() ? count($sorted) : 10;
|
||||||
$preview = array_slice($sorted, 0, $previewLimit);
|
$preview = array_slice($sorted, 0, $previewLimit);
|
||||||
|
|
||||||
foreach ($preview as $file) {
|
foreach ($preview as $file) {
|
||||||
|
|||||||
Reference in New Issue
Block a user