File tree Expand file tree Collapse file tree 7 files changed +346
-176
lines changed
Expand file tree Collapse file tree 7 files changed +346
-176
lines changed Original file line number Diff line number Diff line change 3232use PhpSchool \PhpWorkshop \Patch ;
3333use PhpSchool \PhpWorkshop \ResultAggregator ;
3434use PhpSchool \PSX \Factory as PsxFactory ;
35+ use PhpSchool \PhpWorkshop \WorkshopType ;
3536use PhpSchool \PSX \SyntaxHighlighter ;
3637use PhpSchool \PhpWorkshop \Check \FileExistsCheck ;
3738use PhpSchool \PhpWorkshop \Check \FunctionRequirementsCheck ;
4647use PhpSchool \PhpWorkshop \CommandRouter ;
4748use PhpSchool \PhpWorkshop \ExerciseRenderer ;
4849use PhpSchool \PhpWorkshop \ExerciseRepository ;
49- use PhpSchool \PhpWorkshop \ExerciseRunner ;
5050use PhpSchool \PhpWorkshop \Factory \MarkdownCliRendererFactory ;
5151use PhpSchool \PhpWorkshop \MarkdownRenderer ;
5252use PhpSchool \PhpWorkshop \ResultRenderer \ResultsRenderer ;
5858
5959return [
6060 'appName ' => basename ($ _SERVER ['argv ' ][0 ]),
61+ WorkshopType::class => WorkshopType::STANDARD (),
6162 ExerciseDispatcher::class => function (ContainerInterface $ c ) {
6263 $ dispatcher = new ExerciseDispatcher (
6364 $ c ->get (RunnerFactory::class),
Original file line number Diff line number Diff line change 2525 "fzaninotto/faker" : " ^1.5" ,
2626 "aydin-hassan/cli-md-renderer" : " ^2.0" ,
2727 "php-school/psx" : " ~1.0" ,
28- "php-school/cli-menu" : " ^1.0.3 " ,
28+ "php-school/cli-menu" : " ^1.2.0 " ,
2929 "beberlei/assert" : " ^2.4" ,
3030 "psr/http-message" : " ^1.0" ,
3131 "zendframework/zend-diactoros" : " ^1.1.3" ,
You can’t perform that action at this time.
0 commit comments