Skip to content

Commit 4c6a785

Browse files
author
OlgaVasyltsun
committed
MC-29042: script text rendering in Magento UI in 2.2.10 & 2.2.11
1 parent 7b5b332 commit 4c6a785

File tree

24 files changed

+49
-25
lines changed

24 files changed

+49
-25
lines changed

app/code/Magento/Backup/view/adminhtml/templates/backup/list.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// phpcs:disable PSR2.Files.ClosingTag
68
?>
79
<?= $block->getChildHtml('grid') ?>
810
<?= $block->getGridHtml() ?>
911
<?= $block->getDialogsHtml() ?>
10-
<?php

app/code/Magento/Bundle/view/base/templates/product/price/selection/amount.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// phpcs:disable PSR2.Files.ClosingTag
68
?>
79

810
<?php /** @var \Magento\Framework\Pricing\Render\Amount $block */ ?>
911

1012
<?= /* @noEscape */ $block->formatCurrency($block->getDisplayValue(), (bool) $block->getIncludeContainer()); ?>
11-
<?php
13+

app/code/Magento/Captcha/view/frontend/templates/js/components.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// phpcs:disable PSR2.Files.ClosingTag
68
?>
79
<?= $block->getChildHtml() ?>
8-
<?php

app/code/Magento/Catalog/view/frontend/templates/product/widget/compared/grid.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// phpcs:disable PSR2.Files.ClosingTag
68
?>
79
<?php
810
/** @var $block \Magento\Ui\Block\Wrapper */
@@ -18,4 +20,3 @@
1820
]
1921
]
2022
); ?>
21-
<?php

app/code/Magento/Catalog/view/frontend/templates/product/widget/compared/list.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// phpcs:disable PSR2.Files.ClosingTag
68
?>
79
<?php
810
/** @var $block \Magento\Ui\Block\Wrapper */
@@ -18,4 +20,3 @@
1820
]
1921
]
2022
); ?>
21-
<?php

app/code/Magento/Catalog/view/frontend/templates/product/widget/compared/sidebar.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// phpcs:disable PSR2.Files.ClosingTag
68
?>
79
<?php
810
/** @var $block \Magento\Ui\Block\Wrapper */
@@ -18,4 +20,3 @@
1820
]
1921
]
2022
); ?>
21-
<?php

app/code/Magento/Catalog/view/frontend/templates/product/widget/viewed/grid.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// phpcs:disable PSR2.Files.ClosingTag
68
?>
79
<?php
810
/** @var $block \Magento\Ui\Block\Wrapper */
@@ -16,4 +18,3 @@
1618
'imageCode' => 'recently_viewed_products_grid_content_widget'
1719
]
1820
]); ?>
19-
<?php

app/code/Magento/Catalog/view/frontend/templates/product/widget/viewed/list.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
// phpcs:disable PSR2.Files.ClosingTag
8+
79
/** @var $block \Magento\Ui\Block\Wrapper */
810
?>
911

@@ -15,4 +17,3 @@
1517
'imageCode' => 'recently_viewed_products_list_content_widget'
1618
]
1719
]); ?>
18-
<?php

app/code/Magento/Catalog/view/frontend/templates/product/widget/viewed/sidebar.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// phpcs:disable PSR2.Files.ClosingTag
68
?>
79
<?php
810
/** @var $block \Magento\Ui\Block\Wrapper */
@@ -18,4 +20,3 @@
1820
]
1921
]
2022
); ?>
21-
<?php

app/code/Magento/Cms/view/frontend/templates/content.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// phpcs:disable PSR2.Files.ClosingTag
68
?>
79
<?= /* @noEscape */ $pageData->getPageContent() ?>
8-
<?php

0 commit comments

Comments
 (0)