feat: improves parallel output

This commit is contained in:
Nuno Maduro
2023-02-18 15:04:10 +00:00
parent c9fb8e6f52
commit 813a74759b
2 changed files with 4 additions and 4 deletions

View File

@ -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');

View File

@ -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');
});