Slightly better PHP exceptions.
Slightly better exceptions.
composer require webino\exceptions
Exception message formatting:
$exc = (new Exception('Exception %s, %s.'))->format($foo, $bar); echo $exc->getMessage(); // => Exception `Foo`, `Bar`.
Coding style check:
Coding style fix:
Git pre-commit setup:
ln -s ../../pre-commit .git/hooks/pre-commit
Please, if you are interested in this library report any issues and don't hesitate to contribute. We will appreciate any contributions on development of this library.