Skip to content

Commit db81044

Browse files
committed
Updated phpunit recipe
1 parent a3db52b commit db81044

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

symfony.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@
314314
"repo": "github.com/symfony/recipes",
315315
"branch": "main",
316316
"version": "9.6",
317-
"ref": "7364a21d87e658eb363c5020c072ecfdc12e2326"
317+
"ref": "6a9341aa97d441627f8bd424ae85dc04c944f8b4"
318318
},
319319
"files": [
320-
"./.env.test",
321-
"./phpunit.xml.dist",
322-
"./tests/bootstrap.php"
320+
".env.test",
321+
"phpunit.xml.dist",
322+
"tests/bootstrap.php"
323323
]
324324
},
325325
"psr/cache": {

tests/bootstrap.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
use Symfony\Component\Dotenv\Dotenv;
66
require dirname(__DIR__).'/vendor/autoload.php';
7-
if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
8-
require dirname(__DIR__).'/config/bootstrap.php';
9-
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
7+
8+
if (method_exists(Dotenv::class, 'bootEnv')) {
109
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
1110
}
1211
if ($_SERVER['APP_DEBUG']) {

0 commit comments

Comments
 (0)