File tree 38 files changed +78
-41
lines changed
Backend/view/adminhtml/templates
adminhtml/templates/product/edit/bundle
frontend/templates/catalog/product/view
Catalog/view/adminhtml/templates
Cms/view/adminhtml/templates/browser/content
adminhtml/templates/catalog/product/edit
base/templates/product/price
Downloadable/view/adminhtml/templates/product/edit
GroupedProduct/view/adminhtml/templates/product/grouped
ProductVideo/view/adminhtml/templates
SendFriend/view/frontend/templates
Shipping/view/adminhtml/templates/order
Swatches/view/adminhtml/templates/catalog/product/attribute
Theme/view/adminhtml/templates
Weee/view/adminhtml/templates/renderer
Wishlist/view/frontend/templates
framework/Magento/PhpStan/Formatters
testsuite/Magento/Test/Php/_files/phpstan
38 files changed +78
-41
lines changed Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var $block \Magento\Backend\Block\Media\Uploader */
8
9
?>
9
10
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- /** @var $block \Magento\Backend\Block\GlobalSearch */
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
8
+
9
+ use Magento \Backend \Block \GlobalSearch ;
10
+ use Magento \Framework \Json \Helper \Data ;
11
+
12
+ /** @var $block GlobalSearch */
13
+ /** @var Data $helper */
14
+ $ helper = $ this ->helper (Data::class);
15
+
8
16
?>
9
17
<div class="search-global" data-mage-init='{"globalSearch": {}}'>
10
18
<form action="#" id="form-search">
15
23
class="search-global-input"
16
24
id="search-global"
17
25
name="query"
18
- <?php //phpcs:disable ?>
19
- data-mage-init='<?= /* @noEscape */ $ this ->helper (\Magento \Framework \Json \Helper \Data::class)->jsonEncode ($ block ->getWidgetInitOptions ()) ?> '>
20
- <?php //phpcs:enable ?>
26
+ data-mage-init='<?= /* @noEscape */ $ helper ->jsonEncode ($ block ->getWidgetInitOptions ()) ?> '>
21
27
<button
22
28
type="submit"
23
29
class="search-global-action"
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var $block \Magento\Bundle\Block\Adminhtml\Catalog\Product\Edit\Tab\Bundle\Option */
8
9
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
9
10
?>
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var $block \Magento\Bundle\Block\Adminhtml\Catalog\Product\Edit\Tab\Bundle\Option\Selection */
8
9
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
9
10
?>
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
- ?>
7
6
8
- <?php
9
- $ _product = $ block ->getProduct ();
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
8
+ $ _product = $ block ->getProduct ();
10
9
?>
11
10
<?php if ($ _product ->isSaleable () && $ block ->hasOptions ()) : ?>
12
11
<div id="bundleSummary"
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var $block \Magento\Eav\Block\Adminhtml\Attribute\Edit\Options\Options */
8
9
9
10
$ stores = $ block ->getStoresSortedBySortOrder ();
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis
8
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
8
9
9
10
/* @var $block \Magento\Catalog\Block\Adminhtml\Product\Edit\AttributeSet */
10
11
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis
8
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
8
9
9
10
/** @var $block \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Option */
10
11
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
?>
8
9
<?php /** @var $block \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\Date */ ?>
9
10
<script id="custom-option-date-type-template" type="text/x-magento-template">
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
8
+ /** @var $block \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\File */
7
9
?>
8
- <?php /** @var $block \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\File */ ?>
9
10
<script id="custom-option-file-type-template" type="text/x-magento-template">
10
11
<div id="product_option_<%- data.option_id %>_type_<%- data.group %>" class="fieldset">
11
12
<table class="data-table">
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
?>
8
9
<?php /** @var $block \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\Select */ ?>
9
10
<script id="custom-option-select-type-template" type="text/x-magento-template">
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
?>
8
9
<?php /** @var $block \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\Text */ ?>
9
10
<script id="custom-option-text-type-template" type="text/x-magento-template">
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var $block \Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Gallery\Content */
8
9
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
9
10
$ elementName = $ block ->getElement ()->getName () . '[images] ' ;
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var $block \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes\Search */
8
9
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
9
10
?>
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var $block \Magento\Cms\Block\Adminhtml\Wysiwyg\Images\Content\Uploader */
8
9
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
9
10
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/* @var $block \Magento\ConfigurableProduct\Block\Adminhtml\Product\Steps\Bulk */
8
9
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
9
10
?>
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var $block \Magento\ConfigurableProduct\Block\Adminhtml\Product\Edit\Tab\Variations\Config\Matrix */
8
9
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
9
10
?>
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
6
7
?>
7
8
<script type="text/x-magento-template" id="tier-prices-template">
8
9
<ul class="prices-tier items">
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
// @deprecated
8
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
8
9
?>
9
10
10
11
<?php
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
// @deprecated
8
- ?>
9
- <?php
8
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
10
9
11
10
/**
12
11
* @var $block \Magento\Downloadable\Block\Adminhtml\Catalog\Product\Edit\Tab\Downloadable\Links
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
// @deprecated
8
- ?>
9
- <?php
8
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
9
+
10
10
/**
11
11
* @var $block \Magento\Downloadable\Block\Adminhtml\Catalog\Product\Edit\Tab\Downloadable\Links
12
12
*/
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/* @var $block \Magento\GroupedProduct\Block\Product\Grouped\AssociatedProducts\ListAssociatedProducts */
8
9
?>
9
10
<script type="text/x-magento-template" id="group-product-template">
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/**
8
9
* @var $block \Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Gallery\Content
9
10
* @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
8
9
?>
9
10
<div class="row">
Original file line number Diff line number Diff line change 11
11
* @var \Magento\SendFriend\Block\Send $block
12
12
* @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer
13
13
*/
14
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
14
15
15
16
?>
16
17
<script id="add-recipient-tmpl" type="text/x-magento-template">
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
- ?>
7
- <?php
6
+
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
8
8
/**
9
9
* @var $block Magento\Shipping\Block\Adminhtml\Order\Tracking
10
10
* @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var $block \Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Text */
8
9
9
10
$ stores = $ block ->getStoresSortedBySortOrder ();
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var $block \Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual */
8
9
9
10
$ stores = $ block ->getStoresSortedBySortOrder ();
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var $block \Magento\Theme\Block\Adminhtml\Wysiwyg\Files\Content\Uploader */
8
9
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
9
10
?>
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/**
8
9
* @var $block \Magento\Backend\Block\Widget\Form\Renderer\Fieldset
9
10
* @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/**
8
9
* @var \Magento\Framework\View\Element\Template $block
9
10
* @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var \Magento\Framework\View\Element\Template $block */
8
9
?>
9
10
<link rel="stylesheet" type="text/css" href="<?= $ block ->escapeUrl ($ block ->getViewFileUrl ('prototype/windows/themes/default.css ' )) ?> "/>
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- ?>
8
- <?php
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
9
8
/**
10
9
* @var $block \Magento\Weee\Block\Renderer\Weee\Tax
11
10
* @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
+ // phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound
7
8
/** @var \Magento\Wishlist\Block\Customer\Wishlist $block */
8
9
?>
9
10
Original file line number Diff line number Diff line change 94
94
"pdepend/pdepend" : " ~2.7.1" ,
95
95
"phpcompatibility/php-compatibility" : " ^9.3" ,
96
96
"phpmd/phpmd" : " ^2.8.0" ,
97
- "phpstan/phpstan" : " ^0.12.3 " ,
97
+ "phpstan/phpstan" : " ^0.12.77 " ,
98
98
"phpunit/phpunit" : " ^9" ,
99
99
"sebastian/phpcpd" : " ~5.0.0" ,
100
100
"squizlabs/php_codesniffer" : " ~3.5.4"
You can’t perform that action at this time.
0 commit comments