Tomáš Procházka created NETBEANS-5342: -----------------------------------------
Summary: Support for PSR-12 parameter wrapping Key: NETBEANS-5342 URL: https://issues.apache.org/jira/browse/NETBEANS-5342 Project: NetBeans Issue Type: Improvement Components: php - Formatting & Indentation Affects Versions: 12.3 Reporter: Tomáš Procházka NetBeans does not support wrapping of long argument list in function definition and in function call as they are defined in PSR-12. PSR-12 defines that if long argument list is wrapped, then each argument is on its own line, first argument starts on new line and closing parentheses is on same line as opening brace. Example: {code:php} function getFoo( $arg1, $arg2, ): string { return 'foo'; } $foo = getFool( $arg1, $arg2, ); {code} Reference: * [https://www.php-fig.org/psr/psr-12/#45-method-and-function-arguments] * [https://www.php-fig.org/psr/psr-12/#47-method-and-function-calls] -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists