Updated vulcas/phpdotenv to 4.0

This commit is contained in:
Chris Kankiewicz
2019-12-07 23:47:32 -07:00
parent c132a5caf0
commit 69e62a0be1
3 changed files with 11 additions and 11 deletions

View File

@@ -19,7 +19,7 @@
"slim/twig-view": "3.0.0-beta",
"symfony/finder": "^4.3",
"tightenco/collect": "^6.4",
"vlucas/phpdotenv": "^3.6"
"vlucas/phpdotenv": "^4.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.3",

18
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "3f8b853962638f4e1d58e70a684b6393",
"content-hash": "39db12ed9442c12b55fbbea462803923",
"packages": [
{
"name": "fig/http-message-util",
@@ -1535,21 +1535,21 @@
},
{
"name": "vlucas/phpdotenv",
"version": "v3.6.0",
"version": "v4.0.0",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
"reference": "1bdf24f065975594f6a117f0f1f6cabf1333b156"
"reference": "3aa2821b7f117e235af45ef057e41112a25bf9b1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1bdf24f065975594f6a117f0f1f6cabf1333b156",
"reference": "1bdf24f065975594f6a117f0f1f6cabf1333b156",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/3aa2821b7f117e235af45ef057e41112a25bf9b1",
"reference": "3aa2821b7f117e235af45ef057e41112a25bf9b1",
"shasum": ""
},
"require": {
"php": "^5.4 || ^7.0",
"phpoption/phpoption": "^1.5",
"php": "^5.5.9 || ^7.0",
"phpoption/phpoption": "^1.6",
"symfony/polyfill-ctype": "^1.9"
},
"require-dev": {
@@ -1558,7 +1558,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.6-dev"
"dev-master": "4.0-dev"
}
},
"autoload": {
@@ -1588,7 +1588,7 @@
"env",
"environment"
],
"time": "2019-09-10T21:37:39+00:00"
"time": "2019-11-30T20:25:09+00:00"
},
{
"name": "yosymfony/parser-utils",

View File

@@ -16,7 +16,7 @@ require __DIR__ . '/vendor/autoload.php';
ini_set('open_basedir', __DIR__);
/** Initialize environment variable handler */
Dotenv::create(__DIR__)->load();
Dotenv::createImmutable(__DIR__)->load();
/** Create the container */
$container = new Container();