We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -123,7 +123,7 @@ |
||
| 123 | 123 | * |
| 124 | 124 | * @param array<string, mixed> $data |
| 125 | 125 | */ |
| 126 | -function replaceMissionTemplate(string|int|PlotGroup &$template, string $key, array $data): void { |
|
| 126 | +function replaceMissionTemplate(string|int|PlotGroup&$template, string $key, array $data): void { |
|
| 127 | 127 | if (!is_string($template)) { |
| 128 | 128 | return; |
| 129 | 129 | } |
@@ -1,5 +1,8 @@ |
||
| 1 | 1 | <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
| 2 | -<title><?php echo PAGE_TITLE; ?><?php if (isset($GameName)) echo ": $GameName"; ?></title> |
|
| 2 | +<title><?php echo PAGE_TITLE; ?><?php if (isset($GameName)) { |
|
| 3 | + echo ": $GameName"; |
|
| 4 | +} |
|
| 5 | +?></title> |
|
| 3 | 6 | <meta http-equiv="pragma" content="no-cache" /><?php |
| 4 | 7 | if ($ThisAccount->isDefaultCSSEnabled()) { ?> |
| 5 | 8 | <link rel="stylesheet" type="text/css" href="<?php echo $CSSLink; ?>" /> |
@@ -6,8 +6,7 @@ |
||
| 6 | 6 | |
| 7 | 7 | // Get the dates ("|" sets hr/min/sec to 0) |
| 8 | 8 | $join = DateTime::createFromFormat('d/m/Y|', Request::get('game_join')); |
| 9 | -$start = empty(Request::get('game_start')) ? $join : |
|
| 10 | - DateTime::createFromFormat('d/m/Y|', Request::get('game_start')); |
|
| 9 | +$start = empty(Request::get('game_start')) ? $join : DateTime::createFromFormat('d/m/Y|', Request::get('game_start')); |
|
| 11 | 10 | $end = DateTime::createFromFormat('d/m/Y|', Request::get('game_end')); |
| 12 | 11 | |
| 13 | 12 | $game = SmrGame::getGame($var['game_id']); |
@@ -19,8 +19,7 @@ |
||
| 19 | 19 | if ($join === false) { |
| 20 | 20 | create_error('Join Date is not valid!'); |
| 21 | 21 | } |
| 22 | -$start = empty(Request::get('game_start')) ? $join : |
|
| 23 | - DateTime::createFromFormat('d/m/Y|', Request::get('game_start')); |
|
| 22 | +$start = empty(Request::get('game_start')) ? $join : DateTime::createFromFormat('d/m/Y|', Request::get('game_start')); |
|
| 24 | 23 | if ($start === false) { |
| 25 | 24 | create_error('Start Date is not valid!'); |
| 26 | 25 | } |