This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
//before formatting $arr = array(1, 2, 3, 4, "b" => 5, "a" => 6); //after $arr = array( 1, 2, 3, 4, "b" => 5, "a" => 6); //<-- //expected $arr = array( 1, 2, 3, 4, "b" => 5, "a" => 6 ); //<--
It's an intent to be consistent with other wrapping options, where closing brace is right after last wrapped item. But I can make an enhancement from this defect and consider if some extra option could be added for this behavior for next release. Thanks.
I believe the expected behavior is the correct one, or at least the less surprising one. Could this become the default behavior ?