Skip to content

Commit 9ae182a

Browse files
author
Christoph Singer
committed
Restored compatibility with PHP5
Min version raised to 5.6
1 parent faa2821 commit 9ae182a

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.travis.yml

100755100644
-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 5.4
54
- 5.6
65
- 7.0
76
- 7.1

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
},
2424
"require": {
25-
"php": ">=5.4"
25+
"php": ">=5.6"
2626
},
2727
"suggest": {
2828
"psr/http-message": "For using the Psr7Uri class implementing Psr\\Http\\Message\\UriInterface"

src/Wa72/Url/Psr7Uri.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static function fromUrl(Url $url)
4141
* @param string $url
4242
* @return Psr7Uri
4343
*/
44-
static function parse(string $url)
44+
static function parse($url)
4545
{
4646
return new static(Url::parse($url));
4747
}

0 commit comments

Comments
 (0)