Closed craigpotter closed 3 months ago
This adds a new onFatalException middleware option that will be run went a fatal error occurs.
onFatalException
Example Usage:
Config::globalMiddleware() ->onFatalException(function (FatalRequestException $exception) { // do something }, 'test', PipeOrder::FIRST);
This could be used to notify someone or log errors.
Introduced usage of describe to tidy / group tests however this required bumping the minimum PestPHP version from 2.6 to 2.9
describe
This adds a new
onFatalException
middleware option that will be run went a fatal error occurs.Example Usage:
This could be used to notify someone or log errors.
Introduced usage of
describe
to tidy / group tests however this required bumping the minimum PestPHP version from 2.6 to 2.9