We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -9,7 +9,7 @@ |
||
9 | 9 | */ |
10 | 10 | class VoteSite { |
11 | 11 | |
12 | - private static ?array $CACHE_TIMEOUTS = null; |
|
12 | + private static ? array $CACHE_TIMEOUTS = null; |
|
13 | 13 | |
14 | 14 | // NOTE: link IDs should never be changed! |
15 | 15 | const LINK_ID_TWG = 3; |
@@ -44,7 +44,10 @@ |
||
44 | 44 | <td> |
45 | 45 | <select name="game_type"><?php |
46 | 46 | foreach (SmrGame::GAME_TYPES as $GameTypeID => $GameType) { |
47 | - ?><option value="<?php echo $GameTypeID; ?>" <?php if ($GameType == $Game['gameType']) echo 'selected'; ?>><?php echo $GameType; ?></option><?php |
|
47 | + ?><option value="<?php echo $GameTypeID; ?>" <?php if ($GameType == $Game['gameType']) { |
|
48 | + echo 'selected'; |
|
49 | + } |
|
50 | + ?>><?php echo $GameType; ?></option><?php |
|
48 | 51 | } ?> |
49 | 52 | </select> |
50 | 53 | </td> |
@@ -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 /> |
@@ -37,7 +37,7 @@ |
||
37 | 37 | |
38 | 38 | // Set the body of the e-mail |
39 | 39 | set_mail_body($mail, $var['newsletter_html'], $var['newsletter_text'], |
40 | - Smr\Request::get('salutation')); |
|
40 | + Smr\Request::get('salutation')); |
|
41 | 41 | |
42 | 42 | if (Smr\Request::get('to_email') == '*') { |
43 | 43 | // Send the newsletter to all players. |
@@ -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 = []; |
@@ -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()) { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | |
38 | 38 | // Form to make planet changes |
39 | 39 | $container = Page::create('admin/unigen/universe_create_save_processing.php', |
40 | - 'admin/unigen/universe_create_sectors.php', $var); |
|
40 | + 'admin/unigen/universe_create_sectors.php', $var); |
|
41 | 41 | $template->assign('CreatePlanetsFormHREF', $container->href()); |
42 | 42 | |
43 | 43 | // HREF to cancel and return to the previous page |
@@ -98,7 +98,7 @@ |
||
98 | 98 | |
99 | 99 | // Form to make location changes |
100 | 100 | $container = Page::create('admin/unigen/universe_create_save_processing.php', |
101 | - 'admin/unigen/universe_create_sectors.php', $var); |
|
101 | + 'admin/unigen/universe_create_sectors.php', $var); |
|
102 | 102 | $template->assign('CreateLocationsFormHREF', $container->href()); |
103 | 103 | |
104 | 104 | // HREF to cancel and return to the previous page |
@@ -20,7 +20,7 @@ |
||
20 | 20 | } |
21 | 21 | } |
22 | 22 | $missingLocs = array_diff(array_keys(SmrLocation::getAllLocations()), |
23 | - array_keys($existingLocs)); |
|
23 | + array_keys($existingLocs)); |
|
24 | 24 | $missingLocNames = []; |
25 | 25 | foreach ($missingLocs as $locID) { |
26 | 26 | $missingLocNames[] = SmrLocation::getLocation($locID)->getName(); |