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 (#1049)
by Dan
05:26
created
src/lib/Default/DummyPlayer.class.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,8 +48,9 @@  discard block
 block discarded – undo
48 48
 	}
49 49
 
50 50
 	public function setAllianceID($ID) {
51
-		if ($this->allianceID == $ID)
52
-			return;
51
+		if ($this->allianceID == $ID) {
52
+					return;
53
+		}
53 54
 		$this->allianceID = $ID;
54 55
 	}
55 56
 
@@ -85,8 +86,7 @@  discard block
 block discarded – undo
85 86
 						AND id = ' . $db->escapeString($name) . ' LIMIT 1');
86 87
 		if ($db->nextRecord()) {
87 88
 			return $db->getObject('info');
88
-		}
89
-		else {
89
+		} else {
90 90
 			return new DummyPlayer();
91 91
 		}
92 92
 	}
Please login to merge, or discard this patch.
src/engine/Default/combat_simulator.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,8 +14,9 @@  discard block
 block discarded – undo
14 14
 $i = 1;
15 15
 if (Request::has('attackers')) {
16 16
 	foreach (Request::getArray('attackers') as $attackerName) {
17
-		if ($attackerName == 'none')
18
-			continue;
17
+		if ($attackerName == 'none') {
18
+					continue;
19
+		}
19 20
 		if (isset($usedNames[$attackerName])) {
20 21
 			$duplicates = true;
21 22
 			continue;
@@ -38,8 +39,9 @@  discard block
 block discarded – undo
38 39
 $defenders = array();
39 40
 if (Request::has('defenders')) {
40 41
 	foreach (Request::getArray('defenders') as $defenderName) {
41
-		if ($defenderName == 'none')
42
-			continue;
42
+		if ($defenderName == 'none') {
43
+					continue;
44
+		}
43 45
 		if (isset($usedNames[$defenderName])) {
44 46
 			$duplicates = true;
45 47
 			continue;
Please login to merge, or discard this patch.