We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -17,10 +17,10 @@ discard block |
||
17 | 17 | $this->error('Failed to enable mysqli error reporting'); |
18 | 18 | } |
19 | 19 | |
20 | - $host = self::$host; |
|
21 | - $user = self::$host; |
|
22 | - $password = self::$password; |
|
23 | - $port = self::$port; |
|
20 | + $host = self::$host; |
|
21 | + $user = self::$host; |
|
22 | + $password = self::$password; |
|
23 | + $port = self::$port; |
|
24 | 24 | |
25 | 25 | // The configuration can be overridden via PHPUnit configuration |
26 | 26 | if (defined("OVERRIDE_MYSQL_CONFIG")) { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | self::$dbConn = new mysqli($host, $user, $password, |
34 | - $dbName, $port, self::$socket); |
|
34 | + $dbName, $port, self::$socket); |
|
35 | 35 | self::$selectedDbName = $dbName; |
36 | 36 | |
37 | 37 | // Default server charset should be set correctly. Using the default |
@@ -29,7 +29,7 @@ |
||
29 | 29 | $query = "SELECT table_name FROM information_schema.tables WHERE table_rows > 0 AND TABLE_SCHEMA='smr_live'"; |
30 | 30 | $rs = $conn->query($query); |
31 | 31 | $all = $rs->fetch_all(); |
32 | - array_walk_recursive($all, function ($a) { |
|
32 | + array_walk_recursive($all, function($a) { |
|
33 | 33 | self::$defaultPopulatedTables[] = "'" . $a . "'"; |
34 | 34 | }); |
35 | 35 | } |