Add an observer for the exit code after output plugins (#1905)

Co-authored-by: Punyapal Shah <mrpunyapal@gmail.com>
This commit is contained in:
Florian
2026-11-20 19:42:46 +01:00
committed by GitHub
parent 89999bdaed
commit 776a44a391
5 changed files with 143 additions and 6 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ test('parallel', function () use ($run): void {
$output = implode("\n", array_slice(explode("\n", (string) $output), -10));
$profileOutput = $run('tests/Fixtures/Suites/SuccessOnly.php', '--profile');
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 30 skipped, 1759 passed (3800 assertions)';
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 30 skipped, 1766 passed (3814 assertions)';
expect($output)
->toContain("Tests: {$expected}")