[line 23]
The config data for the run.[line 30]
The EOL char used in the content.[line 51]
A list of lines being ignored due to error suppression comments.[line 44]
Known lengths of tokens.[line 37]
A token-based representation of the content.void __construct(
string
$content, \PHP_CodeSniffer\Config
$config, [string
$eolChar = '\n'])
Overridden in child classes as:
boolean isMinifiedContent(
string
$content, [string
$eolChar = '\n'])
void processAdditional(
)
Overridden in child classes as:
void replaceTabsInToken(
&$token, [string
$prefix = ' '], [string
$padding = ' '], array
$token)
Each tab can represent between 1 and $config->tabWidth spaces, so this cannot be a straight string replace. The original content is placed into an orig_content index and the new token length is also set in the length index.
array tokenize(
string
$string)
Overridden in child classes as: