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

   ### Description
   
   https://www.php-fig.org/per/coding-style/#45-method-and-function-parameters
   
   > When the argument list is split across multiple lines, the closing 
parenthesis and opening brace MUST be placed together on their own line with 
one space between them.
   
   Currently there is no multiline option in formatting options. Code formatted 
by NetBeans is out of spec:
   
   ```php
   class ArrayPropertyType extends PropertyType
   {
        public function __construct(
                public readonly PropertyType $key,
                public readonly PropertyType $value,
        )
        {
                
        }
   }
   ```
   
   
![image](https://github.com/apache/netbeans/assets/19204073/727b98e9-cefc-4cdd-89d9-378b444f82f5)
   
   ### Use case/motivation
   
   PER standard compliance.
   
   ### Related issues
   
   _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