Skip to content

Commit 2495fad

Browse files
committed
REPO-66: [EQP][Sniffs Consolidation] Deliver Magento Coding Standard to magento2ce
1 parent 7421dfb commit 2495fad

File tree

7 files changed

+13
-2
lines changed

7 files changed

+13
-2
lines changed

app/code/Magento/Config/Observer/Config/Backend/Admin/AfterCustomUrlChangedObserver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Class AfterCustomUrlChangedObserver
12+
*
13+
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
1214
*/
1315
class AfterCustomUrlChangedObserver implements ObserverInterface
1416
{

app/code/Magento/Customer/Controller/Adminhtml/Index/Viewfile.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
/**
2020
* Class Viewfile
21+
*
2122
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
23+
* @SuppressWarnings(PHPMD.AllPurposeAction)
2224
*/
2325
class Viewfile extends \Magento\Customer\Controller\Adminhtml\Index
2426
{

app/code/Magento/Downloadable/Controller/Download/Link.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* Class Link
14+
*
15+
* @SuppressWarnings(PHPMD.AllPurposeAction)
1416
*/
1517
class Link extends \Magento\Downloadable\Controller\Download
1618
{

app/code/Magento/Downloadable/Controller/Download/LinkSample.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
/**
1212
* Class LinkSample
13+
*
14+
* @SuppressWarnings(PHPMD.AllPurposeAction)
1315
*/
1416
class LinkSample extends \Magento\Downloadable\Controller\Download
1517
{

app/code/Magento/Downloadable/Controller/Download/Sample.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
/**
1212
* Class Sample
13+
*
14+
* @SuppressWarnings(PHPMD.AllPurposeAction)
1315
*/
1416
class Sample extends \Magento\Downloadable\Controller\Download
1517
{

app/code/Magento/Paypal/Controller/Ipn/Index.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* Unified IPN controller for all supported PayPal methods
19+
*
20+
* @SuppressWarnings(PHPMD.AllPurposeAction)
1921
*/
2022
class Index extends \Magento\Framework\App\Action\Action implements CsrfAwareActionInterface
2123
{

dev/tests/static/testsuite/Magento/Test/Php/LiveCodeTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ public static function getWhitelist(
7777
$changedFilesBaseDir = '',
7878
$baseFilesFolder = '',
7979
$whitelistFile = '/_files/whitelist/common.txt'
80-
)
81-
{
80+
) {
8281
$changedFiles = self::getChangedFilesList($changedFilesBaseDir);
8382
if (empty($changedFiles)) {
8483
return [];

0 commit comments

Comments
 (0)