| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 33 | { |
||
| 34 | $playerIO = new PlayerIO(new SymfonyStyle($input, $output), $this->playerState); |
||
| 35 | $player = Player::new($playerIO->askForInformation('Choose player name')); |
||
| 36 | |||
| 37 | Story::continue(new WolfEncounterEvent(), $player, $playerIO); |
||
| 38 | |||
| 39 | return Command::SUCCESS; |
||
| 40 | } |
||
| 42 |