Lines Matching refs:phpcsFile
37 * @param PHP_CodeSniffer_File $phpcsFile The file where this token was found.
42 protected function processMemberVar(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument
44 $tokens = $phpcsFile->getTokens();
49 $phpcsFile->addWarning($error, $stackPtr, 'Underscore', $data);
57 $prev = $phpcsFile->findPrevious($find, ($stackPtr - 1));
64 $phpcsFile->addError($error, $stackPtr, 'VarUsed');
67 $next = $phpcsFile->findNext(array(T_VARIABLE, T_SEMICOLON), ($stackPtr + 1));
70 $phpcsFile->addError($error, $stackPtr, 'Multiple');
73 $modifier = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$scopeModifiers, $stackPtr);
77 $phpcsFile->addError($error, $stackPtr, 'ScopeMissing', $data);
86 * @param PHP_CodeSniffer_File $phpcsFile The file where this token was found.
91 protected function processVariable(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument
103 * @param PHP_CodeSniffer_File $phpcsFile The file where this token was found.
108 protected function processVariableInString(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument