Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Passed
Push — master ( 413390...4712c7 )
by Dan
04:17
created
src/admin/Default/1.6/universe_create_planets.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/admin/Default/1.6/universe_create_locations.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/admin/Default/enable_game_processing.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,4 +7,4 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/lib/Default/hof.inc.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
55 55
 	$session = Smr\Session::getInstance();
56 56
 	$account = $session->getAccount();
57 57
 	if (($vis == HOF_PRIVATE && $account->getAccountID() != $accountID) ||
58
-	    ($vis == HOF_ALLIANCE && isset($gameID) &&
59
-	     !SmrGame::getGame($gameID)->hasEnded() &&
60
-	     !SmrPlayer::getPlayer($accountID, $gameID)->sameAlliance($session->getPlayer())))
58
+		($vis == HOF_ALLIANCE && isset($gameID) &&
59
+		 !SmrGame::getGame($gameID)->hasEnded() &&
60
+		 !SmrPlayer::getPlayer($accountID, $gameID)->sameAlliance($session->getPlayer())))
61 61
 	{
62 62
 		return '-';
63 63
 	} else {
Please login to merge, or discard this patch.
src/engine/Default/history_games.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 $db = Smr\Database::getInstance();
18 18
 $db->switchDatabases($var['HistoryDatabase']);
19 19
 $db->query('SELECT start_date, type, end_date, game_name, speed, game_id ' .
20
-           'FROM game WHERE game_id = ' . $db->escapeNumber($game_id));
20
+		   'FROM game WHERE game_id = ' . $db->escapeNumber($game_id));
21 21
 $db->requireRecord();
22 22
 $template->assign('GameName', $game_name);
23 23
 $template->assign('Start', date($account->getDateFormat(), $db->getInt('start_date')));
Please login to merge, or discard this patch.
src/lib/Default/AbstractSmrPlayer.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
 		while ($this->db->nextRecord()) {
326 326
 			try {
327 327
 				$otherPlayer = SmrPlayer::getPlayer($this->db->getInt('from_account_id'),
328
-				                                    $this->getGameID(), $forceUpdate);
328
+													$this->getGameID(), $forceUpdate);
329 329
 			} catch (PlayerNotFoundException $e) {
330 330
 				// Skip players that have not joined this game
331 331
 				continue;
@@ -885,9 +885,9 @@  discard block
 block discarded – undo
885 885
 	 */
886 886
 	public function canFight() : bool {
887 887
 		return !($this->hasNewbieTurns() ||
888
-		         $this->isDead() ||
889
-		         $this->isLandedOnPlanet() ||
890
-		         $this->hasFederalProtection());
888
+				 $this->isDead() ||
889
+				 $this->isLandedOnPlanet() ||
890
+				 $this->hasFederalProtection());
891 891
 	}
892 892
 
893 893
 	public function setDead(bool $bool) : void {
Please login to merge, or discard this patch.