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`.
Static analysis:
composer analyse
Coding style check:
composer check
Coding style fix:
composer fix
Testing:
composer test
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.