netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

PHP blank line formatting for abstract method not working

Open zkwbbr opened this issue 2 months ago • 0 comments

Apache NetBeans version

Apache NetBeans 27

What happened

Tools > Options > Formatting > PHP > Blank Lines > After function = 1

Expected:

Image

Actual:

Image

Notice abstract function a(); did not have a blank line below it when it shoud have.

Language / Project Type / NetBeans Component

PHP

How to reproduce

Tools > Options > Formatting > PHP > Blank Lines > After function = 1

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows

JDK

21.0.1

Apache NetBeans packaging

Apache NetBeans platform, FoAN provided installer

Anything else

No response

Are you willing to submit a pull request?

No

zkwbbr avatar Oct 31 '25 12:10 zkwbbr