Skip to content

Commit 1eef5bd

Browse files
authored
Fix ReadmeCommand deprecation warning (#882)
1 parent 25fb45f commit 1eef5bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.dev-tools/src/Readme/ReadmeCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use PhpCsFixerCustomFixers\Fixers;
2525
use SebastianBergmann\Diff\Differ;
2626
use SebastianBergmann\Diff\Output\StrictUnifiedDiffOutputBuilder;
27+
use Symfony\Component\Console\Attribute\AsCommand;
2728
use Symfony\Component\Console\Command\Command;
2829
use Symfony\Component\Console\Input\InputInterface;
2930
use Symfony\Component\Console\Output\OutputInterface;
@@ -32,6 +33,7 @@
3233
/**
3334
* @internal
3435
*/
36+
#[AsCommand(name: 'readme')]
3537
final class ReadmeCommand extends Command
3638
{
3739
protected static $defaultName = 'readme';

0 commit comments

Comments
 (0)