Releases: samsonasik/ErrorHeroModule
Releases · samsonasik/ErrorHeroModule
4.0.1
Test and doc about E_NOTICE -> E_WARNING fix for undefined array key
4.0.0
3.1.1
Ensure $request->getContent()
casted to string on str_replace
usage.
3.1.0
Added ability to allow or not include $_FILES to email attachments via include-files-to-attachments
config under email-notification-settings
:
<?php
namespace ErrorHeroModule;
// ...
return [
'error-hero-module' => [
// ...
'email-notification-settings' => [
// ...
// to include or not $_FILES on send mail
'include-files-to-attachments' => true,
// ...
],
// ...
],
];
3.0.1
- update deprecated function call of toZend() to toLaminas() on Psr7ServerRequest
- naming fixes
3.0.0
upgrade for full laminas and mezzio application
2.23.0
- added ability to exclude specific PHP E_* error and Exception with only for specific message provided. The exclude configuration can be like the following:
// excluded php errors ( http://www.php.net/manual/en/errorfunc.constants.php )
'exclude-php-errors' => [
// can be specific error
\E_USER_DEPRECATED,
// can be specific error with specific message
[\E_WARNING, 'specific error message'],
],
// excluded exceptions
'exclude-exceptions' => [
// can be an Exception class or class extends Exception class
\App\Exception\MyException::class,
// can be specific exception with specific message
[\RuntimeException::class, 'specific exception message'],
// or specific Error class with specific message
[\Error::class, 'specific error message'],
],
2.22.0
- use zend-log:^2.10 to extends existing ZF Json Log formatter
- use kahlan dev-dev for php 7.4 usage
- use squizlabs/php_codesniffer:3.4.2
- remove unused create var on object creation from string when possible
2.21.0
- using service named Zend\Db\Adapter\AdapterInterface in configs
- drop support for "elie29/zend-phpdi-config":"<4.0"
2.20.3
exclude controller, and action from console url info