Skip to content

Commit 6f72c20

Browse files
committed
MC-19921: Create static tests for object variables inside E-mail templates
1 parent 16ed324 commit 6f72c20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev/tests/static/framework/Magento/Sniffs/Html/HtmlDirectiveSniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public function register()
3939
*/
4040
public function process(File $phpcsFile, $stackPtr)
4141
{
42+
$this->usedVariables = [];
4243
if ($stackPtr !== 0) {
4344
return;
4445
}

0 commit comments

Comments
 (0)