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

[jira] [Commented] (NETBEANS-4042) Unused use statement in PHP when used just in @throws phpdoc

    [ https://issues.apache.org/jira/browse/NETBEANS-4042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064147#comment-17064147 ] 

Junichi Yamamoto commented on NETBEANS-4042:
--------------------------------------------

Could you please write a simple example code and steps to reproduce it?

> Unused use statement in PHP when used just in @throws phpdoc
> ------------------------------------------------------------
>
>                 Key: NETBEANS-4042
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4042
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Code, php - Code Analysis, php - Editor
>    Affects Versions: 11.3
>            Reporter: Pavel Železný
>            Priority: Minor
>
> When the php code contains @throws, the previous version of Netbeans understand it and shorten the namespace and move him into "use" block.
> Unfortunately, the current version don't understand it an mark this "use" as "unused" and also delete them when the "fix usages" was called.



--
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