File tree 5 files changed +9
-7
lines changed
5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 14
14
15
15
build :
16
16
environment :
17
- php : 7.1
17
+ php : 7.4
18
18
tests :
19
19
override :
20
20
-
Original file line number Diff line number Diff line change 1
1
language : php
2
2
php :
3
- - 7.1
4
3
- 7.2
5
4
- 7.3
6
5
- 7.4
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
19
19
* the ` = ` char inside the ` value ` cause a wrong interpretation of the ` key = value ` pair
20
20
* ` testParticularKeyValue ` now use correct ` @dataProvider `
21
21
22
+ ### Removed
23
+ * PHP 7.1 support
24
+
22
25
## [ v1.0.1] ( https://github.com/linna/dotenv/compare/v1.0.0...v1.0.1 ) - 2018-11-19
23
26
24
27
### Fixed
Original file line number Diff line number Diff line change 15
15
"issues" : " https://github.com/linna/dotenv/issues"
16
16
},
17
17
"require" : {
18
- "php" : " ^7.1 "
18
+ "php" : " ^7.2 "
19
19
},
20
20
"require-dev" : {
21
21
"infection/infection" : " ^0.15" ,
Original file line number Diff line number Diff line change @@ -99,9 +99,9 @@ public function load(string $file): bool
99
99
100
100
/**
101
101
* Remove quotes or double quotes from the begin and the end of a string
102
- *
102
+ *
103
103
* @param string $value
104
- *
104
+ *
105
105
* @return void
106
106
*/
107
107
private function unQuote (string &$ value ): void
@@ -116,12 +116,12 @@ private function unQuote(string &$value): void
116
116
}
117
117
118
118
//string begin with ' or "
119
- else if ($ first === "' " || $ first === '" ' ) {
119
+ elseif ($ first === "' " || $ first === '" ' ) {
120
120
$ value = \substr ($ value , 1 );
121
121
}
122
122
123
123
//string end with ' or "
124
- else if ($ last === "' " || $ last === '" ' ) {
124
+ elseif ($ last === "' " || $ last === '" ' ) {
125
125
$ value = \substr ($ value , 0 , -1 );
126
126
}
127
127
}
You can’t perform that action at this time.
0 commit comments