From 2d0386cc8d04ac6ea1fb5d7bf3eecb8900b79f60 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Mon, 8 Apr 2024 02:21:04 -0500 Subject: [PATCH] Internal: Update symfony/phpunit-bridge recipe --- phpunit.xml.dist | 23 +++++++++++++++++------ symfony.lock | 6 +++--- tests/bootstrap.php | 4 +--- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index eec30ab717..71940a4588 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,6 +1,12 @@ - + src @@ -9,17 +15,22 @@ src/DataFixtures - - - - - + + + + + + + + + tests + diff --git a/symfony.lock b/symfony.lock index 109e893d5b..84dc1f44ad 100644 --- a/symfony.lock +++ b/symfony.lock @@ -343,12 +343,12 @@ ] }, "symfony/phpunit-bridge": { - "version": "5.4", + "version": "6.4", "recipe": { "repo": "github.com/symfony/recipes", "branch": "main", - "version": "5.3", - "ref": "221b9cc0a623f567e83ccd61a8ac82a9a91e2b5b" + "version": "6.3", + "ref": "a411a0480041243d97382cac7984f7dce7813c08" }, "files": [ ".env.test", diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 469dccee49..8276338c78 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -4,8 +4,6 @@ use Symfony\Component\Dotenv\Dotenv; require dirname(__DIR__).'/vendor/autoload.php'; -if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) { - require dirname(__DIR__).'/config/bootstrap.php'; -} elseif (method_exists(Dotenv::class, 'bootEnv')) { +if (method_exists(Dotenv::class, 'bootEnv')) { (new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); }