[TASK] Remove duplicate class and adjust sets

This commit is contained in:
Tomas Norre Mikkelsen 2020-05-03 19:25:34 +02:00
parent cc2b30ad3a
commit 5389475eac
2 changed files with 1 additions and 34 deletions

View File

@ -1,33 +0,0 @@
<?php
namespace Rector\Core\Tests\Rector\Exclusion\Check\DocBlockOnPrivateProperty;
final class SomeController
{
private $unusedProperty = [];
/**
* @noRector \Rector\DeadCode\Rector\Property\RemoveUnusedPrivatePropertyRector
*/
private $anotherUnusedProperty = [];
}
?>
-----
<?php
namespace Rector\Core\Tests\Rector\Exclusion\Check\DocBlockOnPrivateProperty;
final class SomeController
{
/**
* @noRector \Rector\DeadCode\Rector\Property\RemoveUnusedPrivatePropertyRector
*/
private $anotherUnusedProperty = [];
}
?>

View File

@ -1,3 +1,3 @@
parameters:
sets:
- "dead-code"
- "Rector\DeadCode\Rector\Property\RemoveUnusedPrivatePropertyRector"