Skip to content

Commit

Permalink
fix testomatio/app#1153
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Uunila committed Oct 29, 2024
1 parent 0c349e4 commit 256cbfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion list-tests
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ error_reporting(E_ALL & ~E_DEPRECATED);

$application = new Application();

$application->add(new \Testomatio\Command());
$application->add(new \Testomatio\Command('check-tests'));
$application->setDefaultCommand('check-tests', true);
$application->run();
2 changes: 1 addition & 1 deletion src/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected function configure()
$this->addOption('markdown', 'm',InputOption::VALUE_REQUIRED, 'Save data information to markdown file');
}

protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int
{
// ... put here the code to run in your command

Expand Down

0 comments on commit 256cbfd

Please sign in to comment.