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 (#874)
by Dan
13:23
created
engine/Default/bar_gambling_processing.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
 	//heres the AIs cards
181 181
 	$i = 1;
182 182
 	if ((get_value($ai_card) == 21 && count($ai_card) == 2) ||
183
-	    (get_value($player_card) > 21 && get_value($ai_card) <= 21)) {
183
+		(get_value($player_card) > 21 && get_value($ai_card) <= 21)) {
184 184
 		$message .= ('<h1 class="red center">Bank Wins</h1>');
185 185
 	}
186 186
 	$message .= ('<div class="center">Bank\'s Cards are</div><br /><table class="center"><tr>');
Please login to merge, or discard this patch.
htdocs/config.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 	if (!empty(BUG_REPORT_TO_ADDRESSES)) {
70 70
 		$mail = setupMailer();
71 71
 		$mail->Subject = (defined('PAGE_PREFIX') ? PAGE_PREFIX : '??? ') .
72
-		                 'Automatic Bug Report';
72
+						 'Automatic Bug Report';
73 73
 		$mail->setFrom('[email protected]');
74 74
 		$mail->Body = $message;
75 75
 		foreach (BUG_REPORT_TO_ADDRESSES as $toAddress) {
Please login to merge, or discard this patch.
lib/Default/PlayingCard.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
 	 */
45 45
 	public function getValue() {
46 46
 		if ($this->rankID == self::RANK_JACK ||
47
-		    $this->rankID == self::RANK_QUEEN ||
48
-		    $this->rankID == self::RANK_KING) {
47
+			$this->rankID == self::RANK_QUEEN ||
48
+			$this->rankID == self::RANK_KING) {
49 49
 			return 10;
50 50
 		} elseif ($this->isAce()) {
51 51
 			return 11;
Please login to merge, or discard this patch.
lib/Default/SmrSector.class.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -549,7 +549,7 @@
 block discarded – undo
549 549
 	 */
550 550
 	public function setWarp(SmrSector $warp) {
551 551
 		if ($this->getWarp() == $warp->getSectorID() &&
552
-		    $warp->getWarp() == $this->getSectorID()) {
552
+			$warp->getWarp() == $this->getSectorID()) {
553 553
 			// Warps are already set correctly!
554 554
 			return;
555 555
 		}
Please login to merge, or discard this patch.
lib/Default/AbstractSmrPort.class.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -960,7 +960,7 @@
 block discarded – undo
960 960
 	
961 961
 	public function calculateExperiencePercent($idealPrice, $offerPrice, $bargainPrice, $transactionType) {
962 962
 		if (($transactionType == 'Sell' && $bargainPrice < $offerPrice) ||
963
-		    ($transactionType == 'Buy' && $bargainPrice > $offerPrice)) {
963
+			($transactionType == 'Buy' && $bargainPrice > $offerPrice)) {
964 964
 			return 0;
965 965
 		}
966 966
 		if ($bargainPrice == $idealPrice || $transactionType == 'Steal') {
Please login to merge, or discard this patch.
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.