-
Notifications
You must be signed in to change notification settings - Fork 917
Closed
Labels
PHP[ci] enable extra PHP tests (php/php.editor)[ci] enable extra PHP tests (php/php.editor)kind:bugBug report or fixBug report or fix
Milestone
Description
Apache NetBeans version
Apache NetBeans 20
What happened
Get incorrect result we format the below example:
Example:
<?php
namespace {
use Vendor\Class1;
$test = 1;
}Result:
<?php
namespace {
use Vendor\Class1;
$test = 1;
}Language / Project Type / NetBeans Component
PHP editor
How to reproduce
Steps to reproduce it:
- Create a new file
- Copy & Paste the below example to the new file
- Source > Format
Options:
default
Example:
<?php
namespace {
use Vendor\Class1;
$test = 1;
}Expected result:
<?php
namespace {
use Vendor\Class1;
$test = 1;
}Actual result:
<?php
namespace {
use Vendor\Class1;
$test = 1;
}Did this work correctly in an earlier version?
No / Don't know
Operating System
Ubuntu 22.04
JDK
JDK 19
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PHP[ci] enable extra PHP tests (php/php.editor)[ci] enable extra PHP tests (php/php.editor)kind:bugBug report or fixBug report or fix