1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Add PHPStan bootstrap file to load .env file

This commit is contained in:
Yassine Guedidi 2025-02-18 01:30:13 +01:00
parent efbc8e7959
commit 28224fe543
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,7 @@
<?php
use Symfony\Component\Dotenv\Dotenv;
require __DIR__ . '/../vendor/autoload.php';
(new Dotenv())->bootEnv(dirname(__DIR__) . '/.env');