phpstan l1 (incomplete)
This commit is contained in:
@@ -178,5 +178,5 @@ if (! isset($argv[3])) {
|
||||
if (! isset($argv[4])) {
|
||||
die("No output file provided\n");
|
||||
}
|
||||
$modelgraph = new modelgraph($argv[1], $argv[2], $argv[3], $argv[4]);
|
||||
$modelgraph = new Modelgraph($argv[1], $argv[2], $argv[3], $argv[4]);
|
||||
$modelgraph->generate();
|
||||
|
||||
@@ -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