[wip][psr-2] Apply rules about spaces around method declarations

php-cs-fixer fix --fixers=function_declaration ./library
php-cs-fixer fix --fixers=function_declaration ./tests