Chris@0: getTokensAsString($stackPtr, 3); Chris@0: if ($sequence === "['und']" || $sequence === '["und"]') { Chris@0: $warning = "Are you accessing field values here? Then you should use LANGUAGE_NONE instead of 'und'"; Chris@0: $phpcsFile->addWarning($warning, ($stackPtr + 1), 'Und'); Chris@0: } Chris@0: Chris@0: }//end process() Chris@0: Chris@0: Chris@0: }//end class