mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-21 18:00:10 +01:00
* [Utils] Add validate-fixture-filename command * register command * fix existing fixture filename with - * clean up
19 lines
372 B
PHP
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);
|
|
}
|
|
}
|