Skip to content

Commit b3e71e3

Browse files
rvanvelzenondrejmirtes
authored andcommitted
Hide internal commands
1 parent ed17b4f commit b3e71e3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Command/FixerWorkerCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ protected function configure(): void
7474
new InputOption('memory-limit', null, InputOption::VALUE_REQUIRED, 'Memory limit for analysis'),
7575
new InputOption('xdebug', null, InputOption::VALUE_NONE, 'Allow running with Xdebug for debugging purposes'),
7676
new InputOption('server-port', null, InputOption::VALUE_REQUIRED, 'Server port for FixerApplication'),
77-
]);
77+
])
78+
->setHidden(true);
7879
}
7980

8081
protected function execute(InputInterface $input, OutputInterface $output): int

src/Command/WorkerCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ protected function configure(): void
6060
new InputOption('xdebug', null, InputOption::VALUE_NONE, 'Allow running with Xdebug for debugging purposes'),
6161
new InputOption('port', null, InputOption::VALUE_REQUIRED),
6262
new InputOption('identifier', null, InputOption::VALUE_REQUIRED),
63-
]);
63+
])
64+
->setHidden(true);
6465
}
6566

6667
protected function execute(InputInterface $input, OutputInterface $output): int

0 commit comments

Comments
 (0)