Skip to content

2.14.0

Choose a tag to compare

@samsonasik samsonasik released this 21 Sep 08:02
· 484 commits to master since this release
2.14.0
093f8e1

Build Status Coverage Status PHPStan

  • Handle ALL Fatal errors. It now even can handle this kind of code :
$y = new class implements \stdClass {};

that will report to DB as the following:

-[ RECORD 1 ]+--------------------------------------------------------------------------------------------------------------------------------
id           | 263
date         | 2018-09-21 14:59:53
type         | 3
event        | class@anonymous cannot implement stdClass - it is not an interface
url          | http://localhost:8080/error-preview/fatal
file         | /Users/samsonasik/www/expressive3-test/vendor/samsonasik/error-hero-module/src/Middleware/Routed/Preview/ErrorPreviewAction.php
line         | 27
error_type   | E_ERROR
trace        | #0 [internal function]: ErrorHeroModule\Middleware\Expressive->execOnShutdown()                                                +
             | #1 {main}
request_data | array (                                                                                                                        +
             |   'request_method' => 'GET',                                                                                                   +
             |   'query_data' =>                                                                                                              +
             |   array (                                                                                                                      +
             |   ),                                                                                                                           +
             |   'body_data' =>                                                                                                               +
             |   array (                                                                                                                      +
             |   ),                                                                                                                           +
             |   'raw_data' => '',                                                                                                            +
             |   'files_data' =>                                                                                                              +
             |   array (                                                                                                                      +
             |   ),                                                                                                                           +
             |   'cookie_data' =>                                                                                                             +
             |   array (                                                                                                                      +

             |   ),                                                                                                                           +

and of course, notify to your email when you activate its notification option.