mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-26 20:53:31 +00:00
[TASK] Remove duplicate class and adjust sets
This commit is contained in:
parent
cc2b30ad3a
commit
5389475eac
|
@ -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 = [];
|
||||
|
||||
}
|
||||
|
||||
?>
|
|
@ -1,3 +1,3 @@
|
|||
parameters:
|
||||
sets:
|
||||
- "dead-code"
|
||||
- "Rector\DeadCode\Rector\Property\RemoveUnusedPrivatePropertyRector"
|
||||
|
|
Loading…
Reference in New Issue
Block a user