-
-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix message handler removal in RemoveUnusedPublicMethodParameterRector (
#6001) * add fixture * Skip message handler in RemoveUnusedPublicMethodParameterRector * [ci-review] Rector Rectify * [ci-review] Rector Rectify --------- Co-authored-by: GitHub Action <actions@github.com>
- Loading branch information
1 parent
657bf47
commit 93bccca
Showing
2 changed files
with
44 additions
and
15 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
.../ClassMethod/RemoveUnusedPublicMethodParameterRector/Fixture/skip_command_handler.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\DeadCode\Rector\ClassMethod\RemoveUnusedPublicMethodParameterRector\Fixture; | ||
|
||
use Symfony\Component\Messenger\Attribute\AsMessageHandler; | ||
|
||
#[AsMessageHandler] | ||
final readonly class SkipCommandHandler | ||
{ | ||
public function __invoke(string $name): void | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters