Skip to content

Commit 2de2df9

Browse files
committed
Updated vlucas/phpdotenv to 3.4.0
1 parent ddc2357 commit 2de2df9

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111
- Changed minimum PHP Version to 7.1
1212

1313
### Changed Dependencies
14-
- Updated nikic/php-parser to 4.2.2
15-
- Updated PHPMailer/PHPMailer to 6.0.7
16-
- Updated league/csv to 9.2.1
1714
- Updated Laravel Illuminate packages to 5.8
18-
- Updated Twig from 1.x to 2.x
15+
- Updated Twig to 2.11
1916
- Updated PHPUnit to 7.5
2017
- Updated Mockery to 1.2
18+
- Updated nikic/php-parser to 4.2.2
19+
- Updated PHPMailer/PHPMailer to 6.0.7
20+
- Updated league/csv to 9.2.1
2121
- Updated symfony/console to 4.3
22+
- Updated vlucas/phpdotenv to 3.4.0
2223

2324
### Added
2425
- Separated `BakeCommand` class into multiple methods to make it easier for sprinkle to add custom command to the `bake` command.

app/sprinkles/core/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"userfrosting/i18n": "~4.3.0",
5353
"userfrosting/session": "~4.3.0",
5454
"userfrosting/support": "~4.3.0",
55-
"vlucas/phpdotenv": "^2"
55+
"vlucas/phpdotenv": "^3.4.0"
5656
},
5757
"autoload": {
5858
"files" : [

app/sprinkles/core/src/ServicesProvider/ServicesProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function register(ContainerInterface $container)
234234
$container['config'] = function ($c) {
235235
// Grab any relevant dotenv variables from the .env file
236236
try {
237-
$dotenv = new Dotenv(\UserFrosting\APP_DIR);
237+
$dotenv = Dotenv::create(\UserFrosting\APP_DIR);
238238
$dotenv->load();
239239
} catch (InvalidPathException $e) {
240240
// Skip loading the environment config file if it doesn't exist.

0 commit comments

Comments
 (0)