summaryrefslogtreecommitdiff
path: root/src/Command
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-04-19 11:02:48 +0200
committerDaniel Weipert <code@drogueronin.de>2021-04-19 11:02:48 +0200
commit3983548e7c0f107fa7b7cc3c4c36aa009590b481 (patch)
tree071513d1c25459cb81dbf56e5acc5942424a732e /src/Command
parent671e3f1540f3a683d548dafd64c068ad6a64ac2f (diff)
Moves Modules to own package
Removes phar Renames bin 'n' stuff
Diffstat (limited to 'src/Command')
-rw-r--r--src/Command/RunCommand.php6
1 files changed, 3 insertions, 3 deletions
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));
}
}