vysker / vscode-php-formatter

Visual Studio Code extension. A wrapper for the Sensiolabs PHP CS Fixer. Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible).
MIT License
93 stars 12 forks source link

New line issue #19

Open marcosfabrejunior opened 7 years ago

marcosfabrejunior commented 7 years ago

How do I not create new row after the function declaration?

Example: Before: public function listaCategoriasCliente($id, $jsonEncode = false) { $dao = new CategoriaClienteDAO($this ->db);

After: public function listaCategoriasCliente($id, $jsonEncode = false) { $dao = new CategoriaClienteDAO($this ->db);

marcosfabrejunior commented 7 years ago

I want the code like this:

public function listaCategoriasCliente($id, $jsonEncode = false) { $dao = new CategoriaClienteDAO($this ->db);

marcosfabrejunior commented 7 years ago

Please Help!