You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "troizet (via GitHub)" <gi...@apache.org> on 2023/08/07 03:08:50 UTC

[GitHub] [netbeans] troizet opened a new issue, #6310: PHP: A typed class field marked as deprecated is displayed as not deprecated

troizet opened a new issue, #6310:
URL: https://github.com/apache/netbeans/issues/6310

   ### Apache NetBeans version
   
   Apache NetBeans 18
   
   ### What happened
   
   A typed class field marked as deprecated is displayed as not deprecated.
   
   Displaying a field in the navigator:
   ![deprecated_field](https://github.com/apache/netbeans/assets/9607501/2637645a-7a25-4ea0-a50a-8712df18931f)
   
   Displaying a field in an autocomplete:
   ![deprecated_field_3](https://github.com/apache/netbeans/assets/9607501/e6c53cdc-83f9-4f1c-9f23-608591866386)
   
   Displaying a field in the editor when "Resolve Deprecated Elements" is checked:
   ![deprecated_field_2](https://github.com/apache/netbeans/assets/9607501/44419676-503c-4721-9da5-5b7a8397f1cf)
   
   
   ### How to reproduce
   
    - create a TestClass.php file with the TestClass class:
    ```php
   <?php
   
   class TestClass {
   
       /** @deprecated */
       public $di1;
   
       /** @deprecated */
       public int $di2;
   
       /**
        * @deprecated
        * @var int
        */
       public $di3;
   
       /**
        * @deprecated
        * @var int
        */
       public int $di4;
   
   }
   ```
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Debian GNU/Linux 12 (bookworm)
   
   ### JDK
   
   OpenJDK Runtime Environment 17.0.7+7-Debian-1deb12u1
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


[GitHub] [netbeans] junichi11 closed issue #6310: PHP: A typed class field marked as deprecated is displayed as not deprecated

Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 closed issue #6310: PHP: A typed class field marked as deprecated is displayed as not deprecated
URL: https://github.com/apache/netbeans/issues/6310


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


[GitHub] [netbeans] junichi11 commented on issue #6310: PHP: A typed class field marked as deprecated is displayed as not deprecated

Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 commented on issue #6310:
URL: https://github.com/apache/netbeans/issues/6310#issuecomment-1667134773

   Reproducible. Thank you for reporting it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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