Skip to content

Commit bc6b0f6

Browse files
authoredMar 30, 2023
Merge pull request #210 from magento-commerce/imported-isaaceindhoven-magento-coding-standard-377
[Imported] Resolve incorrect violation code in `Magento2.Security.XssTemplate` sniff
2 parents 95dcf46 + 557b1d9 commit bc6b0f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎Magento2/Sniffs/Security/XssTemplateSniff.php

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ public function process(File $phpcsFile, $stackPtr)
135135
$statement = array_shift($this->statements);
136136
$this->detectUnescapedString($statement);
137137
}
138+
$this->hasDisallowedAnnotation = false;
138139
}
139140

140141
/**

0 commit comments

Comments
 (0)