haidubogdan commented on code in PR #9113:
URL: https://github.com/apache/netbeans/pull/9113#discussion_r2869760720
##########
php/php.editor/src/org/netbeans/modules/php/editor/parser/PHP5ErrorHandlerImpl.java:
##########
@@ -397,6 +397,8 @@ public static String getTokenTextForm(int token) {
case ASTPHP5Symbols.T_YIELD : text = "yield"; break; //NOI18N
case ASTPHP5Symbols.T_YIELD_FROM : text = "yield from"; break;
//NOI18N
case ASTPHP5Symbols.T_READONLY : text = "readonly"; break;
//NOI18N PHP 8.1
+ //skiping T_PIPE = "|>" PHP 8.5 as it doesn't bring much to
the expected tokens error message
Review Comment:
This change affects all the parser error messages + it's on a global version
level, so the pipe operator will be suggested for Php 8.4 parser errors.
A lot of unit tests which shouldn't be impacted by the add of pipe operator
will need to be recreated because it will mention pipe operator as a token
suggestion.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists