parent
aa8ffab3fa
commit
9c6085642e
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class Typo3Update_Sniffs_Deprecated_AjaxRegistrationSniff implements PhpCsSniff
|
|||
}
|
||||
|
||||
$tokens = $phpcsFile->getTokens();
|
||||
if ($tokens[$stackPtr]['content'] !== "'AJAX'") {
|
||||
if (preg_match('/"AJAX"|\'AJAX\'/', $tokens[$stackPtr]['content']) !== 1) {
|
||||
return;
|
||||
}
|
||||
$equalSign = $phpcsFile->findNext(T_EQUAL, $stackPtr, null, false, null, true);
|
||||
|
|
Loading…
Reference in a new issue