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
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

NancyDru - July 11, 2009 - 17:21

#2

kiamlaluno - July 11, 2009 - 19:34

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.

 
 

Drupal is a registered trademark of Dries Buytaert.