You are here

function coderCamelCase in Coder 5.2

Same name and namespace in other branches
  1. 5 tests/coder_style.inc \coderCamelCase()

File

tests/coder_style.inc, line 29
This include file implements tests for the Drupal Standards as defined at http://drupal.org/coding-standards

Code

function coderCamelCase() {
  $camelCaseVar = 'whatever';

  // Camel case functions and vars not allowed.
  $var = $obj->camelCase;

  // But camel case objects elements are.
  new camcelCase();

  // Is ok.
}