File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 5959return [
6060 'appName ' => basename ($ _SERVER ['argv ' ][0 ]),
6161 ExerciseDispatcher::class => function (ContainerInterface $ c ) {
62- $ dispatcher = new ExerciseDispatcher (
62+ return new ExerciseDispatcher (
6363 $ c ->get (RunnerFactory::class),
6464 $ c ->get (ResultAggregator::class),
6565 $ c ->get (EventDispatcher::class),
6666 $ c ->get (CheckRepository::class)
6767 );
68-
69- //checks which should always run (probably)
70- $ dispatcher ->requireCheck (FileExistsCheck::class);
71- $ dispatcher ->requireCheck (PhpLintCheck::class);
72- $ dispatcher ->requireCheck (CodeParseCheck::class);
73- return $ dispatcher ;
7468 },
7569 ResultAggregator::class => object (ResultAggregator::class),
7670 CheckRepository::class => function (ContainerInterface $ c ) {
You can’t perform that action at this time.
0 commit comments