You are here

function coder_test_stdclass in Coder 5

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

File

tests/coder_style.inc, line 16
This include file implements tests for the Drupal Standards

Code

function coder_test_stdclass() {
  $var = new stdClass();

  // this is ok
  $var = new StdClass();

  // this is not
  $var = new stdclassToo();

  // should be camelcase rule
}