:bug: fix PHP 5.4 compatibility
:memo: fix badges
:recycle: Apply Scrutinizer suggestions