Skip to content

Commit

Permalink
Merge pull request #210 from magento-commerce/imported-isaaceindhoven…
Browse files Browse the repository at this point in the history
…-magento-coding-standard-377

[Imported] Resolve incorrect violation code in `Magento2.Security.XssTemplate` sniff
  • Loading branch information
sidolov authored Mar 30, 2023
2 parents 95dcf46 + 557b1d9 commit bc6b0f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Magento2/Sniffs/Security/XssTemplateSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public function process(File $phpcsFile, $stackPtr)
$statement = array_shift($this->statements);
$this->detectUnescapedString($statement);
}
$this->hasDisallowedAnnotation = false;
}

/**
Expand Down

0 comments on commit bc6b0f6

Please sign in to comment.