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.
Product Version: NetBeans IDE Dev (Build 100420-055a9c35569f) Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01 <?php namespace Test { class Test { private $var = 'abc'; public function testFunc() { echo $this->testFunc(); return null; } } } ?> formatting results into <?phpnamespace Test{class Test { private $var = 'abc'; public function testFunc() { echo $this->testFunc(); return null; }}}?> i see there are almost 300tests failing so I don't mind if you close this issue that is fixed and I will verify if it works already ...
The failing test should be now fixed. A few minutes ago I have commit the fix. The issue with { after namespace declaration is already reported as issue #184330, so I close the issue as fixed.