You are here

ValidVariableNameUnitTest.inc in Coder 8.3.x

Same filename and directory in other branches
  1. 8.3 tests/Drupal/NamingConventions/ValidVariableNameUnitTest.inc

File

tests/Drupal/NamingConventions/ValidVariableNameUnitTest.inc
View source
<?php

$UppperCamelName = 0;
$lowerCamelName = 1;
class TestAnnotationProperties extends Plugin {

  /**
   * The entity_type.
   *
   * @var string
   */
  public $entity_type;

}
class TestAnnotationProperties2 extends ViewsPluginAnnotationBase {

  /**
   * The entity_type.
   *
   * @var string
   */
  public $entity_type;

}
class TestAnnotationProperties3 implements AnnotationInterface {

  /**
   * The entity_type.
   *
   * @var string
   */
  public $entity_type;

}
class TestAnnotationProperties4 {

  /**
   * The MyVariable.
   *
   * @var string
   */
  public $MyVariable;

}
class TestAnnotationProperties5 {

  /**
   * The my_variable.
   *
   * @var string
   */
  public $my_variable;

}