mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 02:07:23 +01:00
refacto: bootstrappers and parallel minor stuff
This commit is contained in:
@ -13,7 +13,7 @@ use Pest\Contracts\Bootstrapper;
|
||||
final class BootExceptionHandler implements Bootstrapper
|
||||
{
|
||||
/**
|
||||
* Boots the Exception Handler.
|
||||
* Boots the "Collision" exception handler.
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
|
||||
@ -19,7 +19,7 @@ use SebastianBergmann\FileIterator\Facade as PhpUnitFileIterator;
|
||||
final class BootFiles implements Bootstrapper
|
||||
{
|
||||
/**
|
||||
* The Pest convention.
|
||||
* The structure of the tests directory.
|
||||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
@ -32,7 +32,7 @@ final class BootFiles implements Bootstrapper
|
||||
];
|
||||
|
||||
/**
|
||||
* Boots the Subscribers.
|
||||
* Boots the structure of the tests directory.
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
|
||||
@ -23,7 +23,7 @@ final class BootOverrides implements Bootstrapper
|
||||
];
|
||||
|
||||
/**
|
||||
* Boots the Subscribers.
|
||||
* Boots the list of files to be overridden.
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
|
||||
@ -16,7 +16,7 @@ use PHPUnit\Event\Subscriber;
|
||||
final class BootSubscribers implements Bootstrapper
|
||||
{
|
||||
/**
|
||||
* The Kernel subscribers.
|
||||
* The list of Subscribers.
|
||||
*
|
||||
* @var array<int, class-string<Subscriber>>
|
||||
*/
|
||||
@ -27,7 +27,7 @@ final class BootSubscribers implements Bootstrapper
|
||||
];
|
||||
|
||||
/**
|
||||
* Creates a new Subscriber instance.
|
||||
* Creates a new instance of the Boot Subscribers.
|
||||
*/
|
||||
public function __construct(
|
||||
private readonly Container $container,
|
||||
@ -35,7 +35,7 @@ final class BootSubscribers implements Bootstrapper
|
||||
}
|
||||
|
||||
/**
|
||||
* Boots the Subscribers.
|
||||
* Boots the list of Subscribers.
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
|
||||
@ -13,6 +13,9 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
*/
|
||||
final class BootView implements Bootstrapper
|
||||
{
|
||||
/**
|
||||
* Creates a new instance of the Boot View.
|
||||
*/
|
||||
public function __construct(
|
||||
private readonly OutputInterface $output
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user