vscode-phpfmt icon indicating copy to clipboard operation
vscode-phpfmt copied to clipboard

PSR2EmptyFunction removes lines between functions

Open metanomial opened this issue 6 months ago • 4 comments

I am unclear if this is intended behavior or not.

e.g.,

PSR2EmptyFunction disabled:

function foo() {
}

function bar(int $baz, string $qux) {
    noop();
}

PSR2EmptyFunction enabled:

function foo() {}
function bar(int $baz, string $qux) {
    noop();
}

metanomial avatar Jun 15 '25 19:06 metanomial