You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/12/03 08:54:49 UTC
[GitHub] [netbeans] zeleznypa opened a new issue, #5043: PHP - Highlight calling deprecated method
zeleznypa opened a new issue, #5043:
URL: https://github.com/apache/netbeans/issues/5043
### Description
When the code contain calling a method on the class, that is marked as `@deprecated`, it will be useful to highlight this as warning same like `Wrong param name` for example
<img width="1099" alt="Snímek obrazovky 2022-12-03 v 9 50 55" src="https://user-images.githubusercontent.com/1191472/205432752-0c98d65a-3a96-4008-93ff-04a3257a15e0.png">
The `@deprecated` can be in the phpDoc on the method or also on the whole class/interface.
### Use case/motivation
I would like to be informed, that I'm calling something, that is deprecated and will be removed or changed in the future.
Sometimes the `@deprecated` phpDoc also contain an useful information about how to change the current code.
### Related issues
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
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] zeleznypa commented on issue #5043: PHP - Highlight calling deprecated method
Posted by GitBox <gi...@apache.org>.
zeleznypa commented on issue #5043:
URL: https://github.com/apache/netbeans/issues/5043#issuecomment-1340611315
@troizet Thanks much, it is what I'm looking for.
--
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] troizet commented on issue #5043: PHP - Highlight calling deprecated method
Posted by GitBox <gi...@apache.org>.
troizet commented on issue #5043:
URL: https://github.com/apache/netbeans/issues/5043#issuecomment-1336652029
You can enable this feature in Options -> php -> Annotations -> Resolve Deprecated Elements.
--
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] zeleznypa commented on issue #5043: PHP - Highlight calling deprecated method
Posted by GitBox <gi...@apache.org>.
zeleznypa commented on issue #5043:
URL: https://github.com/apache/netbeans/issues/5043#issuecomment-1336394101
@Chris2011 Any variant of highlighting this will be nice.
--
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] Chris2011 commented on issue #5043: PHP - Highlight calling deprecated method
Posted by GitBox <gi...@apache.org>.
Chris2011 commented on issue #5043:
URL: https://github.com/apache/netbeans/issues/5043#issuecomment-1336275496
I would prefer to strike through them as we already know this feature. What do you think? @zeleznypa
<img width="286" alt="image" src="https://user-images.githubusercontent.com/795658/205465818-87042a0a-509c-447d-a5b6-67198e139d1b.png">
This is more consistent in my opinion.
--
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] zeleznypa closed issue #5043: PHP - Highlight calling deprecated method
Posted by GitBox <gi...@apache.org>.
zeleznypa closed issue #5043: PHP - Highlight calling deprecated method
URL: https://github.com/apache/netbeans/issues/5043
--
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