Skip to content

Commit

Permalink
Merge pull request #639 from tienvx/fix-missing-service-arguments
Browse files Browse the repository at this point in the history
Fix missing service arguments
  • Loading branch information
tienvx authored Jul 26, 2022
2 parents 91eb056 + 6c6f998 commit ecefec2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use Tienvx\Bundle\MbtBundle\Generator\GeneratorManager;
use Tienvx\Bundle\MbtBundle\Generator\GeneratorManagerInterface;
use Tienvx\Bundle\MbtBundle\Generator\RandomGenerator;
use Tienvx\Bundle\MbtBundle\MessageHandler\CreateBugMessageHandler;
use Tienvx\Bundle\MbtBundle\MessageHandler\RecordVideoMessageHandler;
use Tienvx\Bundle\MbtBundle\MessageHandler\ReduceBugMessageHandler;
use Tienvx\Bundle\MbtBundle\MessageHandler\ReduceStepsMessageHandler;
Expand Down Expand Up @@ -111,10 +112,16 @@
service(BugHelperInterface::class),
])
->autoconfigure(true)
->set(ReducerManager::class)
->alias(ReducerManagerInterface::class, ReducerManager::class)
->set(CreateBugMessageHandler::class)
->args([
service(ConfigInterface::class),
service(TaskRepositoryInterface::class),
])
->autoconfigure(true)

// Reducers
->set(ReducerManager::class)
->alias(ReducerManagerInterface::class, ReducerManager::class)
->set(RandomDispatcher::class)
->args([
service(MessageBusInterface::class),
Expand All @@ -125,6 +132,7 @@
service(MessageBusInterface::class),
service(BugStepsRunner::class),
service(StepsBuilderInterface::class),
service(ConfigInterface::class),
])
->set(RandomReducer::class)
->args([
Expand All @@ -142,6 +150,7 @@
service(MessageBusInterface::class),
service(BugStepsRunner::class),
service(StepsBuilderInterface::class),
service(ConfigInterface::class),
])
->set(SplitReducer::class)
->args([
Expand Down Expand Up @@ -209,6 +218,7 @@
->args([
service(GeneratorManagerInterface::class),
service(TaskRepositoryInterface::class),
service(MessageBusInterface::class),
service(ExploreStepsRunner::class),
service(ConfigInterface::class),
])
Expand Down

0 comments on commit ecefec2

Please sign in to comment.