the-liquid-metal opened a new issue, #5086:
URL: https://github.com/apache/netbeans/issues/5086

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   Not relevant enum methods must produce error
   
   ### How to reproduce
   
   ```php
   enum Suit: string {
     case Hearts = 'H';
     case Diamonds = 'D';
     case Clubs = 'C';
     case Spades = 'S';
   
     // already correct error message display
     public function __construct($param) {
       echo "__construct";
     }
   
     // this statement must display error
     public function __destruct() {
       echo "__destruct";
     }
   
     // this statement must display error
     public function __set($arg1, $arg2) {
       echo "__set";
     }
   
     // this statement must display error
     public function __get($arg1) {
       echo "__get";
     }
   
     // OK
     public function __call(string $name, array $args) : mixed {
       echo "__call";
     }
   
     // OK
     public static function __callStatic(string $name, array $arguments): mixed 
{
       echo "__callStatic";
     }
   }
   ```
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7 Runtime: Java(TM) 
SE Runtime Environment 14.0.1+7
   
   ### 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: notifications-unsubscr...@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to