Skip to content

Commit

Permalink
[PSR-2 Compliance] Fix #8612: Hundreds of PHPCS-based static tests vi…
Browse files Browse the repository at this point in the history
…olations in mainline

- apply manual fixes to make PHPCS and PHPMD happy
  • Loading branch information
orlangur committed Mar 11, 2017
1 parent 002d771 commit f122079
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
// @codingStandardsIgnoreFile
?>

<section class="dashboard-advanced-reports" data-index="dashboard-advanced-reports">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
class DiRule implements RuleInterface
{
/**
* @var VirtualTypeMapper
*/
private $mapper;
Expand Down Expand Up @@ -70,6 +69,7 @@ private function getPattern()
* @param string $contents
* @return array
* @throws \Exception
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function getDependencyInfo($currentModule, $fileType, $file, &$contents)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
class VirtualTypeMapper
{
/**
* @var array
*/
private $map = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
class DiRuleTest extends \PHPUnit_Framework_TestCase
{
/**
* @param string $module
* @param string $contents
* @param array $expected
Expand Down

0 comments on commit f122079

Please sign in to comment.