Fixing scrutinizer issue and skip some tests for PHP 5.3