phpstan l1 (incomplete)
This commit is contained in:
@@ -101,7 +101,7 @@ class Main
|
||||
if (! file_exists($configurationFile)) {
|
||||
touch($configurationFile);
|
||||
}
|
||||
$config = new Domframework\Configuration();
|
||||
$config = new Configuration();
|
||||
$config->confFile = $configurationFile;
|
||||
|
||||
$db = $config->get("db");
|
||||
@@ -400,7 +400,7 @@ class Main
|
||||
}
|
||||
|
||||
try {
|
||||
$main = new \main();
|
||||
$main = new \Main();
|
||||
} catch (Exception $e) {
|
||||
file_put_contents("php://stderr", $e->getMessage() . "\n");
|
||||
exit(4);
|
||||
|
||||
Reference in New Issue
Block a user