You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2020/12/20 10:05:00 UTC

[jira] [Created] (NETBEANS-5172) Wrong formatting of anonymous function

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 &amp; 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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