We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -33,7 +33,7 @@ |
||
33 | 33 | $query = "SELECT table_name FROM information_schema.tables WHERE table_rows > 0 AND TABLE_SCHEMA='smr_live'"; |
34 | 34 | $rs = self::$conn->query($query); |
35 | 35 | $all = $rs->fetch_all(); |
36 | - array_walk_recursive($all, function ($a) { |
|
36 | + array_walk_recursive($all, function($a) { |
|
37 | 37 | self::$defaultPopulatedTables[] = "'" . $a . "'"; |
38 | 38 | }); |
39 | 39 | } |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | $mysqlProperties = new MySqlProperties(); |
13 | 13 | } |
14 | 14 | // Set the mysqli driver to raise exceptions on errors |
15 | - if (!mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT)) { |
|
15 | + if (!mysqli_report(MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT)) { |
|
16 | 16 | $this->error('Failed to enable mysqli error reporting'); |
17 | 17 | } |
18 | 18 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | // Do we need to switch databases (e.g. for compatability db access)? |
37 | - if ($dbName != null &&self::$selectedDbName != $dbName) { |
|
37 | + if ($dbName != null && self::$selectedDbName != $dbName) { |
|
38 | 38 | self::$dbConn->select_db($dbName); |
39 | 39 | self::$selectedDbName = $dbName; |
40 | 40 | } |