Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
12.0
Description
Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" before "declare(strict_types=1);"
It does not happen if a use line is already present in the source code (at the correct position).
declare(strict_types=1); must always be the first line.
Attachments
Attachments
Issue Links
- is duplicated by
-
NETBEANS-6083 Fix Imports move use statement before namespace and file-level docblock
- Closed
- links to