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/github_actions/dock... ( 47a8cd )
by
unknown
31:21 queued 22:05
created
src/lib/Default/AbstractSmrAccount.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -393,13 +393,13 @@
 block discarded – undo
393 393
 			$dbResult = $this->db->read('SELECT type,sum(amount) as amount FROM player_hof WHERE ' . $this->SQL . ' AND game_id IN (SELECT game_id FROM game WHERE ignore_stats = \'FALSE\') GROUP BY type');
394 394
 			$this->HOF = [];
395 395
 			foreach ($dbResult->records() as $dbRecord) {
396
-				$hof =& $this->HOF;
396
+				$hof = & $this->HOF;
397 397
 				$typeList = explode(':', $dbRecord->getString('type'));
398 398
 				foreach ($typeList as $type) {
399 399
 					if (!isset($hof[$type])) {
400 400
 						$hof[$type] = [];
401 401
 					}
402
-					$hof =& $hof[$type];
402
+					$hof = & $hof[$type];
403 403
 				}
404 404
 				$hof = $dbRecord->getFloat('amount');
405 405
 			}
Please login to merge, or discard this patch.
src/engine/Default/hall_of_fame_new.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,13 +35,13 @@
 block discarded – undo
35 35
 const USER_SCORE_NAME = 'User Score';
36 36
 $hofTypes = [DONATION_NAME => true, USER_SCORE_NAME => true];
37 37
 foreach ($dbResult->records() as $dbRecord) {
38
-	$hof =& $hofTypes;
38
+	$hof = & $hofTypes;
39 39
 	$typeList = explode(':', $dbRecord->getString('type'));
40 40
 	foreach ($typeList as $type) {
41 41
 		if (!isset($hof[$type])) {
42 42
 			$hof[$type] = [];
43 43
 		}
44
-		$hof =& $hof[$type];
44
+		$hof = & $hof[$type];
45 45
 	}
46 46
 	$hof = true;
47 47
 }
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/Smr/VoteSite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  */
11 11
 class VoteSite {
12 12
 
13
-	private static ?array $CACHE_TIMEOUTS = null;
13
+	private static ? array $CACHE_TIMEOUTS = null;
14 14
 
15 15
 	// NOTE: link IDs should never be changed!
16 16
 	public const LINK_ID_TWG = 3;
Please login to merge, or discard this patch.
src/lib/Smr/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 	 * Not intended to be used outside the DI context.
27 27
 	 */
28 28
 	public static function mysqliFactory(DatabaseProperties $dbProperties): mysqli {
29
-		if (!mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT)) {
29
+		if (!mysqli_report(MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT)) {
30 30
 			throw new RuntimeException('Failed to enable mysqli error reporting');
31 31
 		}
32 32
 		$mysql = new mysqli(
Please login to merge, or discard this patch.
src/htdocs/ship_list.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 		'illusion' => $ship->canHaveIllusion() ? 'Yes' : '',
71 71
 		'jump' => $ship->canHaveJump() ? 'Yes' : '',
72 72
 		'scrambler' => $ship->canHaveDCS() ? 'Yes' : '',
73
-		'locs' => implode('', array_map(fn(string $name): string => '<div>' . $name . '</div>', $shipLocs)),
73
+		'locs' => implode('', array_map(fn(string $name) : string => '<div>' . $name . '</div>', $shipLocs)),
74 74
 	];
75 75
 	return $stat;
76 76
 }
Please login to merge, or discard this patch.