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 Feb 26, 2017
1 parent bc79f6d commit 9db86d8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
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 9db86d8

Please sign in to comment.