Skip to content

Commit 0c2f66a

Browse files
author
Oleksandr Gorkun
committed
MC-17489: Require specific suffix for HTML binding
1 parent 7d39c07 commit 0c2f66a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/code/Magento/Ui/view/base/web/templates/grid/filters/elements/ui-select.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@
141141
</div>
142142
<div ifnot="options().length"
143143
class="admin__action-multiselect-empty-area">
144-
<ul data-bind="
145-
html: emptyOptionsHtmld
146-
"/>
144+
<ul data-bind="html: emptyOptionsHtml"/>
147145
</div>
148146
<!-- /ko -->
149147
<ul class="admin__action-multiselect-menu-inner _root"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function process(File $phpcsFile, $stackPtr)
3333
$html = $phpcsFile->getTokensAsString($stackPtr, count($phpcsFile->getTokens()));
3434
$dom = new \DOMDocument();
3535
try {
36-
//phpcs: ignore
36+
// phpcs:disable Generic.PHP.NoSilencedErrors
3737
@$dom->loadHTML($html);
3838
$loaded = true;
3939
} catch (\Throwable $exception) {

0 commit comments

Comments
 (0)