Skip to content

Commit 09d0127

Browse files
MC-42306: Fix copy paste false positive issue
1 parent 86ebe83 commit 09d0127

File tree

1 file changed

+8
-4
lines changed
  • app/code/Magento/Payment/view/adminhtml/templates/transparent

1 file changed

+8
-4
lines changed

app/code/Magento/Payment/view/adminhtml/templates/transparent/form.phtml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
104104
</label>
105105

106106
<div class="admin__field-control">
107-
<select id="<?= /* @noEscape */ $code ?>_expiration" name="payment[cc_exp_month]"
107+
<select id="<?= /* @noEscape */ $code ?>_expiration"
108+
name="payment[cc_exp_month]"
108109
data-container="<?= /* @noEscape */ $code ?>-cc-month"
109110
class="admin__control-select admin__control-select-month"
110111
data-validate='{required:true, "validate-cc-exp":"#<?= /* @noEscape */ $code ?>_expiration_yr"}'>
@@ -117,7 +118,8 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
117118
<?php endforeach ?>
118119
</select>
119120

120-
<select id="<?= /* @noEscape */ $code ?>_expiration_yr" name="payment[cc_exp_year]"
121+
<select id="<?= /* @noEscape */ $code ?>_expiration_yr"
122+
name="payment[cc_exp_year]"
121123
class="admin__control-select admin__control-select-year"
122124
data-container="<?= /* @noEscape */ $code ?>-cc-year" data-validate='{required:true}'>
123125
<?php foreach ($block->getCcYears() as $k => $v): ?>
@@ -137,10 +139,12 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
137139
</label>
138140

139141
<div class="admin__field-control">
140-
<input type="text" title="<?= $block->escapeHtml(__('Card Verification Number')) ?>"
142+
<input type="text"
143+
title="<?= $block->escapeHtml(__('Card Verification Number')) ?>"
141144
data-container="<?= /* @noEscape */ $code ?>-cc-cvv"
142145
class="admin__control-text cvv"
143-
id="<?= /* @noEscape */ $code ?>_cc_cid" name="payment[cc_cid]"
146+
id="<?= /* @noEscape */ $code ?>_cc_cid"
147+
name="payment[cc_cid]"
144148
value=""
145149
data-validate='{"required-number":true, "validate-cc-cvn":"#<?=/* @noEscape */ $code?>_cc_type"}'
146150
autocomplete="off"/>

0 commit comments

Comments
 (0)