We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 16 | public function build(AbstractSmrPlayer $player, Template $template): void { |
||
| 17 | if (!$player->getGame()->hasStarted()) { |
||
| 18 | create_error('You cannot leave newbie protection before the game begins!'); |
||
| 19 | } |
||
| 20 | |||
| 21 | $template->assign('PageTopic', 'Leave Newbie Protection'); |
||
| 22 | } |
||
| 25 |