rector/tests/Exclusion/Fixture/skip_other_docblocks.php.inc
Abdul Malik Ikhsan 35e83f75c6
[Utils] Add validate-fixture-filename command (#5199)
* [Utils] Add validate-fixture-filename command

* register command

* fix existing fixture filename with -

* clean up
2021-01-16 13:19:40 +01:00

19 lines
372 B
PHP

<?php
namespace Rector\Core\Tests\Exclusion\Fixture;
final class SkipOtherDocblocks
{
public function foo()
{
/**
* @noRector \Rector\DeadCode\Rector\Plus\RemoveDeadZeroAndOneOperationRector
* @noRector \Rector\DeadCode\Rector\Plus\AnotherRector
*/
round(1 + 0);
/** @noRector */
round(2 + 0);
}
}