Skip to content

Commit 951b071

Browse files
committed
fix null command
1 parent 2b87031 commit 951b071

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Console/ConsoleApplication.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ final class ConsoleApplication extends Application
2323
private const string NAME = 'Rector';
2424

2525
private const array ALLOWED_COMMANDS = [
26+
// null is for example: bin/rector --version
27+
null,
28+
29+
// default commands
2630
'custom-rule',
2731
'process',
2832
'list',

0 commit comments

Comments
 (0)