Skip to content

Commit 194024e

Browse files
committed
moved to safeload when trying to load the environment
1 parent d026bf4 commit 194024e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/BasicDriverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function getConnections(): array
3434
/** @var string|mixed $connections */
3535
$connections = $_ENV['NEO4J_CONNECTIONS'] ?? false;
3636
if (!is_string($connections)) {
37-
Dotenv::createImmutable(__DIR__.'/../../')->load();
37+
Dotenv::createImmutable(__DIR__.'/../../')->safeLoad();
3838
/** @var string|mixed $connections */
3939
$connections = $_ENV['NEO4J_CONNECTIONS'] ?? false;
4040
if (!is_string($connections)) {

0 commit comments

Comments
 (0)