You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[PHP] Enum formater error with empty string case #9533
With assertions enabled the minimal reproducer is:
enum Type {
caseUNSET;
}
The issue is not the empty string it is the fact, that UNSET is lexed as a keyword and not as an identifier. This in turn causes the formatter to take a "wrong turn" and process the enum in a wrong way.
Activity
matthiasblaesing commentedon Jul 27, 2026
With assertions enabled the minimal reproducer is:
The issue is not the empty string it is the fact, that
UNSETis lexed as a keyword and not as an identifier. This in turn causes the formatter to take a "wrong turn" and process the enum in a wrong way.matthiasblaesing commentedon Jul 28, 2026
@mokraemer please have a look at #9535. That should fix the issue. A nightly build is available from the checks page or directly: https://github.com/apache/netbeans/suites/82114986256/artifacts/8667206631.