Merge pull request #3307 from rectorphp/fix-no-rector

fix test case
This commit is contained in:
kodiakhq[bot] 2020-05-04 17:20:34 +00:00 committed by GitHub
commit 8ee2197414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ class Fixture3291KeepPrivateProperty
/**
* @noRector \Rector\DeadCode\Rector\Property\RemoveUnusedPrivatePropertyRector
* @noRector \Rector\DeadCode\Rector\Class_\RemoveSetterOnlyPropertyAndMethodCallRector
*/
private $anotherUnusedProperty = [];
}
@ -24,6 +25,7 @@ class Fixture3291KeepPrivateProperty
{
/**
* @noRector \Rector\DeadCode\Rector\Property\RemoveUnusedPrivatePropertyRector
* @noRector \Rector\DeadCode\Rector\Class_\RemoveSetterOnlyPropertyAndMethodCallRector
*/
private $anotherUnusedProperty = [];
}