PSR-2 and callable check

PSR-2 http://www.php-fig.org/psr/2/