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
Pull Request — master (#924)
by Dan
04:13
created
lib/Default/SmrPlanet.class.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -707,7 +707,7 @@
 block discarded – undo
707 707
 		if ($buildingTypeID === false) {
708 708
 			$structs = $this->typeInfo::STRUCTURES;
709 709
 			return array_combine(array_keys($structs),
710
-			                     array_column($structs, 'max_amount'));
710
+								 array_column($structs, 'max_amount'));
711 711
 		}
712 712
 		return $this->getStructureTypes($buildingTypeID)->maxAmount();
713 713
 	}
Please login to merge, or discard this patch.
lib/Default/AbstractSmrShip.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -857,14 +857,14 @@
 block discarded – undo
857 857
 
858 858
 	public function isFederal() {
859 859
 		return $this->getShipTypeID() == SHIP_TYPE_FEDERAL_DISCOVERY ||
860
-		       $this->getShipTypeID() == SHIP_TYPE_FEDERAL_WARRANT ||
861
-		       $this->getShipTypeID() == SHIP_TYPE_FEDERAL_ULTIMATUM;
860
+			   $this->getShipTypeID() == SHIP_TYPE_FEDERAL_WARRANT ||
861
+			   $this->getShipTypeID() == SHIP_TYPE_FEDERAL_ULTIMATUM;
862 862
 	}
863 863
 
864 864
 	public function isUnderground() {
865 865
 		return $this->getShipTypeID() == SHIP_TYPE_THIEF ||
866
-		       $this->getShipTypeID() == SHIP_TYPE_ASSASSIN ||
867
-		       $this->getShipTypeID() == SHIP_TYPE_DEATH_CRUISER;
866
+			   $this->getShipTypeID() == SHIP_TYPE_ASSASSIN ||
867
+			   $this->getShipTypeID() == SHIP_TYPE_DEATH_CRUISER;
868 868
 	}
869 869
 
870 870
 	public function &shootPlayer(AbstractSmrPlayer $targetPlayer) {
Please login to merge, or discard this patch.
engine/Default/galactic_post_past.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 $publishedGames = array();
18 18
 while ($db->nextRecord()) {
19 19
 	$publishedGames[] = array('game_name' => $db->getField('game_name'),
20
-	                          'game_id' => $db->getInt('game_id'));
20
+							  'game_id' => $db->getInt('game_id'));
21 21
 }
22 22
 $template->assign('PublishedGames', $publishedGames);
23 23
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	$container['back'] = true;
32 32
 
33 33
 	$pastEditions[] = array('title' => $db->getField('title'),
34
-	                        'online_since' => $db->getInt('online_since'),
35
-	                        'href' => SmrSession::getNewHREF($container));
34
+							'online_since' => $db->getInt('online_since'),
35
+							'href' => SmrSession::getNewHREF($container));
36 36
 }
37 37
 $template->assign('PastEditions', $pastEditions);
Please login to merge, or discard this patch.
engine/Default/cargo_dump_processing.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
 	// Don't lose more exp than you have
48 48
 	$lost_xp = min($player->getExperience(),
49
-	               IRound(SmrPort::getBaseExperience($amount, $good_distance)));
49
+				   IRound(SmrPort::getBaseExperience($amount, $good_distance)));
50 50
 	$player->decreaseExperience($lost_xp);
51 51
 	$player->increaseHOF($lost_xp, array('Trade', 'Experience', 'Jettisoned'), HOF_PUBLIC);
52 52
 
Please login to merge, or discard this patch.
admin/Default/1.6/check_map.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
templates/Default/engine/Default/combat_log_viewer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@
 block discarded – undo
20 20
 	$this->includeTemplate('includes/ForceFullCombatResults.inc', array('FullForceCombatResults'=>$CombatResults));
21 21
 } elseif ($CombatResultsType == 'PORT') {
22 22
 	$this->includeTemplate('includes/PortFullCombatResults.inc', array('FullPortCombatResults'=>$CombatResults,
23
-	                                                                  'MinimalDisplay'=>false,
24
-	                                                                  'AlreadyDestroyed'=>false));
23
+																	  'MinimalDisplay'=>false,
24
+																	  'AlreadyDestroyed'=>false));
25 25
 } elseif ($CombatResultsType == 'PLANET') {
26 26
 	$this->includeTemplate('includes/PlanetFullCombatResults.inc', array('FullPlanetCombatResults'=>$CombatResults,
27
-	                                                                    'MinimalDisplay'=>false,
28
-	                                                                    'AlreadyDestroyed'=>false));
27
+																		'MinimalDisplay'=>false,
28
+																		'AlreadyDestroyed'=>false));
29 29
 }
30 30
 ?>
Please login to merge, or discard this patch.
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
 forward(create_container('skeleton.php', 'enable_game.php',
10
-                         array('processing_msg' => $msg)));
10
+						 array('processing_msg' => $msg)));
Please login to merge, or discard this patch.
admin/Default/1.6/game_edit_processing.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 // Get the dates ("|" sets hr/min/sec to 0)
4 4
 $join = DateTime::createFromFormat('d/m/Y|', Request::get('game_join'));
5 5
 $start = empty(Request::get('game_start')) ? $join :
6
-         DateTime::createFromFormat('d/m/Y|', Request::get('game_start'));
6
+		 DateTime::createFromFormat('d/m/Y|', Request::get('game_start'));
7 7
 $end = DateTime::createFromFormat('d/m/Y|', Request::get('game_end'));
8 8
 
9 9
 $game = SmrGame::getGame($var['game_id']);
Please login to merge, or discard this patch.
admin/Default/newsletter_send_processing.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
 // Set the body of the e-mail
37 37
 set_mail_body($mail, $var['newsletter_html'], $var['newsletter_text'],
38
-              Request::get('salutation'));
38
+			  Request::get('salutation'));
39 39
 
40 40
 if (Request::get('to_email') == '*') {
41 41
 	// Send the newsletter to all players.
Please login to merge, or discard this patch.