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 — dependabot/docker/dot-github/a... ( 2f1140 )
by
unknown
15:00 queued 07:19
created
src/templates/Default/engine/Default/preferences.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -337,8 +337,8 @@
 block discarded – undo
337 337
 					foreach (Globals::getAvailableTemplates() as $Template) {
338 338
 						foreach (Globals::getAvailableColourSchemes($Template) as $ColourScheme) {
339 339
 							$selected = ($ThisAccount->getTemplate() == $Template &&
340
-							             $ThisAccount->getColourScheme() == $ColourScheme &&
341
-							             $ThisAccount->isDefaultCSSEnabled()) ? 'selected' : '';
340
+										 $ThisAccount->getColourScheme() == $ColourScheme &&
341
+										 $ThisAccount->isDefaultCSSEnabled()) ? 'selected' : '';
342 342
 							$name = $Template . ' - ' . $ColourScheme;
343 343
 							?><option value="<?php echo $name; ?>" <?php echo $selected; ?>><?php echo $name; ?></option><?php
344 344
 						}
Please login to merge, or discard this patch.
src/bootstrap.php 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.
templates/Default/engine/Default/includes/TraderCombatKillMessage.inc.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 } else {
7 7
 	// Killed by port, planet, forces
8 8
 	echo 'The <span class="creds"> ' . number_format($KillResults['LostCredits'])
9
-	     . '</span> credits that were onboard ' . $TargetPlayer->getDisplayName()
10
-	     . "'s ship are lost in the wreckage.<br />";
9
+		 . '</span> credits that were onboard ' . $TargetPlayer->getDisplayName()
10
+		 . "'s ship are lost in the wreckage.<br />";
11 11
 }
12 12
 ?>
Please login to merge, or discard this patch.
src/templates/Default/engine/Default/includes/SectorMap.inc.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 						if (!$UniGen) {
103 103
 							$CanScanSector = ($ThisShip->hasScanner() && $isLinkedSector) || $isCurrentSector;
104 104
 							$ShowFriendlyForces = isset($HideAlliedForces) && $HideAlliedForces ?
105
-							                      $Sector->hasPlayerForces($MapPlayer) : $Sector->hasFriendlyForces($MapPlayer);
105
+												  $Sector->hasPlayerForces($MapPlayer) : $Sector->hasFriendlyForces($MapPlayer);
106 106
 							if (($CanScanSector && ($Sector->hasForces() || $Sector->hasPlayers())) || $ShowFriendlyForces || $Sector->hasFriendlyTraders($MapPlayer)) { ?>
107 107
 								<div class="lmtf"><?php
108 108
 									if ($CanScanSector && $Sector->hasEnemyTraders($MapPlayer)) {
Please login to merge, or discard this patch.
src/lib/Default/SmrSector.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -555,7 +555,7 @@
 block discarded – undo
555 555
 	 */
556 556
 	public function setWarp(SmrSector $warp): void {
557 557
 		if ($this->getWarp() == $warp->getSectorID() &&
558
-		    $warp->getWarp() == $this->getSectorID()) {
558
+			$warp->getWarp() == $this->getSectorID()) {
559 559
 			// Warps are already set correctly!
560 560
 			return;
561 561
 		}
Please login to merge, or discard this patch.
src/lib/Default/AbstractSmrPlayer.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -870,9 +870,9 @@
 block discarded – undo
870 870
 	 */
871 871
 	public function canFight(): bool {
872 872
 		return !($this->hasNewbieTurns() ||
873
-		         $this->isDead() ||
874
-		         $this->isLandedOnPlanet() ||
875
-		         $this->hasFederalProtection());
873
+				 $this->isDead() ||
874
+				 $this->isLandedOnPlanet() ||
875
+				 $this->hasFederalProtection());
876 876
 	}
877 877
 
878 878
 	public function setDead(bool $bool): void {
Please login to merge, or discard this patch.
src/lib/Smr/HallOfFame.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,9 +67,9 @@
 block discarded – undo
67 67
 		$session = Session::getInstance();
68 68
 		$account = $session->getAccount();
69 69
 		if (($vis == HOF_PRIVATE && $account->getAccountID() != $accountID) ||
70
-		    ($vis == HOF_ALLIANCE && isset($gameID) &&
71
-		     !SmrGame::getGame($gameID)->hasEnded() &&
72
-		     !SmrPlayer::getPlayer($accountID, $gameID)->sameAlliance($session->getPlayer()))) {
70
+			($vis == HOF_ALLIANCE && isset($gameID) &&
71
+			 !SmrGame::getGame($gameID)->hasEnded() &&
72
+			 !SmrPlayer::getPlayer($accountID, $gameID)->sameAlliance($session->getPlayer()))) {
73 73
 			return '-';
74 74
 		}
75 75
 		return $amount;
Please login to merge, or discard this patch.
src/lib/Default/AbstractSmrShip.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -754,14 +754,14 @@
 block discarded – undo
754 754
 
755 755
 	public function isFederal(): bool {
756 756
 		return $this->getTypeID() === SHIP_TYPE_FEDERAL_DISCOVERY ||
757
-		       $this->getTypeID() === SHIP_TYPE_FEDERAL_WARRANT ||
758
-		       $this->getTypeID() === SHIP_TYPE_FEDERAL_ULTIMATUM;
757
+			   $this->getTypeID() === SHIP_TYPE_FEDERAL_WARRANT ||
758
+			   $this->getTypeID() === SHIP_TYPE_FEDERAL_ULTIMATUM;
759 759
 	}
760 760
 
761 761
 	public function isUnderground(): bool {
762 762
 		return $this->getTypeID() === SHIP_TYPE_THIEF ||
763
-		       $this->getTypeID() === SHIP_TYPE_ASSASSIN ||
764
-		       $this->getTypeID() === SHIP_TYPE_DEATH_CRUISER;
763
+			   $this->getTypeID() === SHIP_TYPE_ASSASSIN ||
764
+			   $this->getTypeID() === SHIP_TYPE_DEATH_CRUISER;
765 765
 	}
766 766
 
767 767
 	/**
Please login to merge, or discard this patch.
src/pages/Player/ChatSharing.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
 			$shareFrom[$fromAccountId] = [
39 39
 				'Player ID' => $otherPlayer == null ? '-' : $otherPlayer->getPlayerID(),
40 40
 				'Player Name' => $otherPlayer == null ?
41
-				                 '<b>Account</b>: ' . SmrAccount::getAccount($fromAccountId)->getHofDisplayName() :
42
-				                 $otherPlayer->getDisplayName(),
41
+								 '<b>Account</b>: ' . SmrAccount::getAccount($fromAccountId)->getHofDisplayName() :
42
+								 $otherPlayer->getDisplayName(),
43 43
 				'All Games' => $gameId == 0 ? '<span class="green">YES</span>' : '<span class="red">NO</span>',
44 44
 				'Game ID' => $gameId,
45 45
 			];
@@ -59,8 +59,8 @@  discard block
 block discarded – undo
59 59
 			$shareTo[$toAccountId] = [
60 60
 				'Player ID' => $otherPlayer == null ? '-' : $otherPlayer->getPlayerID(),
61 61
 				'Player Name' => $otherPlayer == null ?
62
-				                 '<b>Account</b>: ' . SmrAccount::getAccount($toAccountId)->getHofDisplayName() :
63
-				                 $otherPlayer->getDisplayName(),
62
+								 '<b>Account</b>: ' . SmrAccount::getAccount($toAccountId)->getHofDisplayName() :
63
+								 $otherPlayer->getDisplayName(),
64 64
 				'All Games' => $gameId == 0 ? '<span class="green">YES</span>' : '<span class="red">NO</span>',
65 65
 				'Game ID' => $gameId,
66 66
 			];
Please login to merge, or discard this patch.