fix: don't registers exception handlers

This commit is contained in:
Nuno Maduro
2023-03-02 16:24:16 +00:00
parent e9f83dc020
commit 62238b2714
3 changed files with 2 additions and 27 deletions

View File

@ -1,24 +0,0 @@
<?php
declare(strict_types=1);
namespace Pest\Bootstrappers;
use NunoMaduro\Collision;
use Pest\Contracts\Bootstrapper;
/**
* @internal
*/
final class BootExceptionHandler implements Bootstrapper
{
/**
* Boots the "Collision" exception handler.
*/
public function boot(): void
{
$handler = new Collision\Provider();
$handler->register();
}
}

View File

@ -27,7 +27,6 @@ final class Kernel
*/
private const BOOTSTRAPPERS = [
Bootstrappers\BootOverrides::class,
Bootstrappers\BootExceptionHandler::class,
Bootstrappers\BootSubscribers::class,
Bootstrappers\BootFiles::class,
Bootstrappers\BootView::class,