*/ private const array HELP_MESSAGES = [ 'Pest Options:', ' --init Initialise a standard Pest configuration', ' --coverage Enable coverage and output to standard output', ' --min= Set the minimum required coverage percentage (), and fail if not met', ' --group= Only runs tests from the specified group(s)', ]; /** * Creates a new Console Command instance. */ public function __construct(private OutputInterface $output) { // .. } /** * Executes the Console Command. */ public function __invoke(): void { foreach (self::HELP_MESSAGES as $message) { $this->output->writeln($message); } } }