]> Raphaƫl G. Git Repositories - blog/blob - tests/bootstrap.php
Update doctrine orm reference, url and version
[blog] / tests / bootstrap.php
1 <?php
2
3 use Symfony\Component\Dotenv\Dotenv;
4
5 require dirname(__DIR__).'/vendor/autoload.php';
6
7 if (method_exists(Dotenv::class, 'bootEnv')) {
8 (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
9 }
10
11 if ($_SERVER['APP_DEBUG']) {
12 umask(0022);
13 }