We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -32,7 +32,7 @@ |
||
32 | 32 | // Delete all tickets and re-insert the winning ticket |
33 | 33 | $db->query('DELETE FROM player_has_ticket WHERE game_id = ' . $db->escapeNumber($gameID)); |
34 | 34 | $db->query('INSERT INTO player_has_ticket (game_id, account_id, time, prize) ' |
35 | - .'VALUES (' . $db->escapeNumber($gameID) . ',' . $db->escapeNumber($winner_id) . ',\'0\',' . $db->escapeNumber($lottoInfo['Prize']) . ')'); |
|
35 | + .'VALUES (' . $db->escapeNumber($gameID) . ',' . $db->escapeNumber($winner_id) . ',\'0\',' . $db->escapeNumber($lottoInfo['Prize']) . ')'); |
|
36 | 36 | |
37 | 37 | $db->unlock(); |
38 | 38 |
@@ -735,7 +735,7 @@ |
||
735 | 735 | if ($buildingTypeID === null) { |
736 | 736 | $structs = $this->typeInfo::STRUCTURES; |
737 | 737 | return array_combine(array_keys($structs), |
738 | - array_column($structs, 'max_amount')); |
|
738 | + array_column($structs, 'max_amount')); |
|
739 | 739 | } |
740 | 740 | return $this->getStructureTypes($buildingTypeID)->maxAmount(); |
741 | 741 | } |
@@ -912,14 +912,14 @@ |
||
912 | 912 | |
913 | 913 | public function isFederal() : bool { |
914 | 914 | return $this->getShipTypeID() === SHIP_TYPE_FEDERAL_DISCOVERY || |
915 | - $this->getShipTypeID() === SHIP_TYPE_FEDERAL_WARRANT || |
|
916 | - $this->getShipTypeID() === SHIP_TYPE_FEDERAL_ULTIMATUM; |
|
915 | + $this->getShipTypeID() === SHIP_TYPE_FEDERAL_WARRANT || |
|
916 | + $this->getShipTypeID() === SHIP_TYPE_FEDERAL_ULTIMATUM; |
|
917 | 917 | } |
918 | 918 | |
919 | 919 | public function isUnderground() : bool { |
920 | 920 | return $this->getShipTypeID() === SHIP_TYPE_THIEF || |
921 | - $this->getShipTypeID() === SHIP_TYPE_ASSASSIN || |
|
922 | - $this->getShipTypeID() === SHIP_TYPE_DEATH_CRUISER; |
|
921 | + $this->getShipTypeID() === SHIP_TYPE_ASSASSIN || |
|
922 | + $this->getShipTypeID() === SHIP_TYPE_DEATH_CRUISER; |
|
923 | 923 | } |
924 | 924 | |
925 | 925 | public function shootPlayers(array $targetPlayers) : array { |
@@ -33,7 +33,7 @@ |
||
33 | 33 | |
34 | 34 | // Form to make planet changes |
35 | 35 | $container = Page::create('1.6/universe_create_save_processing.php', |
36 | - '1.6/universe_create_sectors.php', $var); |
|
36 | + '1.6/universe_create_sectors.php', $var); |
|
37 | 37 | $template->assign('CreatePlanetsFormHREF', $container->href()); |
38 | 38 | |
39 | 39 | // HREF to cancel and return to the previous page |
@@ -94,7 +94,7 @@ |
||
94 | 94 | |
95 | 95 | // Form to make location changes |
96 | 96 | $container = Page::create('1.6/universe_create_save_processing.php', |
97 | - '1.6/universe_create_sectors.php', $var); |
|
97 | + '1.6/universe_create_sectors.php', $var); |
|
98 | 98 | $template->assign('CreateLocationsFormHREF', $container->href()); |
99 | 99 | |
100 | 100 | // HREF to cancel and return to the previous page |
@@ -7,4 +7,4 @@ |
||
7 | 7 | $msg = '<span class="green">SUCCESS: </span>Enabled game ' . $game->getDisplayName(); |
8 | 8 | |
9 | 9 | Page::create('skeleton.php', 'enable_game.php', |
10 | - array('processing_msg' => $msg))->go(); |
|
10 | + array('processing_msg' => $msg))->go(); |