Skip to content

Commit 59bc359

Browse files
author
Jochem
committed
Fixed some typos and updated dependencies
1 parent 4cce2d7 commit 59bc359

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ composer.lock
22
phpunit.xml
33
vendor
44
coverage
5+
.idea

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ php:
66
- 5.6
77
- 7.0
88
- 7.1
9+
- 7.2
910

1011
before_script:
1112
- travis_retry composer self-update

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is package is based on [vlucas/phpdotenv](https://github.com/vlucas/phpdote
77

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

10-
Why choose Yaml over env.yml?
10+
Why choose Yaml over .env?
1111
---------
1212
The benefits of using a env.yml file or similar has been proven a long time ago.
1313
The popularity of [vlucas/phpdotenv](https://github.com/vlucas/phpdotenv) and

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"symfony/yaml": "~2.0|~3.0"
1616
},
1717
"require-dev": {
18-
"phpunit/phpunit": "~4.0"
18+
"phpunit/phpunit": ">=4.0"
1919
},
2020
"autoload": {
2121
"psr-4": {

src/Loader.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ public function setEnvironmentVariable($name, $value = null, $initialization = f
156156

157157
// During initialization we want to keep all existing environment variables
158158
// e.g. Anything set on an apache or server level
159-
if($initialization)
160-
{
159+
if($initialization) {
161160
return;
162161
}
163162

0 commit comments

Comments
 (0)