Chris@0: getTokens(); Chris@0: $argument = $this->getArgument(1); Chris@0: if ($tokens[$argument['start']]['content'] === 'check_plain') { Chris@0: $warning = 'Do not use check_plain() on the first argument of l(), because l() will sanitize it for you by default'; Chris@0: $phpcsFile->addWarning($warning, $argument['start'], 'LCheckPlain'); Chris@0: } Chris@0: Chris@0: }//end processFunctionCall() Chris@0: Chris@0: Chris@0: }//end class