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/composer/phpstan/ph... ( 0da3cc )
by
unknown
06:12
created
src/lib/Default/AbstractSmrPlayer.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
 		foreach ($dbResult->records() as $dbRecord) {
310 310
 			try {
311 311
 				$otherPlayer = SmrPlayer::getPlayer($dbRecord->getInt('from_account_id'),
312
-				                                    $this->getGameID(), $forceUpdate);
312
+													$this->getGameID(), $forceUpdate);
313 313
 			} catch (Smr\Exceptions\PlayerNotFound) {
314 314
 				// Skip players that have not joined this game
315 315
 				continue;
@@ -866,9 +866,9 @@  discard block
 block discarded – undo
866 866
 	 */
867 867
 	public function canFight() : bool {
868 868
 		return !($this->hasNewbieTurns() ||
869
-		         $this->isDead() ||
870
-		         $this->isLandedOnPlanet() ||
871
-		         $this->hasFederalProtection());
869
+				 $this->isDead() ||
870
+				 $this->isLandedOnPlanet() ||
871
+				 $this->hasFederalProtection());
872 872
 	}
873 873
 
874 874
 	public function setDead(bool $bool) : void {
Please login to merge, or discard this patch.
src/templates/Default/engine/Default/admin/ip_view_results.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 	</center><?php
75 75
 
76 76
 } elseif (in_array($type, ['search', 'alliance_ips', 'wild_log', 'wild_in',
77
-                           'compare', 'compare_log', 'wild_ip', 'wild_host'])) { ?>
77
+						   'compare', 'compare_log', 'wild_ip', 'wild_host'])) { ?>
78 78
 
79 79
 	<center>
80 80
 		<?php echo $Summary; ?><br /><br />
Please login to merge, or discard this patch.
src/engine/Default/admin/newsletter_send_processing.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
 // Set the body of the e-mail
39 39
 set_mail_body($mail, $var['newsletter_html'], $var['newsletter_text'],
40
-              Smr\Request::get('salutation'));
40
+			  Smr\Request::get('salutation'));
41 41
 
42 42
 if (Smr\Request::get('to_email') == '*') {
43 43
 	// Send the newsletter to all players.
Please login to merge, or discard this patch.
src/engine/Default/admin/log_console_detail.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 	// * C o l o r   L e g e n d
29 29
 	// *********************************
30 30
 	$avail_colors = array('#FFFFFF', '#00FF00', '#FF3377', '#0099FF',
31
-	                      '#FF0000', '#0000FF');
31
+						  '#FF0000', '#0000FF');
32 32
 
33 33
 	// now assign each account id a color
34 34
 	$colors = [];
Please login to merge, or discard this patch.
src/engine/Default/admin/unigen/universe_create_sector_details.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 $template->assign('SelectedPortRaceID', $selectedPortRaceID);
26 26
 
27 27
 $sectorLocationIDs = array_pad(array_keys($editSector->getLocations()),
28
-                               UNI_GEN_LOCATION_SLOTS, 0);
28
+							   UNI_GEN_LOCATION_SLOTS, 0);
29 29
 $template->assign('SectorLocationIDs', $sectorLocationIDs);
30 30
 
31 31
 if ($editSector->hasWarp()) {
Please login to merge, or discard this patch.
src/engine/Default/admin/unigen/universe_create_planets.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
 // Form to make planet changes
39 39
 $container = Page::create('admin/unigen/universe_create_save_processing.php',
40
-                          'admin/unigen/universe_create_sectors.php', $var);
40
+						  'admin/unigen/universe_create_sectors.php', $var);
41 41
 $template->assign('CreatePlanetsFormHREF', $container->href());
42 42
 
43 43
 // HREF to cancel and return to the previous page
Please login to merge, or discard this patch.
src/engine/Default/admin/unigen/universe_create_locations.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 
99 99
 // Form to make location changes
100 100
 $container = Page::create('admin/unigen/universe_create_save_processing.php',
101
-                          'admin/unigen/universe_create_sectors.php', $var);
101
+						  'admin/unigen/universe_create_sectors.php', $var);
102 102
 $template->assign('CreateLocationsFormHREF', $container->href());
103 103
 
104 104
 // HREF to cancel and return to the previous page
Please login to merge, or discard this patch.
src/engine/Default/admin/unigen/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.
src/engine/Default/admin/unigen/game_create_processing.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 	create_error('Join Date is not valid!');
22 22
 }
23 23
 $start = empty(Smr\Request::get('game_start')) ? $join :
24
-         DateTime::createFromFormat('d/m/Y|', Smr\Request::get('game_start'));
24
+		 DateTime::createFromFormat('d/m/Y|', Smr\Request::get('game_start'));
25 25
 if ($start === false) {
26 26
 	create_error('Start Date is not valid!');
27 27
 }
Please login to merge, or discard this patch.