Skip to content

Commit d1ee505

Browse files
committed
setup safe loading
1 parent 2bb8eab commit d1ee505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/EnvironmentAwareIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected static function buildConnections(): array
9191
{
9292
$connections = $_ENV['CONNECTIONS'] ?? false;
9393
if (!is_string($connections)) {
94-
Dotenv::createImmutable(__DIR__.'/../../')->load();
94+
Dotenv::createImmutable(__DIR__.'/../../')->safeLoad();
9595
/** @var string|mixed $connections */
9696
$connections = $_ENV['CONNECTIONS'] ?? false;
9797
if (!is_string($connections)) {

0 commit comments

Comments
 (0)