You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jayce (Jira)" <ji...@apache.org> on 2020/11/03 09:28:00 UTC

[jira] [Updated] (NETBEANS-4978) PHP Menu Source->Fix uses break code

     [ https://issues.apache.org/jira/browse/NETBEANS-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jayce updated NETBEANS-4978:
----------------------------
    Attachment: 01BeforeFixUses.png
                02AfterFixUses.png

> PHP Menu Source->Fix uses break code
> ------------------------------------
>
>                 Key: NETBEANS-4978
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4978
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: php - Editor
>            Reporter: Jayce
>            Priority: Minor
>         Attachments: 01BeforeFixUses.png, 02AfterFixUses.png
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists