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.
It is a good idea to allow select "ZendFramework coding style" [1] and "PEAR Coding Standards" [2] in tab Editor -> Formatting. Selecting language PHP, should be able to select "ZendFramework coding style", "PEAR Coding Standards" or customize style. In addition the new version of symfony (Symfony2) use "ZendFramework coding style". [1] http://framework.zend.com/manual/en/coding-standard.coding-style.html [2] http://pear.php.net/manual/en/standards.php
Got my vote. One big irritation has always been, that when having a class property $_id, and generating getters and setters, getId() and setId($id) are not options.
+1 I think PHP formatting options are pretty nice now, but there a lot of them, not all of them obvious and not easy to remember. An option to save/import the coding style settings would solve problems (+ few pre-defined ones, like Zend or PEAR) @maghiel AFAIK, some of the issues of getters and setters with underscore are resolved in current dev builds.
It would be nice to have this feature, would be easier for the whole developer team configure their IDE. Btw Does anyone has an exported zend code style profile to share that works on netbeans 7.1?
+1 Is viable to create a preset that match zend coding standards with the current solution? If yes, a nice repository of presets (exports) would be good enough! Missing most the closing array parenthesis when multiple line array declaration. Like so: array( 'validator' => 'Callback', 'options' => array( 'callback' => array($class, 'func'), 'messages' => array( Zend_Validate_Callback::INVALID_VALUE => __('text') ) ) )