Skip to content

Commit f122079

Browse files
committed
[PSR-2 Compliance] Fix #8612: Hundreds of PHPCS-based static tests violations in mainline
- apply manual fixes to make PHPCS and PHPMD happy
1 parent 002d771 commit f122079

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

app/code/Magento/Analytics/view/adminhtml/templates/dashboard/section.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
// @codingStandardsIgnoreFile
67
?>
78

89
<section class="dashboard-advanced-reports" data-index="dashboard-advanced-reports">

dev/tests/static/framework/Magento/TestFramework/Dependency/DiRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
class DiRule implements RuleInterface
1616
{
1717
/**
18-
1918
* @var VirtualTypeMapper
2019
*/
2120
private $mapper;
@@ -70,6 +69,7 @@ private function getPattern()
7069
* @param string $contents
7170
* @return array
7271
* @throws \Exception
72+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
7373
*/
7474
public function getDependencyInfo($currentModule, $fileType, $file, &$contents)
7575
{

dev/tests/static/framework/Magento/TestFramework/Dependency/VirtualType/VirtualTypeMapper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
class VirtualTypeMapper
1414
{
1515
/**
16-
1716
* @var array
1817
*/
1918
private $map = [];

dev/tests/static/framework/tests/unit/testsuite/Magento/TestFramework/Dependency/DiRuleTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
class DiRuleTest extends \PHPUnit_Framework_TestCase
1111
{
1212
/**
13-
1413
* @param string $module
1514
* @param string $contents
1615
* @param array $expected

0 commit comments

Comments
 (0)