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... ( 8b1d64 )
by
unknown
16:25 queued 08:05
created
src/lib/Default/AbstractSmrPlayer.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2003,13 +2003,13 @@  discard block
 block discarded – undo
2003 2003
 			$dbResult = $this->db->read('SELECT type,amount FROM player_hof WHERE ' . $this->SQL);
2004 2004
 			$this->HOF = [];
2005 2005
 			foreach ($dbResult->records() as $dbRecord) {
2006
-				$hof =& $this->HOF;
2006
+				$hof = & $this->HOF;
2007 2007
 				$typeList = explode(':', $dbRecord->getString('type'));
2008 2008
 				foreach ($typeList as $type) {
2009 2009
 					if (!isset($hof[$type])) {
2010 2010
 						$hof[$type] = [];
2011 2011
 					}
2012
-					$hof =& $hof[$type];
2012
+					$hof = & $hof[$type];
2013 2013
 				}
2014 2014
 				$hof = $dbRecord->getFloat('amount');
2015 2015
 			}
@@ -2088,8 +2088,8 @@  discard block
 block discarded – undo
2088 2088
 		}
2089 2089
 		self::$HOFVis[$hofType] = $visibility;
2090 2090
 
2091
-		$hof =& $this->HOF;
2092
-		$hofChanged =& $this->hasHOFChanged;
2091
+		$hof = & $this->HOF;
2092
+		$hofChanged = & $this->hasHOFChanged;
2093 2093
 		$new = false;
2094 2094
 		foreach ($typeList as $type) {
2095 2095
 			if (!isset($hofChanged[$type])) {
@@ -2099,8 +2099,8 @@  discard block
 block discarded – undo
2099 2099
 				$hof[$type] = [];
2100 2100
 				$new = true;
2101 2101
 			}
2102
-			$hof =& $hof[$type];
2103
-			$hofChanged =& $hofChanged[$type];
2102
+			$hof = & $hof[$type];
2103
+			$hofChanged = & $hofChanged[$type];
2104 2104
 		}
2105 2105
 		if ($hofChanged == null) {
2106 2106
 			$hofChanged = self::HOF_CHANGED;
@@ -2766,7 +2766,7 @@  discard block
 block discarded – undo
2766 2766
 			'Starting Sector' => $this->getSectorID(),
2767 2767
 		];
2768 2768
 
2769
-		$this->missions[$missionID] =& $mission;
2769
+		$this->missions[$missionID] = & $mission;
2770 2770
 		$this->setupMissionStep($missionID);
2771 2771
 		$this->rebuildMission($missionID);
2772 2772
 
@@ -2815,7 +2815,7 @@  discard block
 block discarded – undo
2815 2815
 
2816 2816
 	public function claimMissionReward(int $missionID): string {
2817 2817
 		$this->getMissions();
2818
-		$mission =& $this->missions[$missionID];
2818
+		$mission = & $this->missions[$missionID];
2819 2819
 		if ($mission === false) {
2820 2820
 			throw new Exception('Unknown mission: ' . $missionID);
2821 2821
 		}
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.