Skip to content

Releases: samsonasik/ErrorHeroModule

4.0.1

25 Jun 19:09
4.0.1
cad644e
Compare
Choose a tag to compare

Test and doc about E_NOTICE -> E_WARNING fix for undefined array key

4.0.0

20 Jun 03:41
4.0.0
85454fb
Compare
Choose a tag to compare
  • Upgrade to PHP 8
  • drop PHPDI support
  • migrate to github action

ci build Code Coverage

3.1.1

28 Apr 13:18
3.1.1
9877c0f
Compare
Choose a tag to compare

Ensure $request->getContent() casted to string on str_replace usage.

3.1.0

20 May 14:52
3.1.0
ce07e9f
Compare
Choose a tag to compare

Build Status Coverage Status

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

03 Feb 15:32
3.0.1
10bb787
Compare
Choose a tag to compare
  • update deprecated function call of toZend() to toLaminas() on Psr7ServerRequest
  • naming fixes

3.0.0

23 Jan 07:10
3.0.0
1fd8a5a
Compare
Choose a tag to compare

upgrade for full laminas and mezzio application

2.23.0

16 Dec 03:21
2.23.0
6473592
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

exclude controller, and action from console url info