File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ if (!$loaded) {
3232
3333// Laravel will not overwrite existing environment variables, so we'll pull in custom ones here
3434if (file_exists ($ basePath . '/.env.dredd ' )) {
35- $ dotenv = new Dotenv \Dotenv ($ basePath, ' .env.dredd ' );
35+ $ dotenv = new Dotenv \Dotenv (new \ Dotenv \ Loader ([ $ basePath . ' / .env.dredd '], new \ Dotenv \ Environment \ DotenvFactory ()) );
3636 $ dotenv ->overload ();
3737}
3838
Original file line number Diff line number Diff line change 44 "type" : " package" ,
55 "require" : {
66 "php" : " >=7.1" ,
7- "nikic/php-parser" : " ^3.1 " ,
7+ "nikic/php-parser" : " ^4.2 " ,
88 "ddelnano/dredd-hooks-php" : " ^1.1"
99 },
1010 "license" : " MIT" ,
Original file line number Diff line number Diff line change 77
88// Laravel will not overwrite existing environment variables, so we'll pull in custom ones here
99if (file_exists ($ basePath . '/.env.dredd ' )) {
10- $ dotenv = new Dotenv \Dotenv ($ basePath, ' .env.dredd ' );
10+ $ dotenv = new Dotenv \Dotenv (new \ Dotenv \ Loader ([ $ basePath . ' / .env.dredd '], new \ Dotenv \ Environment \ DotenvFactory ()) );
1111 $ dotenv ->overload ();
1212}
1313
You can’t perform that action at this time.
0 commit comments