Skip to content

Commit 1a6424c

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-36131: Update Content in Magento 2 by Modules - part 3
- fixed tests
1 parent fc9fe93 commit 1a6424c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

app/code/Magento/Payment/Model/Method/AbstractMethod.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ public function validate()
586586
* @return $this
587587
* @throws \Magento\Framework\Exception\LocalizedException
588588
* @api
589+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
589590
*/
590591
public function order(\Magento\Payment\Model\InfoInterface $payment, $amount)
591592
{
@@ -603,6 +604,7 @@ public function order(\Magento\Payment\Model\InfoInterface $payment, $amount)
603604
* @return $this
604605
* @throws \Magento\Framework\Exception\LocalizedException
605606
* @api
607+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
606608
*/
607609
public function authorize(\Magento\Payment\Model\InfoInterface $payment, $amount)
608610
{
@@ -620,6 +622,7 @@ public function authorize(\Magento\Payment\Model\InfoInterface $payment, $amount
620622
* @return $this
621623
* @throws \Magento\Framework\Exception\LocalizedException
622624
* @api
625+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
623626
*/
624627
public function capture(\Magento\Payment\Model\InfoInterface $payment, $amount)
625628
{
@@ -638,6 +641,7 @@ public function capture(\Magento\Payment\Model\InfoInterface $payment, $amount)
638641
* @return $this
639642
* @throws \Magento\Framework\Exception\LocalizedException
640643
* @api
644+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
641645
*/
642646
public function refund(\Magento\Payment\Model\InfoInterface $payment, $amount)
643647
{
@@ -653,6 +657,7 @@ public function refund(\Magento\Payment\Model\InfoInterface $payment, $amount)
653657
* @param \Magento\Framework\Object|InfoInterface $payment
654658
* @return $this
655659
* @api
660+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
656661
*/
657662
public function cancel(\Magento\Payment\Model\InfoInterface $payment)
658663
{
@@ -666,6 +671,7 @@ public function cancel(\Magento\Payment\Model\InfoInterface $payment)
666671
* @return $this
667672
* @throws \Magento\Framework\Exception\LocalizedException
668673
* @api
674+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
669675
*/
670676
public function void(\Magento\Payment\Model\InfoInterface $payment)
671677
{
@@ -692,6 +698,7 @@ public function canReviewPayment()
692698
* @return false
693699
* @throws \Magento\Framework\Exception\LocalizedException
694700
* @api
701+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
695702
*/
696703
public function acceptPayment(InfoInterface $payment)
697704
{
@@ -708,6 +715,7 @@ public function acceptPayment(InfoInterface $payment)
708715
* @return false
709716
* @throws \Magento\Framework\Exception\LocalizedException
710717
* @api
718+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
711719
*/
712720
public function denyPayment(InfoInterface $payment)
713721
{

app/code/Magento/Sales/Block/Adminhtml/Items/AbstractItems.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
/**
1212
* Abstract items renderer
13+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1314
*/
1415
class AbstractItems extends \Magento\Backend\Block\Template
1516
{

0 commit comments

Comments
 (0)