forked from wallabag/wallabag
Add PHPStan bootstrap file to load .env file
This commit is contained in:
7
tests/phpstan-bootstrap.php
Normal file
7
tests/phpstan-bootstrap.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Dotenv\Dotenv;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
(new Dotenv())->bootEnv(dirname(__DIR__) . '/.env');
|
||||
Reference in New Issue
Block a user