You are here

public property GlobalClassSniff::$classes in Coder 8.3.x

Same name and namespace in other branches
  1. 8.3 coder_sniffer/DrupalPractice/Sniffs/Objects/GlobalClassSniff.php \DrupalPractice\Sniffs\Objects\GlobalClassSniff::classes
  2. 8.2 coder_sniffer/DrupalPractice/Sniffs/Objects/GlobalClassSniff.php \DrupalPractice\Sniffs\Objects\GlobalClassSniff::classes

Class names that should not be called statically.

Type: string[]

File

coder_sniffer/DrupalPractice/Sniffs/Objects/GlobalClassSniff.php, line 87

Class

GlobalClassSniff
Checks that Node::load() calls and friends are not used in forms, controllers or services.

Namespace

DrupalPractice\Sniffs\Objects

Code

public $classes = [];