mirror of
https://github.com/pestphp/pest.git
synced 2026-03-13 03:07:22 +01:00
ignore App\Exceptions\Handler.php in arch laravel preset
This commit is contained in:
committed by
GitHub
parent
4e2987d438
commit
bb3decf3cc
@ -31,7 +31,7 @@ final class Laravel extends AbstractPreset
|
|||||||
->ignoring('App\Enums\Concerns');
|
->ignoring('App\Enums\Concerns');
|
||||||
|
|
||||||
$this->expectations[] = expect('App\Features')
|
$this->expectations[] = expect('App\Features')
|
||||||
->toBeClasses()
|
->toBeClasses()->
|
||||||
->ignoring('App\Features\Concerns');
|
->ignoring('App\Features\Concerns');
|
||||||
|
|
||||||
$this->expectations[] = expect('App\Features')
|
$this->expectations[] = expect('App\Features')
|
||||||
@ -39,7 +39,8 @@ final class Laravel extends AbstractPreset
|
|||||||
|
|
||||||
$this->expectations[] = expect('App\Exceptions')
|
$this->expectations[] = expect('App\Exceptions')
|
||||||
->classes()
|
->classes()
|
||||||
->toImplement('Throwable');
|
->toImplement('Throwable')
|
||||||
|
->ignoring('App\Exceptions\Handler');
|
||||||
|
|
||||||
$this->expectations[] = expect('App')
|
$this->expectations[] = expect('App')
|
||||||
->not->toImplement(Throwable::class)
|
->not->toImplement(Throwable::class)
|
||||||
|
|||||||
Reference in New Issue
Block a user