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 (#915)
by
unknown
03:30
created
lib/Default/MySqlDatabase.class.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,13 +8,13 @@  discard block
 block discarded – undo
8 8
 	protected $dbResult = null;
9 9
 	protected $dbRecord = null;
10 10
 
11
-	public function __construct($dbName=null, MysqlProperties $mysqlProperties=null) {
11
+	public function __construct($dbName = null, MysqlProperties $mysqlProperties = null) {
12 12
 		if (!self::$dbConn) {
13
-			if(!$mysqlProperties){
13
+			if (!$mysqlProperties) {
14 14
 				$mysqlProperties = new MysqlProperties();
15 15
 			}
16 16
 			// Set the mysqli driver to raise exceptions on errors
17
-			if (!mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT)) {
17
+			if (!mysqli_report(MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT)) {
18 18
 				$this->error('Failed to enable mysqli error reporting');
19 19
 			}
20 20
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 		}
37 37
 
38 38
 		// Do we need to switch databases (e.g. for compatability db access)?
39
-		if ($dbName != null &&self::$selectedDbName != $dbName) {
39
+		if ($dbName != null && self::$selectedDbName != $dbName) {
40 40
 			self::$dbConn->select_db($dbName);
41 41
 			self::$selectedDbName = $dbName;
42 42
 		}
Please login to merge, or discard this patch.
test/SmrTest/BaseIntegrationSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 			$query = "SELECT table_name FROM information_schema.tables WHERE table_rows > 0 AND TABLE_SCHEMA='smr_live'";
31 31
 			$rs = self::$conn->query($query);
32 32
 			$all = $rs->fetch_all();
33
-			array_walk_recursive($all, function ($a) {
33
+			array_walk_recursive($all, function($a) {
34 34
 				self::$defaultPopulatedTables[] = "'" . $a . "'";
35 35
 			});
36 36
 		}
Please login to merge, or discard this patch.