Skip to content

Commit f6e6628

Browse files
committed
CI configuration updated
1 parent 864340b commit f6e6628

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.scrutinizer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tools:
1414

1515
build:
1616
environment:
17-
php: 7.1
17+
php: 7.4
1818
tests:
1919
override:
2020
-

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: php
22
php:
3-
- 7.1
43
- 7.2
54
- 7.3
65
- 7.4

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1919
* the `=` char inside the `value` cause a wrong interpretation of the `key = value` pair
2020
* `testParticularKeyValue` now use correct `@dataProvider`
2121

22+
### Removed
23+
* PHP 7.1 support
24+
2225
## [v1.0.1](https://github.com/linna/dotenv/compare/v1.0.0...v1.0.1) - 2018-11-19
2326

2427
### Fixed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"issues": "https://github.com/linna/dotenv/issues"
1616
},
1717
"require": {
18-
"php": "^7.1"
18+
"php": "^7.2"
1919
},
2020
"require-dev": {
2121
"infection/infection": "^0.15",

src/DotEnv.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ public function load(string $file): bool
9999

100100
/**
101101
* Remove quotes or double quotes from the begin and the end of a string
102-
*
102+
*
103103
* @param string $value
104-
*
104+
*
105105
* @return void
106106
*/
107107
private function unQuote(string &$value): void
@@ -116,12 +116,12 @@ private function unQuote(string &$value): void
116116
}
117117

118118
//string begin with ' or "
119-
else if ($first === "'" || $first === '"') {
119+
elseif ($first === "'" || $first === '"') {
120120
$value = \substr($value, 1);
121121
}
122122

123123
//string end with ' or "
124-
else if ($last === "'" || $last === '"') {
124+
elseif ($last === "'" || $last === '"') {
125125
$value = \substr($value, 0, -1);
126126
}
127127
}

0 commit comments

Comments
 (0)