convert code to PSR-2 filter (PHP_CS validation)