Skip to content

Releases: samsonasik/ErrorHeroModule

2.23.0

16 Dec 03:21
2.23.0
6473592

Choose a tag to compare

  • 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

14 Sep 12:49
2.22.0
168f7cc

Choose a tag to compare

  • 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

17 Jul 20:18
2.21.0
0f9feaa

Choose a tag to compare

  • using service named Zend\Db\Adapter\AdapterInterface in configs
  • drop support for "elie29/zend-phpdi-config":"<4.0"

2.20.3

25 May 14:39
2.20.3
b1cbe19

Choose a tag to compare

exclude controller, and action from console url info

2.20.2

07 May 17:26
2.20.2
103df48

Choose a tag to compare

fix undefined index files_data in cli env

2.20.1

03 Mar 14:28
2.20.1
86008ca

Choose a tag to compare

Build Status Coverage Status PHPStan

  • added support of ContainerWrapper class usage by elie29/zend-phpdi-config ^3.0.9 and ^4.0

2.20

28 Feb 02:52
2.20
cdc0689

Choose a tag to compare

  • using layout->captureTo() to get ViewModel captureTo property
  • reduce request parameter in Expressive middleware
  • move error message has Uncaught prefix to private function
  • move phpError() function to trait
  • update zend-uri requirement to use ^2.7 for strtolower host

2.19.2

08 Feb 00:03
2.19.2
bc1e984

Choose a tag to compare

  • use $request->getHeaderLine(X-Requested-With) === XmlHttpRequest in Expressive middleware for ajax detection

2.19.1

29 Jan 13:58
2.19.1
b378981

Choose a tag to compare

  • ensure strtolower() on host as current Zend\Uri 2.6.1 read host as is
  • apply zend-coding-standard
  • reduce array size of needed of data passed to Mail Writer instance for files data
  • using instanceof for result filling in execOnShutdown()
  • return early on not has "adapters" key in TransformerAbstract::getDbAdapterConfig()

2.19.0

17 Jan 09:01
2.19.0
a78d8dd

Choose a tag to compare

Build Status Coverage Status PHPStan

#63 Buffering edge case issue fix:

  • Ensure \ob_end_flush() while ob_get_level() > 0 before \ob_start() to flush and turn off existing active output buffering if any.