snipershady opened a new issue #3839:
URL: https://github.com/apache/netbeans/issues/3839
### Apache NetBeans version
Apache NetBeans 13
### What happened
Netbeans identify this Enum with Syntax Error
```
enum Suit {
case Clubs;
case Diamonds;
case Hearts;
case Spades;
}
```
or
```
enum Status: int
{
case ConversationStarted = 0;
case PresentationRequested = 1;
case InvitorRequested = 2;
case ConversationEnded = 3;
}
```
### How to reproduce
Write a new enum in a project based on PHP 8.1
### Did this work correctly in an earlier version?
No
### Operating System
Debian 11
### JDK
openjdk 11
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_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: [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