vysker/vscode-php-formatter

New line issue

Opened this issue · 2 comments

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);

I want the code like this:

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

Please Help!