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:
parent
efbc8e7959
commit
28224fe543
2 changed files with 9 additions and 0 deletions
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');
|
Loading…
Add table
Add a link
Reference in a new issue