We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -30,8 +30,8 @@ |
||
| 30 | 30 | $leader = SmrPlayer::getPlayer($db->getInt('leader_account_id'), $player->getGameID()); |
| 31 | 31 | $pickedPlayer = SmrPlayer::getPlayer($db->getInt('picked_account_id'), $player->getGameID()); |
| 32 | 32 | $history[] = array('Leader' => $leader, |
| 33 | - 'Player' => $pickedPlayer, |
|
| 34 | - 'Time' => $db->getInt('time')); |
|
| 33 | + 'Player' => $pickedPlayer, |
|
| 34 | + 'Time' => $db->getInt('time')); |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | $template->assign('History', $history); |
@@ -15,11 +15,11 @@ |
||
| 15 | 15 | // Special case for leaders who haven't made their own alliance yet, |
| 16 | 16 | // or are still in the Newbie Help Alliance. |
| 17 | 17 | $teams[$leader->getAccountId()] = array('Leader' => $leader, |
| 18 | - 'Size' => 0); |
|
| 18 | + 'Size' => 0); |
|
| 19 | 19 | } else { |
| 20 | 20 | $teams[$leader->getAccountId()] = array('Leader' => $leader, |
| 21 | - 'Alliance' => $alliance, |
|
| 22 | - 'Size' => $alliance->getNumMembers()); |
|
| 21 | + 'Alliance' => $alliance, |
|
| 22 | + 'Size' => $alliance->getNumMembers()); |
|
| 23 | 23 | } |
| 24 | 24 | } |
| 25 | 25 | |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | } else { |
| 7 | 7 | // Killed by port, planet, forces |
| 8 | 8 | echo 'The <span class="creds"> ' . number_format($KillResults['LostCredits']) |
| 9 | - . '</span> credits that were onboard ' . $TargetPlayer->getDisplayName() |
|
| 10 | - . "'s ship are lost in the wreckage.<br />"; |
|
| 9 | + . '</span> credits that were onboard ' . $TargetPlayer->getDisplayName() |
|
| 10 | + . "'s ship are lost in the wreckage.<br />"; |
|
| 11 | 11 | } |
| 12 | 12 | ?> |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | </center><?php |
| 75 | 75 | |
| 76 | 76 | } elseif (in_array($type, ['search', 'alliance_ips', 'wild_log', 'wild_in', |
| 77 | - 'compare', 'compare_log', 'wild_ip', 'wild_host'])) { ?> |
|
| 77 | + 'compare', 'compare_log', 'wild_ip', 'wild_host'])) { ?> |
|
| 78 | 78 | |
| 79 | 79 | <center> |
| 80 | 80 | <?php echo $Summary; ?><br /><br /> |
@@ -3,11 +3,11 @@ |
||
| 3 | 3 | if (!empty($_POST['game_id'])) { |
| 4 | 4 | // Enable the requested game |
| 5 | 5 | $db->query('UPDATE game SET enabled=' . $db->escapeBoolean(true) . |
| 6 | - ' WHERE game_id=' . $db->escapeNumber($_POST['game_id'])); |
|
| 6 | + ' WHERE game_id=' . $db->escapeNumber($_POST['game_id'])); |
|
| 7 | 7 | |
| 8 | 8 | $game = SmrGame::getGame($_POST['game_id'])->getDisplayName(); |
| 9 | 9 | $msg = "<span class='green'>SUCCESS: </span>Enabled game $game."; |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | 12 | forward(create_container('skeleton.php', 'enable_game.php', |
| 13 | - array('processing_msg' => $msg))); |
|
| 13 | + array('processing_msg' => $msg))); |
|
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | // Form to make planet changes |
| 31 | 31 | $container = create_container('1.6/universe_create_save_processing.php', |
| 32 | - '1.6/universe_create_sectors.php', $var); |
|
| 32 | + '1.6/universe_create_sectors.php', $var); |
|
| 33 | 33 | $template->assign('CreatePlanetsFormHREF', SmrSession::getNewHREF($container)); |
| 34 | 34 | |
| 35 | 35 | // HREF to cancel and return to the previous page |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | |
| 88 | 88 | // Form to make location changes |
| 89 | 89 | $container = create_container('1.6/universe_create_save_processing.php', |
| 90 | - '1.6/universe_create_sectors.php', $var); |
|
| 90 | + '1.6/universe_create_sectors.php', $var); |
|
| 91 | 91 | $template->assign('CreateLocationsFormHREF', SmrSession::getNewHREF($container)); |
| 92 | 92 | |
| 93 | 93 | // HREF to cancel and return to the previous page |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $template->assign('SelectedPortRaceID', $selectedPortRaceID); |
| 26 | 26 | |
| 27 | 27 | $sectorLocationIDs = array_pad(array_keys($editSector->getLocations()), |
| 28 | - UNI_GEN_LOCATION_SLOTS, 0); |
|
| 28 | + UNI_GEN_LOCATION_SLOTS, 0); |
|
| 29 | 29 | $template->assign('SectorLocationIDs', $sectorLocationIDs); |
| 30 | 30 | |
| 31 | 31 | if ($editSector->hasWarp()) { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | // * C o l o r L e g e n d |
| 29 | 29 | // ********************************* |
| 30 | 30 | $avail_colors = array('#FFFFFF', '#00FF00', '#FF3377', '#0099FF', |
| 31 | - '#FF0000', '#0000FF'); |
|
| 31 | + '#FF0000', '#0000FF'); |
|
| 32 | 32 | |
| 33 | 33 | // now assign each account id a color |
| 34 | 34 | $colors = []; |