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 (#955)
by Dan
04:20
created
lib/Default/AbstractSmrAccount.class.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -361,26 +361,26 @@
 block discarded – undo
361 361
 	}
362 362
 
363 363
 	public function isNPC() : bool {
364
-		if(!isset($this->npc)) {
365
-			$this->db->query('SELECT login FROM npc_logins WHERE login = '.$this->db->escapeString($this->getLogin()).' LIMIT 1;');
364
+		if (!isset($this->npc)) {
365
+			$this->db->query('SELECT login FROM npc_logins WHERE login = ' . $this->db->escapeString($this->getLogin()) . ' LIMIT 1;');
366 366
 			$this->npc = $this->db->nextRecord();
367 367
 		}
368 368
 		return $this->npc;
369 369
 	}
370 370
 
371 371
 	protected function getHOFData() : void {
372
-		if(!isset($this->HOF)) {
372
+		if (!isset($this->HOF)) {
373 373
 			//Get Player HOF
374 374
 			$this->db->query('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');
375 375
 			$this->HOF = array();
376
-			while($this->db->nextRecord()) {
377
-				$hof =& $this->HOF;
378
-				$typeList = explode(':',$this->db->getField('type'));
379
-				foreach($typeList as $type) {
380
-					if(!isset($hof[$type])) {
376
+			while ($this->db->nextRecord()) {
377
+				$hof = & $this->HOF;
378
+				$typeList = explode(':', $this->db->getField('type'));
379
+				foreach ($typeList as $type) {
380
+					if (!isset($hof[$type])) {
381 381
 						$hof[$type] = array();
382 382
 					}
383
-					$hof =& $hof[$type];
383
+					$hof = & $hof[$type];
384 384
 				}
385 385
 				$hof = $this->db->getFloat('amount');
386 386
 			}
Please login to merge, or discard this patch.