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 32
32
use PhpSchool \PhpWorkshop \Patch ;
33
33
use PhpSchool \PhpWorkshop \ResultAggregator ;
34
34
use PhpSchool \PSX \Factory as PsxFactory ;
35
+ use PhpSchool \PhpWorkshop \WorkshopType ;
35
36
use PhpSchool \PSX \SyntaxHighlighter ;
36
37
use PhpSchool \PhpWorkshop \Check \FileExistsCheck ;
37
38
use PhpSchool \PhpWorkshop \Check \FunctionRequirementsCheck ;
46
47
use PhpSchool \PhpWorkshop \CommandRouter ;
47
48
use PhpSchool \PhpWorkshop \ExerciseRenderer ;
48
49
use PhpSchool \PhpWorkshop \ExerciseRepository ;
49
- use PhpSchool \PhpWorkshop \ExerciseRunner ;
50
50
use PhpSchool \PhpWorkshop \Factory \MarkdownCliRendererFactory ;
51
51
use PhpSchool \PhpWorkshop \MarkdownRenderer ;
52
52
use PhpSchool \PhpWorkshop \ResultRenderer \ResultsRenderer ;
58
58
59
59
return [
60
60
'appName ' => basename ($ _SERVER ['argv ' ][0 ]),
61
+ WorkshopType::class => WorkshopType::STANDARD (),
61
62
ExerciseDispatcher::class => function (ContainerInterface $ c ) {
62
63
$ dispatcher = new ExerciseDispatcher (
63
64
$ c ->get (RunnerFactory::class),
Original file line number Diff line number Diff line change 25
25
"fzaninotto/faker" : " ^1.5" ,
26
26
"aydin-hassan/cli-md-renderer" : " ^2.0" ,
27
27
"php-school/psx" : " ~1.0" ,
28
- "php-school/cli-menu" : " ^1.0.3 " ,
28
+ "php-school/cli-menu" : " ^1.2.0 " ,
29
29
"beberlei/assert" : " ^2.4" ,
30
30
"psr/http-message" : " ^1.0" ,
31
31
"zendframework/zend-diactoros" : " ^1.1.3" ,
You can’t perform that action at this time.
0 commit comments