mokraemer opened a new issue, #9533:
URL: https://github.com/apache/netbeans/issues/9533

   ### Apache NetBeans version
   
   Apache NetBeans 30
   
   ### What happened
   
   Autoformater borkes code
   
   ### Language / Project Type / NetBeans Component
   
   _No response_
   
   ### How to reproduce
   
   add a backed enum:
   ```
   <?php
   enum Type: string{
        case UNSET = '';
   
        public function get(int $refID): int{
     }
   }
   ```
   
   use the autoformater. It results in a broken php file:
   ```
   <?php
   enum Type: string{
   
        case UNSET = '';
   
        public function get(
   
        int  $refID): int{
        }
        }       
   ```
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   mageia linux 10
   
   ### JDK
   
   java-latest-openjdk-25.0.3.0.9-1.rolling.1.mga10.x86_64
   
   ### Apache NetBeans packaging
   
   Apache NetBeans platform
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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

Reply via email to