Home
last modified time | relevance | path

Searched refs:tokenizerType (Results 1 – 12 of 12) sorted by relevance

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Strings/
H A DUnnecessaryStringConcatSniff.php89 if ($phpcsFile->tokenizerType === 'JS') {
93 if ($phpcsFile->tokenizerType === 'PHP') {
111 if ($phpcsFile->tokenizerType === 'PHP') {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/
H A DCommentedOutCodeSniff.php87 if ($phpcsFile->tokenizerType === 'PHP') {
132 if ($phpcsFile->tokenizerType === 'PHP') {
186 if ($phpcsFile->tokenizerType === 'PHP'
H A DDisallowSizeFunctionsInLoopsSniff.php83 $tokenizer = $phpcsFile->tokenizerType;
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Operators/
H A DComparisonOperatorUsageSniff.php125 $tokenizer = $phpcsFile->tokenizerType;
207 if ($phpcsFile->tokenizerType !== 'JS'
233 if ($phpcsFile->tokenizerType !== 'JS'
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Formatting/
H A DOperatorBracketSniff.php69 if ($phpcsFile->tokenizerType === 'JS' && $tokens[$stackPtr]['code'] === T_PLUS) {
297 if ($phpcsFile->tokenizerType === 'JS' && $tokens[$before]['code'] === T_PLUS) {
328 if ($phpcsFile->tokenizerType === 'JS' && $tokens[$after]['code'] === T_PLUS) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/
H A DSuperfluousWhitespaceSniff.php93 if ($phpcsFile->tokenizerType !== 'PHP') {
139 if ($phpcsFile->tokenizerType === 'PHP') {
H A DFunctionClosingBraceSpaceSniff.php81 … if ($phpcsFile->tokenizerType === 'JS' && $prevContent === $tokens[$stackPtr]['scope_opener']) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
H A DDocCommentAlignmentSniff.php71 if ($phpcsFile->tokenizerType === 'JS') {
H A DInlineCommentSniff.php107 if ($phpcsFile->tokenizerType === 'JS') {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/
H A DFile.php160 public $tokenizerType = 'PHP'; variable in PHP_CodeSniffer_File
547 if (isset($listenerData['tokenizers'][$this->tokenizerType]) === false) {
608 if ($foundCode === false && $this->tokenizerType === 'PHP' && $this->_file !== 'STDIN') {
671 $this->tokenizerType = $this->phpcs->allowedFileExtensions[$extension];
674 $this->tokenizerType = $this->phpcs->defaultFileExtensions[$extension];
677 $tokenizerClass = 'PHP_CodeSniffer_Tokenizers_'.$this->tokenizerType;
705 echo "[$this->tokenizerType => tokenizer error]... ";
737 echo "[$this->tokenizerType => $this->numTokens tokens in $numLines lines]... ";
1486 $tokenizerType = get_class($tokenizer);
1513 if ($tokenizerType === 'PHP_CodeSniffer_Tokenizers_PHP'
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/ControlStructures/
H A DInlineControlStructureSniff.php115 if ($phpcsFile->tokenizerType === 'JS') {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/WhiteSpace/
H A DScopeIndentSniff.php636 if ($phpcsFile->tokenizerType === 'JS'
1081 if ($phpcsFile->tokenizerType === 'JS'
1133 if ($phpcsFile->tokenizerType === 'JS') {