Skip to content

Commit b137c6c

Browse files
committed
Make static tests happy
1 parent 8614bfa commit b137c6c

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

app/code/Magento/CatalogSearch/view/frontend/templates/advanced/form.phtml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ $catalogSearchHelper = $block->getData('catalogSearchHelper'); ?>
7676
class="input-text"
7777
type="text"
7878
maxlength="<?= $block->escapeHtmlAttr($maxQueryLength) ?>"
79-
data-validate="{number:true, 'validate-not-negative-number':true, 'less-than-equals-to':'#<?= $block->escapeHtmlAttr($_code) ?>_to'}" />
79+
data-validate="{
80+
number:true,
81+
'validate-not-negative-number':true,
82+
'less-than-equals-to':'#<?= $block->escapeHtmlAttr($_code) ?>_to'
83+
}" />
8084
</div>
8185
</div>
8286
<div class="field with-addon no-label">
@@ -89,7 +93,11 @@ $catalogSearchHelper = $block->getData('catalogSearchHelper'); ?>
8993
class="input-text"
9094
type="text"
9195
maxlength="<?= $block->escapeHtmlAttr($maxQueryLength) ?>"
92-
data-validate="{number:true, 'validate-not-negative-number':true, 'greater-than-equals-to':'#<?= $block->escapeHtmlAttr($_code) ?>'}" />
96+
data-validate="{
97+
number:true,
98+
'validate-not-negative-number':true,
99+
'greater-than-equals-to':'#<?= $block->escapeHtmlAttr($_code) ?>'
100+
}" />
93101
<label class="addafter"
94102
for="<?= $block->escapeHtmlAttr($_code) ?>_to">
95103
<?= $block->escapeHtml($block->getCurrency($_attribute)) ?>

app/code/Magento/Payment/Model/MethodList.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ class MethodList
1919
{
2020
/**
2121
* @var \Magento\Payment\Helper\Data
22+
* @see MAGETWO-71174
2223
* @deprecated 100.1.0 Do not use this property in case of inheritance.
2324
*/
2425
protected $paymentHelper;
2526

2627
/**
2728
* @var \Magento\Payment\Model\Checks\SpecificationFactory
29+
* @see MAGETWO-71174
2830
* @deprecated 100.2.0 Do not use this property in case of inheritance.
2931
*/
3032
protected $methodSpecificationFactory;
@@ -62,7 +64,7 @@ public function __construct(
6264
/**
6365
* Returns all available payment methods for the given quote.
6466
*
65-
* @param \Magento\Quote\Api\Data\CartInterface $quote|null
67+
* @param \Magento\Quote\Api\Data\CartInterface $quote
6668
* @return \Magento\Payment\Model\MethodInterface[]
6769
*/
6870
public function getAvailableMethods(\Magento\Quote\Api\Data\CartInterface $quote = null)

app/code/Magento/Sales/Controller/Adminhtml/Order/Invoice/Save.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Save extends \Magento\Backend\App\Action implements HttpPostActionInterfac
3030
*
3131
* @see _isAllowed()
3232
*/
33-
public const ADMIN_RESOURCE = 'Magento_Sales::sales_invoice';
33+
public const ADMIN_RESOURCE = 'Magento_Sales::sales_invoice';
3434

3535
/**
3636
* @var InvoiceSender

0 commit comments

Comments
 (0)