From 48bd39180ea1b3c3e47185dffd2ff9b3c60a1d77 Mon Sep 17 00:00:00 2001 From: David Alger Date: Tue, 6 Jun 2017 17:11:10 -0500 Subject: [PATCH] Convert long form tags with echo to use short-echo tags #1563 Manual short-echo tag updates for echo calls script didn't catch; sniff did though! --- .../view/adminhtml/templates/grid/tooltip.phtml | 3 ++- .../view/frontend/templates/paypal/button.phtml | 3 +-- .../product/edit/bundle/option/search.phtml | 3 ++- .../templates/product/price/configured_price.phtml | 2 +- .../Customer/view/adminhtml/templates/tab/view.phtml | 3 ++- .../view/frontend/templates/js/customer-data.phtml | 3 +-- .../view/frontend/templates/js/section-config.phtml | 3 +-- .../Dhl/view/adminhtml/templates/unitofmeasure.phtml | 12 ++++++------ .../templates/system/config/api_wizard.phtml | 4 +--- .../templates/product/edit/base_image.phtml | 3 +-- .../view/adminhtml/templates/session/activity.phtml | 11 +++++------ .../Test/Unit/Model/TaxClass/Source/CustomerTest.php | 2 +- .../Test/Unit/Model/TaxClass/Source/ProductTest.php | 2 +- .../frontend/templates/html/absolute_footer.phtml | 2 +- .../Theme/view/frontend/templates/template.phtml | 3 ++- .../templates/customer_account/credit_card.phtml | 4 ++-- .../Wishlist/view/frontend/templates/addto.phtml | 2 +- .../messages/addProductSuccessMessage.phtml | 3 +-- .../Inspection/_files/words_finder/buffy.php | 3 ++- .../words_finder/interview_with_the_vampire.php | 3 ++- .../_files/words_finder/twilight/eclipse.php | 3 ++- .../_files/words_finder/twilight/newmoon.php | 3 ++- 22 files changed, 40 insertions(+), 40 deletions(-) diff --git a/app/code/Magento/Braintree/view/adminhtml/templates/grid/tooltip.phtml b/app/code/Magento/Braintree/view/adminhtml/templates/grid/tooltip.phtml index de7688608536f..1a852222b8b3d 100644 --- a/app/code/Magento/Braintree/view/adminhtml/templates/grid/tooltip.phtml +++ b/app/code/Magento/Braintree/view/adminhtml/templates/grid/tooltip.phtml @@ -7,4 +7,5 @@ /** * @var \Magento\Backend\Block\Template $block */ -echo $block->escapeHtml($block->getData('tooltip_content')); +?> +escapeHtml($block->getData('tooltip_content')); diff --git a/app/code/Magento/Braintree/view/frontend/templates/paypal/button.phtml b/app/code/Magento/Braintree/view/frontend/templates/paypal/button.phtml index 16ec11292acd8..1d60d19458a28 100644 --- a/app/code/Magento/Braintree/view/frontend/templates/paypal/button.phtml +++ b/app/code/Magento/Braintree/view/frontend/templates/paypal/button.phtml @@ -21,8 +21,7 @@ $config = [ ?>