#13: Implement naming rules, e.g. short variables, parameter etc.
Issue revisions
- new by mapi at 2010-F-28 13:02
- assigned by mapi at 2010-F-28 13:02
- assigned by mapi at 2010-F-28 13:03
- assigned by mapi at 2010-F-28 13:04
- assigned by mapi at 2010-F-28 14:27
- closed by mapi at 2010-M-04 11:17
| Type | |
|---|---|
| State | |
| Priority | |
| Resolution | |
| Assigned to | mapi |
| Scheduled for | 0.2.3 |
| Affected versions | 0.2.x-svn |
| Affected components | RuleSets, RuleSets / Naming |
| Last change | Thursday 4 March 2010 11:17:37 UTC by mapi |
Short description
It would be nice to provide naming rules like PMD[1] does, for the moment I can think of the following rules:
-
ShortVariables: Local variables, formal parameters, fields
-
LongVariables: Local variables, formal parameters, fields
-
ShortMethods: Methods and functions
-
PHP4StyleConstructor: Method name === name as enclosing class
-
UpperCaseConstantNaming: All class constants should be named upper case
mapi at Sunday 28 February 2010 13:03:03 UTC
Scheduled for version 0.2.3
mapi at Sunday 28 February 2010 13:04:11 UTC
Affected component added.
mapi at Sunday 28 February 2010 14:27:04 UTC
Missing link to pmd rules added.
mapi at Thursday 4 March 2010 11:17:37 UTC
Implemented and released.