phpstan l1 (incomplete)

This commit is contained in:
2023-04-13 22:43:15 +02:00
parent 273db5f183
commit 0e014c6829
10 changed files with 32 additions and 12 deletions

View File

@@ -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();

View File

@@ -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);