you can fix cs with php-cs-fixer :

    php php-cs-fixer.phar /path/to/zf2/tests/ZendTest/Db/Adapter/Driver/Pdo/ResultTest.php --fixers=indentation,function_declaration