You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2022/02/14 17:31:00 UTC

[jira] [Commented] (NETBEANS-6254) Support for prefixed @phpstan-* annotations

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

Tomáš Procházka commented on NETBEANS-6254:
-------------------------------------------

Probably duplicate of NETBEANS-5367

 

> Support for prefixed @phpstan-* annotations
> -------------------------------------------
>
>                 Key: NETBEANS-6254
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6254
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: php - Code Analysis, php - Editor
>    Affects Versions: 12.5
>            Reporter: Czukowski
>            Assignee: Junichi Yamamoto
>            Priority: Major
>
> Please implement support for at least basic prefixed tags specific to PHPStan.
> The most basic ones are {{phpstan-var}}, {{phpstan-param}} and {{phpstan-return}} and they do exact same thing as native non-prefixed annotation tags, except that they support some extra syntax for defining advanced types, which can be a topic for a separate Jira issue.
> Lack of support for these types can cause some classes in {{use}} statements to be shown as unused and automatically removed by Fix Imports feature. It may happen without the user noticing and result in a build failure later.
> https://phpstan.org/writing-php-code/phpdocs-basics#prefixed-tags



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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