szemul / error-handler
Simple extensible error handler
2.0.2
2023-01-16 20:30 UTC
Requires
- php: ^8.0
- psr/log: ^1 | ^2 | ^3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0.0
- jetbrains/phpstorm-attributes: ^1.0
- mockery/mockery: ^1.0
- phpstan/phpstan: ^1.6.8
- phpunit/phpunit: ^9.5.5
- wmde/psr-log-test-doubles: ^3
This package is auto-updated.
Last update: 2026-02-17 03:24:39 UTC
README
Simple extensible error handler
Functional Testing of an application
For functional testing it is advised to Mock the ErrorHandlerRegistry in the sut to always stop on unhandled errors/exceptions and display them.
This helps identify errors.
Just use the \Szemul\ErrorHandler\Test\ErrorHandlerRegistryMock instead of the real one!