diff --git a/src/ArchPresets/Laravel.php b/src/ArchPresets/Laravel.php index 26e706a9..4756bd0f 100644 --- a/src/ArchPresets/Laravel.php +++ b/src/ArchPresets/Laravel.php @@ -35,7 +35,8 @@ final class Laravel extends AbstractPreset ->ignoring('App\Features\Concerns'); $this->expectations[] = expect('App\Features') - ->toHaveMethod('resolve'); + ->toHaveMethod('resolve') + ->ignoring('App\Features\Concerns'); $this->expectations[] = expect('App\Exceptions') ->classes() diff --git a/src/Exceptions/ShouldNotHappen.php b/src/Exceptions/ShouldNotHappen.php index ed356e29..3398af09 100644 --- a/src/Exceptions/ShouldNotHappen.php +++ b/src/Exceptions/ShouldNotHappen.php @@ -20,7 +20,7 @@ final class ShouldNotHappen extends RuntimeException $message = $exception->getMessage(); parent::__construct(sprintf(<<<'EOF' -This should not happen - please create an new issue here: https://github.com/pestphp/pest. +This should not happen - please create an new issue here: https://github.com/pestphp/pest/issues Issue: %s PHP version: %s