Skip to content

Commit

Permalink
Fixed some typos and updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochem committed Sep 19, 2018
1 parent 4cce2d7 commit 59bc359
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ composer.lock
phpunit.xml
vendor
coverage
.idea
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2

before_script:
- travis_retry composer self-update
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is package is based on [vlucas/phpdotenv](https://github.com/vlucas/phpdote

[![Build Status](https://travis-ci.org/Maatwebsite/yamlenv.svg?branch=master)](https://travis-ci.org/Maatwebsite/yamlenv.svg?branch=master)

Why choose Yaml over env.yml?
Why choose Yaml over .env?
---------
The benefits of using a env.yml file or similar has been proven a long time ago.
The popularity of [vlucas/phpdotenv](https://github.com/vlucas/phpdotenv) and
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"symfony/yaml": "~2.0|~3.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
"phpunit/phpunit": ">=4.0"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 1 addition & 2 deletions src/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@ public function setEnvironmentVariable($name, $value = null, $initialization = f

// During initialization we want to keep all existing environment variables
// e.g. Anything set on an apache or server level
if($initialization)
{
if($initialization) {
return;
}

Expand Down

0 comments on commit 59bc359

Please sign in to comment.