Home
last modified time | relevance | path

Searched refs:numTokens (Results 1 – 25 of 50) sorted by relevance

12

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/
H A DCommentedOutCodeSniff.php91 for ($i = $stackPtr; $i < $phpcsFile->numTokens; $i++) {
163 $numTokens = count($stringTokens);
178 if (isset($stringTokens[($numTokens - 1)]) === false
179 || $stringTokens[($numTokens - 1)]['code'] !== T_CLOSE_TAG
187 … && isset(PHP_CodeSniffer_Tokens::$emptyTokens[$stringTokens[($numTokens - 2)]['code']]) === false
196 for ($i = 0; $i < $numTokens; $i++) {
216 if ($numTokens > 3) {
217 $numTokens -= 3;
224 $percentCode = ceil((($numCode / $numTokens) * 100));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/
H A DCSS.php77 $numTokens = count($tokens);
79 for ($stackPtr = 1; $stackPtr < $numTokens; $stackPtr++) {
247 $numTokens = count($tokens);
276 $numTokens = count($finalTokens);
397 for ($y = ($x + 1); $y < $numTokens; $y++) {
490 $numTokens = count($finalTokens);
493 $finalTokens[($numTokens - 1)]['content'] = '';
497 $finalTokens[($numTokens - 2)]['content'] = substr(
498 $finalTokens[($numTokens - 2)]['content'],
504 unset($finalTokens[($numTokens - 2)]);
[all …]
H A DPHP.php330 $numTokens = count($tokens);
338 for ($stackPtr = 0; $stackPtr < $numTokens; $stackPtr++) {
435 for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
528 if ($i === $numTokens) {
1054 for ($i = $stackPtr; $i < $numTokens; $i++) {
1147 $numTokens = count($tokens);
1148 for ($i = ($numTokens - 1); $i >= 0; $i--) {
1163 for ($x = ($i + 1); $x < $numTokens; $x++) {
1239 for ($x = ($i + 1); $x < $numTokens; $x++) {
1354 for ($x = ($i + 1); $i < $numTokens; $x++) {
[all …]
H A DJS.php726 $numTokens = count($tokens);
727 for ($stackPtr = 0; $stackPtr < $numTokens; $stackPtr++) {
856 for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
930 $numTokens = count($tokens);
931 for ($prev = ($numTokens - 1); $prev >= 0; $prev--) {
1041 $numTokens = count($tokens);
1044 for ($i = 0; $i < $numTokens; $i++) {
1055 for ($x = ($i + 1); $x < $numTokens; $x++) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Files/
H A DClosingTagSniff.php58 for ($i = 0; $i < $phpcsFile->numTokens; $i++) {
62 return $phpcsFile->numTokens;
67 for ($last = ($phpcsFile->numTokens - 1); $last > 0; $last--) {
95 return $phpcsFile->numTokens;
H A DEndFileNewlineSniff.php56 return ($phpcsFile->numTokens + 1);
61 $lastToken = ($phpcsFile->numTokens - 1);
77 return ($phpcsFile->numTokens + 1);
112 return ($phpcsFile->numTokens + 1);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Files/
H A DLineEndingsSniff.php83 return ($phpcsFile->numTokens + 1);
90 $lastToken = ($phpcsFile->numTokens - 1);
127 for ($i = 0; $i < $phpcsFile->numTokens; $i++) {
146 return ($phpcsFile->numTokens + 1);
H A DEndFileNoNewlineSniff.php68 $stackPtr = ($phpcsFile->numTokens - 1);
86 return ($phpcsFile->numTokens + 1);
H A DEndFileNewlineSniff.php68 $stackPtr = ($phpcsFile->numTokens - 1);
89 return ($phpcsFile->numTokens + 1);
H A DLineLengthSniff.php76 for ($i = 1; $i < $phpcsFile->numTokens; $i++) {
85 return ($phpcsFile->numTokens + 1);
H A DInlineHTMLSniff.php65 return $phpcsFile->numTokens;
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Debug/
H A DESLintSniff.php96 return ($phpcsFile->numTokens + 1);
102 return ($phpcsFile->numTokens + 1);
116 return ($phpcsFile->numTokens + 1);
/plugin/findologicxmlexport/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/
H A DTokenParser.php42 private $numTokens; variable in Doctrine\\Common\\Annotations\\TokenParser
67 $this->numTokens = count($this->tokens);
80 for ($i = $this->pointer; $i < $this->numTokens; $i++) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
H A DFileCommentSniff.php74 return ($phpcsFile->numTokens + 1);
78 return ($phpcsFile->numTokens + 1);
113 return ($phpcsFile->numTokens + 1);
217 return ($phpcsFile->numTokens + 1);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Zend/Sniffs/Files/
H A DClosingTagSniff.php59 for ($last = ($phpcsFile->numTokens - 1); $last > 0; $last--) {
78 return ($phpcsFile->numTokens + 1);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Namespaces/
H A DNamespaceDeclarationSniff.php57 for ($i = ($stackPtr + 1); $i < ($phpcsFile->numTokens - 1); $i++) {
67 $next = $phpcsFile->findNext(T_WHITESPACE, $i, $phpcsFile->numTokens, true);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/
H A DFile.php169 public $numTokens = 0; variable in PHP_CodeSniffer_File
1508 $numTokens = count($tokens);
1798 $numTokens = count($tokens);
1845 $numTokens = count($tokens);
1865 $numTokens,
1896 $numTokens, argument
2234 $numTokens,
2430 $numTokens = count($tokens);
3279 if ($end > $this->numTokens) {
3280 $end = $this->numTokens;
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/WhiteSpace/
H A DDisallowTabIndentSniff.php79 for ($i = ($stackPtr + 1); $i < $phpcsFile->numTokens; $i++) {
144 return ($phpcsFile->numTokens + 1);
H A DDisallowSpaceIndentSniff.php92 for ($i = ($stackPtr + 1); $i < $phpcsFile->numTokens; $i++) {
179 return ($phpcsFile->numTokens + 1);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting/
H A DFileCommentSniff.php138 return ($phpcsFile->numTokens + 1);
143 return ($phpcsFile->numTokens + 1);
149 return ($phpcsFile->numTokens + 1);
180 return ($phpcsFile->numTokens + 1);
207 return ($phpcsFile->numTokens + 1);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/
H A DIndentationSniff.php71 $numTokens = (count($tokens) - 2);
74 for ($i = 1; $i < $numTokens; $i++) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/NamingConventions/
H A DUpperCaseConstantNameSniff.php79 for ($openBracket = ($stackPtr + 1); $openBracket < $phpcsFile->numTokens; $openBracket++) {
85 if ($openBracket === $phpcsFile->numTokens) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/ControlStructures/
H A DInlineControlStructureSniff.php160 for ($end = ($closer + 1); $end < $phpcsFile->numTokens; $end++) {
228 if ($end === $phpcsFile->numTokens) {
239 for ($endLine = $end; $endLine < $phpcsFile->numTokens; $endLine++) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/Files/
H A DSideEffectsSniff.php57 $result = $this->_searchForConflict($phpcsFile, 0, ($phpcsFile->numTokens - 1), $tokens);
72 return ($phpcsFile->numTokens + 1);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/PHP/
H A DCharacterBeforePHPOpeningTagSniff.php69 return $phpcsFile->numTokens;

12