camelot / thrower
Static class to catch & rethrow PHP errors.
v1.1.0
2021-08-23 09:24 UTC
Requires
- php: ^7.1.3 || ^8.0
Requires (Dev)
- camelot/coding-style: ^3.0
- friendsofphp/php-cs-fixer: ^3.0
- phpunit/phpunit: ^7.5 || ^8.3 || ^9.5
- symfony/phpunit-bridge: ^4.3 || ^5.0
This package is auto-updated.
Last update: 2024-10-23 16:08:40 UTC
README
This library provides utility functions to help simplify menial tasks.
The Camelot team believes the PHP error reporting system is a mistake. Many built-in functions utilize it, leading to inconsistent results and head scratching.
This library provides some wrappers around some of these functions. Our code should always throw exceptions instead of triggering errors/warnings/notices (excluding deprecation warnings).