Lines Matching refs:stackPtr
101 * @param int $stackPtr The position of the current token
106 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument
111 $commentStart = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
131 $errorToken = ($stackPtr + 1);
142 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'yes');
148 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'no');
178 $phpcsFile->addError('Missing file doc comment', $stackPtr, 'Missing');
179 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'no');
183 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'yes');
204 $this->processTags($phpcsFile, $stackPtr, $commentStart);
216 * @param int $stackPtr The position of the current token
222 protected function processTags(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $commentStart) argument