mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 01:07:23 +01:00
feat: improves dumper
This commit is contained in:
@ -40,13 +40,7 @@ final class Kernel
|
||||
private readonly Application $application,
|
||||
private readonly OutputInterface $output,
|
||||
) {
|
||||
register_shutdown_function(function (): void {
|
||||
if (error_get_last() !== null) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->shutdown();
|
||||
});
|
||||
register_shutdown_function(fn () => $this->shutdown());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user