Fix : Config php unit et gitignore

This commit is contained in:
2026-01-06 14:43:17 +01:00
parent b0f4004d11
commit 74a0120883
7 changed files with 196 additions and 124 deletions

15
tests/bootstrap.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
use Symfony\Component\Dotenv\Dotenv;
require dirname(__DIR__).'/vendor/autoload.php';
if (method_exists(Dotenv::class, 'bootEnv')) {
new Dotenv()->bootEnv(dirname(__DIR__).'/.env');
}
if ($_SERVER['APP_DEBUG']) {
umask(0o000);
}