We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -30,7 +30,7 @@ |
||
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 | } |
@@ -6,13 +6,13 @@ discard block |
||
6 | 6 | protected $dbResult = null; |
7 | 7 | protected $dbRecord = null; |
8 | 8 | |
9 | - public function __construct($dbName=null, MySqlProperties $mysqlProperties=null) { |
|
9 | + public function __construct($dbName = null, MySqlProperties $mysqlProperties = null) { |
|
10 | 10 | if (!self::$dbConn) { |
11 | - if(!$mysqlProperties){ |
|
11 | + if (!$mysqlProperties) { |
|
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 | } |