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.
Summary: | Support the ZendFramework coding style and PEAR Coding Standards | ||
---|---|---|---|
Product: | php | Reporter: | guinsel |
Component: | Formatting & Indentation | Assignee: | Ondrej Brejla <obrejla> |
Status: | NEW --- | ||
Severity: | normal | CC: | luckyduck |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
guinsel
2010-07-20 11:09:06 UTC
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') ) ) ) |