From 813a74759bf1c4fd62cfb7434e936b9b314adca7 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Sat, 18 Feb 2023 15:04:10 +0000 Subject: [PATCH] feat: improves parallel output --- src/KernelDump.php | 4 ++-- tests/Visual/Parallel.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/KernelDump.php b/src/KernelDump.php index 3beeb5b2..004dc464 100644 --- a/src/KernelDump.php +++ b/src/KernelDump.php @@ -40,7 +40,7 @@ final class KernelDump */ public function disable(): void { - @ob_clean(); + @ob_clean(); // @phpstan-ignore-line if ($this->buffer !== '') { $this->flush('INFO'); @@ -52,7 +52,7 @@ final class KernelDump */ public function shutdown(): void { - @ob_clean(); + @ob_clean(); // @phpstan-ignore-line if ($this->buffer !== '') { $this->flush('ERROR'); diff --git a/tests/Visual/Parallel.php b/tests/Visual/Parallel.php index 539d2fad..9d37e64d 100644 --- a/tests/Visual/Parallel.php +++ b/tests/Visual/Parallel.php @@ -13,6 +13,6 @@ $run = function () { }; test('parallel', function () use ($run) { - expect($run())->toContain('Running 650 tests using 3 processes') - ->toContain('Tests: 4 incomplete, 4 todos, 15 skipped, 626 passed (1545 assertions)'); + expect($run())->toContain('Tests: 4 incomplete, 4 todos, 15 skipped, 626 passed (1545 assertions)') + ->toContain('Parallel: 3 processes'); });