mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 02:07:23 +01:00
Adds compact printer
This commit is contained in:
@ -5,6 +5,7 @@ declare(strict_types=1);
|
||||
namespace Pest\PendingCalls;
|
||||
|
||||
use Closure;
|
||||
use NunoMaduro\Collision\Adapters\Phpunit\Printers\DefaultPrinter;
|
||||
use Pest\TestSuite;
|
||||
|
||||
/**
|
||||
@ -52,6 +53,13 @@ final class UsesCall
|
||||
$this->targets = [$filename];
|
||||
}
|
||||
|
||||
public function compact(): self
|
||||
{
|
||||
DefaultPrinter::compact(true);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The directories or file where the
|
||||
* class or traits should be used.
|
||||
|
||||
Reference in New Issue
Block a user