Skip to content

Commit 026359c

Browse files
committed
refactor: format AsCommand attributes in RefactorCommand
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent 75dda8e commit 026359c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/Console/Command/RefactorCommand.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,12 @@
2828
* Provides functionality to execute automated code refactoring using Rector.
2929
* This class MUST NOT be extended and SHALL encapsulate the logic for Rector invocation.
3030
*/
31-
#[AsCommand(name: 'refactor', description: 'Runs Rector for code refactoring.', aliases: [
32-
'rector',
33-
], help: 'This command runs Rector to refactor your code.')]
31+
#[AsCommand(
32+
name: 'refactor',
33+
description: 'Runs Rector for code refactoring.',
34+
aliases: ['rector'],
35+
help: 'This command runs Rector to refactor your code.'
36+
)]
3437
final class RefactorCommand extends AbstractCommand
3538
{
3639
/**

0 commit comments

Comments
 (0)