[PHP] Enum instantiation must produce error
Open
kind:feature
PHP
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 16
### What happened
Enum can't be instantiated.
### How to reproduce
```php
Contributor guide
Research direction
Start with the supplied PHP reproduction in NetBeans' PHP support and trace how enum construction is analyzed. Done means `new Suit`, `new static`, and `new self` are reported as errors, while the two static method calls remain valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100