From 3983548e7c0f107fa7b7cc3c4c36aa009590b481 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 19 Apr 2021 11:02:48 +0200 Subject: Moves Modules to own package Removes phar Renames bin 'n' stuff --- src/Command/RunCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Command') diff --git a/src/Command/RunCommand.php b/src/Command/RunCommand.php index 145b2d5..6d8d2c9 100644 --- a/src/Command/RunCommand.php +++ b/src/Command/RunCommand.php @@ -30,14 +30,14 @@ class RunCommand extends Command } $commands = []; - foreach ($config['tasks'] as $taskName => $task) { + foreach ($config['tasks'] as $task) { /**@var Task $task*/ if (! $task->module->checkState()) { - $output->writeln($taskName . ': Adding commands from ' . get_class($task->module)); + $output->writeln($task->getName() . ': Adding commands from ' . get_class($task->module)); array_push($commands, ...$task->module->getCommands()); } else { - $output->writeln($taskName . ': Skipping commands from ' . get_class($task->module)); + $output->writeln($task->getName() . ': Skipping commands from ' . get_class($task->module)); } } -- cgit v1.2.3