Tomáš Procházka created NETBEANS-5172:
-----------------------------------------

             Summary: Wrong formatting of anonymous function
                 Key: NETBEANS-5172
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5172
             Project: NetBeans
          Issue Type: Bug
          Components: php - Formatting & Indentation
    Affects Versions: 12.2
            Reporter: Tomáš Procházka


Formatting of anonymous function does not add missing space before parentheses 
in declaration.

Code:
{code:php}
$lambda = function($param) use($parent) {
    echo "$param\n";
};
{code}

Expected result:
{code:php}
$lambda = function ($param) use ($parent) {
    echo "$param\n";
};
{code}




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

Reply via email to