From a5317c56406216edceb46a60a311fe0273a176d3 Mon Sep 17 00:00:00 2001 From: Candra Sudirman Date: Fri, 7 Feb 2025 23:51:30 +0700 Subject: [PATCH 1/3] fix: add ignoring clause for `App\Features\Concerns` on Laravel Preset --- src/ArchPresets/Laravel.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() From d6cbd12d8be41528da38b1a1a068e526774613b5 Mon Sep 17 00:00:00 2001 From: JonPurvis Date: Mon, 16 Jun 2025 02:51:48 +0100 Subject: [PATCH 2/3] remove period from message --- src/Exceptions/ShouldNotHappen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exceptions/ShouldNotHappen.php b/src/Exceptions/ShouldNotHappen.php index ed356e29..73dea370 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 Issue: %s PHP version: %s From 97c136cd94e002677b2a4251538659d93044b47e Mon Sep 17 00:00:00 2001 From: JonPurvis Date: Mon, 16 Jun 2025 02:55:11 +0100 Subject: [PATCH 3/3] link to issues page --- src/Exceptions/ShouldNotHappen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exceptions/ShouldNotHappen.php b/src/Exceptions/ShouldNotHappen.php index 73dea370..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