chore: Configuration SonarQube et tests

This commit is contained in:
Serreau Jovann
2025-07-16 10:45:04 +02:00
parent 151d981bc7
commit 9c9ff36c6f
2 changed files with 19 additions and 1 deletions

View File

@@ -2,8 +2,12 @@
use Symfony\Component\Dotenv\Dotenv;
require_once dirname(__DIR__).'/vendor/autoload.php';
require dirname(__DIR__).'/vendor/autoload.php';
if (method_exists(Dotenv::class, 'bootEnv')) {
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
}
if ($_SERVER['APP_DEBUG']) {
umask(0000);
}