void processAdditional(
array
&$tokens, string
$eolChar)
Performs additional processing after main tokenizing.
This method is blank because we don't want the extra processing that the PHP tokenizer performs.
Overrides
PHP_CodeSniffer_Tokenizers_PHP::processAdditional() (Performs additional processing after main tokenizing.)
Parameters:
array
&$tokens
—
The array of tokens to process.
string
$eolChar
—
The EOL character to use for splitting strings.
array tokenizeString(
string
$string, [string
$eolChar = '\n'])
Creates an array of tokens when given some CSS code.
Uses the PHP tokenizer to do all the tricky work
Overrides
PHP_CodeSniffer_Tokenizers_PHP::tokenizeString() (Creates an array of tokens when given some PHP code.)
Parameters:
string
$string
—
The string to tokenize.
string
$eolChar
—
The EOL character to use for splitting strings.