You are here

public function ClassCreateInstanceSniff::register in Coder 8.2

Same name and namespace in other branches
  1. 8.3 coder_sniffer/Drupal/Sniffs/Classes/ClassCreateInstanceSniff.php \Drupal\Sniffs\Classes\ClassCreateInstanceSniff::register()
  2. 8.3.x coder_sniffer/Drupal/Sniffs/Classes/ClassCreateInstanceSniff.php \Drupal\Sniffs\Classes\ClassCreateInstanceSniff::register()

Returns an array of tokens this test wants to listen for.

Return value

array

File

coder_sniffer/Drupal/Sniffs/Classes/ClassCreateInstanceSniff.php, line 34

Class

ClassCreateInstanceSniff
Class create instance Test.

Namespace

Drupal\Sniffs\Classes

Code

public function register() {
  return array(
    T_NEW,
  );
}