You are here

public property OperatorSpacingSniff::$supportedTokenizers in Coder 8.2

A list of tokenizers this sniff supports.

Type: array

File

coder_sniffer/Drupal/Sniffs/WhiteSpace/OperatorSpacingSniff.php, line 32

Class

OperatorSpacingSniff
Overrides Squiz_Sniffs_WhiteSpace_OperatorSpacingSniff to allow the plus operator on numbers like "$i = +1;".

Namespace

Drupal\Sniffs\WhiteSpace

Code

public $supportedTokenizers = array(
  'PHP',
  'JS',
);