We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -38,9 +38,9 @@ discard block |
||
38 | 38 | * The factories themselves are able to use dependency injection as well, so we can provide the MysqlProperties |
39 | 39 | * typehint to make sure the container constructs and instance and provides it to the factory. |
40 | 40 | */ |
41 | - mysqli::class => function (MySqlProperties $mysqlProperties): mysqli { |
|
41 | + mysqli::class => function(MySqlProperties $mysqlProperties): mysqli { |
|
42 | 42 | // Set the mysqli driver to raise exceptions on errors |
43 | - if (!mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT)) { |
|
43 | + if (!mysqli_report(MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT)) { |
|
44 | 44 | throw new RuntimeException('Failed to enable mysqli error reporting'); |
45 | 45 | } |
46 | 46 | return new mysqli( |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $mysqlProperties->getPassword(), |
50 | 50 | $mysqlProperties->getDatabaseName()); |
51 | 51 | }, |
52 | - Dotenv::class => function (): Dotenv { |
|
52 | + Dotenv::class => function(): Dotenv { |
|
53 | 53 | return Dotenv::createArrayBacked(ROOT); |
54 | 54 | }, |
55 | 55 | // Explicitly name all classes that are autowired, so we can take advantage of |