mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:34:04 +00:00
Upgrade vlucas/phpdotenv to ^5.0
`Dotenv::create($paths)` was the syntax for releases before v4
This commit is contained in:
parent
f08e33afd8
commit
32f622f5ab
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@
|
|||
"stancl/virtualcolumn": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"vlucas/phpdotenv": "^3.3|^4.0|^5.0",
|
||||
"vlucas/phpdotenv": "^5.0",
|
||||
"laravel/framework": "^6.0|^7.0|^8.0",
|
||||
"orchestra/testbench-browser-kit": "^4.0|^5.0|^6.0",
|
||||
"league/flysystem-aws-s3-v3": "~1.0",
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
|
|||
protected function getEnvironmentSetUp($app)
|
||||
{
|
||||
if (file_exists(__DIR__ . '/../.env')) {
|
||||
\Dotenv\Dotenv::create(__DIR__ . '/..')->load();
|
||||
\Dotenv\Dotenv::createImmutable(__DIR__ . '/..')->load();
|
||||
}
|
||||
|
||||
$app['config']->set([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue