From 9f5506364b147379d3d9655b72586c3f972883cd Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 14 Feb 2023 08:29:58 +0000 Subject: [PATCH] feat: improves should not happen exception --- src/Exceptions/ShouldNotHappen.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Exceptions/ShouldNotHappen.php b/src/Exceptions/ShouldNotHappen.php index 47b764c6..ed356e29 100644 --- a/src/Exceptions/ShouldNotHappen.php +++ b/src/Exceptions/ShouldNotHappen.php @@ -20,12 +20,11 @@ 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. -- Issue: %s -- PHP version: %s -- Operating system: %s + Issue: %s + PHP version: %s + Operating system: %s EOF , $message, phpversion(), PHP_OS), 1, $exception); }