update recipes symfony/phpunit-bridge
This commit is contained in:
parent
e03b0f71bf
commit
ca84e9416d
@ -623,7 +623,7 @@
|
|||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "5.3",
|
"version": "5.3",
|
||||||
"ref": "221b9cc0a623f567e83ccd61a8ac82a9a91e2b5b"
|
"ref": "07ce01a897311647520b43d4ddddad9537b99ba6"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
".env.test",
|
".env.test",
|
||||||
|
@ -4,9 +4,7 @@ use Symfony\Component\Dotenv\Dotenv;
|
|||||||
|
|
||||||
require dirname(__DIR__).'/vendor/autoload.php';
|
require dirname(__DIR__).'/vendor/autoload.php';
|
||||||
|
|
||||||
if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
|
if (method_exists(Dotenv::class, 'bootEnv')) {
|
||||||
require dirname(__DIR__).'/config/bootstrap.php';
|
|
||||||
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
|
|
||||||
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
|
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user