From e3361bc3215cee8e3d57042535744ce04b663572 Mon Sep 17 00:00:00 2001 From: nuno maduro Date: Mon, 1 Jun 2026 07:08:50 +0100 Subject: [PATCH 1/2] fix: don't `ob_start` with pao --- src/KernelDump.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/KernelDump.php b/src/KernelDump.php index 4ecfe24b..383da0e6 100644 --- a/src/KernelDump.php +++ b/src/KernelDump.php @@ -4,6 +4,7 @@ declare(strict_types=1); namespace Pest; +use Laravel\Pao\Execution; use Pest\Support\View; use Symfony\Component\Console\Output\OutputInterface; @@ -28,6 +29,10 @@ final class KernelDump */ public function enable(): void { + if (class_exists(Execution::class) && Execution::running()) { + return; + } + ob_start(function (string $message): string { $this->buffer .= $message; From 40b88b62ef8a7c6fcae5fc28f1fa747f601c131b Mon Sep 17 00:00:00 2001 From: nuno maduro Date: Mon, 1 Jun 2026 07:08:59 +0100 Subject: [PATCH 2/2] release: v4.7.2 --- src/Pest.php | 2 +- .../Visual/Help/visual_snapshot_of_help_command_output.snap | 2 +- .../Visual/Version/visual_snapshot_of_help_command_output.snap | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Pest.php b/src/Pest.php index cacf4b40..36f390ff 100644 --- a/src/Pest.php +++ b/src/Pest.php @@ -6,7 +6,7 @@ namespace Pest; function version(): string { - return '4.7.1'; + return '4.7.2'; } function testDirectory(string $file = ''): string diff --git a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap index 36bdc58e..fd9239fb 100644 --- a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap @@ -1,5 +1,5 @@ - Pest Testing Framework 4.7.1. + Pest Testing Framework 4.7.2. USAGE: pest [options] diff --git a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap index 83894c89..e985d5df 100644 --- a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap @@ -1,3 +1,3 @@ - Pest Testing Framework 4.7.1. + Pest Testing Framework 4.7.2.