We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | exit; |
89 | 89 | } |
90 | 90 | $account->addAuthMethod($_SESSION['socialLogin']->getLoginType(), |
91 | - $_SESSION['socialLogin']->getUserID()); |
|
91 | + $_SESSION['socialLogin']->getUserID()); |
|
92 | 92 | session_destroy(); |
93 | 93 | } |
94 | 94 | |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | // save session (incase we forward) |
114 | 114 | SmrSession::update(); |
115 | 115 | if (($disabled['Reason'] != CLOSE_ACCOUNT_INVALID_EMAIL_REASON) && |
116 | - ($disabled['Reason'] != CLOSE_ACCOUNT_BY_REQUEST_REASON)) { |
|
116 | + ($disabled['Reason'] != CLOSE_ACCOUNT_BY_REQUEST_REASON)) { |
|
117 | 117 | forward(create_container('disabled.php')); |
118 | 118 | } |
119 | 119 | } |
@@ -3,7 +3,7 @@ |
||
3 | 3 | function get_turns_message($player) { |
4 | 4 | // turns only update when the player is active, so calculate current turns |
5 | 5 | $turns = min($player->getTurns() + $player->getTurnsGained(time(), true), |
6 | - $player->getMaxTurns()); |
|
6 | + $player->getMaxTurns()); |
|
7 | 7 | $msg = $player->getPlayerName() . " has $turns/" . $player->getMaxTurns() . " turns."; |
8 | 8 | |
9 | 9 | // Calculate time to max turns if under the max |
@@ -24,7 +24,7 @@ |
||
24 | 24 | continue; |
25 | 25 | } |
26 | 26 | $turns = min($attendeePlayer->getTurns() + $attendeePlayer->getTurnsGained(time(), true), |
27 | - $attendeePlayer->getMaxTurns()); |
|
27 | + $attendeePlayer->getMaxTurns()); |
|
28 | 28 | $oppers[$attendeePlayer->getPlayerName()] = $turns; |
29 | 29 | } |
30 | 30 |
@@ -100,7 +100,7 @@ |
||
100 | 100 | |
101 | 101 | safefputs($fp, 'NICKSERV IDENTIFY ' . IRC_BOT_PASS . EOL); |
102 | 102 | |
103 | - sleep(5); |
|
103 | + sleep(5); |
|
104 | 104 | |
105 | 105 | // join our public channel |
106 | 106 | if (!IRC_DEBUGGING) { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | foreach ($alliance_vs_ids as $id) { |
53 | 53 | $row_alliance = SmrAlliance::getAlliance($id, $player->getGameID()); |
54 | 54 | $showRed = (!$curr_alliance->isNone() && $curr_alliance->hasDisbanded()) || |
55 | - (!$row_alliance->isNone() && $row_alliance->hasDisbanded()); |
|
55 | + (!$row_alliance->isNone() && $row_alliance->hasDisbanded()); |
|
56 | 56 | $showBold = $curr_id == $player->getAllianceID() || $id == $player->getAllianceID(); |
57 | 57 | $style = ''; |
58 | 58 | if ($curr_id == $id && !$row_alliance->isNone()) { |
@@ -15,4 +15,4 @@ |
||
15 | 15 | } |
16 | 16 | |
17 | 17 | $template->assign('AllClaims', array($player->getClaimableBounties('HQ'), |
18 | - $player->getClaimableBounties('UG'))); |
|
18 | + $player->getClaimableBounties('UG'))); |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $announcements = []; |
18 | 18 | while ($db->nextRecord()) { |
19 | 19 | $announcements[] = ['Time' => $db->getInt('time'), |
20 | - 'Msg' => $db->getField('msg')]; |
|
20 | + 'Msg' => $db->getField('msg')]; |
|
21 | 21 | } |
22 | 22 | $template->assign('Announcements', $announcements); |
23 | 23 |
@@ -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 |