Camel case is checked also for class functions
kiamlaluno - July 4, 2009 - 16:41
| Project: | Coder |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
The module reports a warning also when the camel case is used in a class function name, which should allowed (especially when running PHP 5).

#1
Is this related to #237963: Add simpletest coding standards to Coder Module?
#2
Actually, the use of camel case names is not limited to SimpleTest; there are many other OO-libraries for PHP 5 that use camel case in method names.
Even without using the SimpleTest coding standards in Coder, the module should not give a warning for a method called
parseString(), which is a correct name in PHP 5, and even PHP 4.