We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51b2ac8 commit 1681210Copy full SHA for 1681210
Magento2/Sniffs/Legacy/PhtmlTemplateSniff.php
@@ -74,7 +74,7 @@ private function checkBlockVariable(File $phpcsFile, int $stackPtr, array $token
74
private function checkHtml(File $phpcsFile, int $stackPtr): void
75
{
76
$content = $phpcsFile->getTokensAsString($stackPtr, 1);
77
- $pattern = '_\s+type=(["\'])text/javascript\1_';
+ $pattern = '_\s+type=(["\'])text/javascript\1_i';
78
79
if (preg_match($pattern, $content)) {
80
$fix = $phpcsFile->addFixableWarning(
0 commit comments