ValidVariableNameUnitTest.inc in Coder 8.3.x
File
tests/Drupal/NamingConventions/ValidVariableNameUnitTest.inc
View source
<?php
$UppperCamelName = 0;
$lowerCamelName = 1;
class TestAnnotationProperties extends Plugin {
public $entity_type;
}
class TestAnnotationProperties2 extends ViewsPluginAnnotationBase {
public $entity_type;
}
class TestAnnotationProperties3 implements AnnotationInterface {
public $entity_type;
}
class TestAnnotationProperties4 {
public $MyVariable;
}
class TestAnnotationProperties5 {
public $my_variable;
}