chore: integrate with PHPStan

This commit is contained in:
Björn Fromme
2026-04-03 13:45:23 +02:00
parent fbfffbb31a
commit a264526127
6 changed files with 249 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
use App\Kernel;
use Symfony\Component\Dotenv\Dotenv;
require dirname(__DIR__) . '/vendor/autoload.php';
(new Dotenv())->bootEnv(dirname(__DIR__) . '/.env');
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
$kernel->boot();
return $kernel->getContainer()->get('doctrine')->getManager();