Skip to content

Commit 327f93e

Browse files
authored
Merge pull request #30 from jameswilddev/fix/php-8
Support PHP 8
2 parents 2973e43 + b8c062d commit 327f93e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ php:
33
- '7.1.33'
44
- '7.2'
55
- '7.3'
6+
- '7.4'
7+
- '8.0'
68
- nightly
79
matrix:
810
allow_failures:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
],
2222
"require": {
23-
"php": "^7.1",
23+
"php": "^7.1||^8.0",
2424
"psr/http-client": "^1.0",
2525
"psr/cache": "^1.0",
2626
"psr/http-message": "^1.0",
@@ -35,7 +35,7 @@
3535
"require-dev": {
3636
"phpunit/phpunit": "^7.0||^8.0",
3737
"fzaninotto/faker": "^1.7",
38-
"vimeo/psalm": "^1",
38+
"vimeo/psalm": "^4",
3939
"kriswallsmith/buzz": "^1.0",
4040
"symfony/cache": "^4.2.12",
4141
"php-coveralls/php-coveralls": "^2.1"

src/PasswordExposedChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ protected function getUriFactory(): UriFactoryInterface
166166
*/
167167
protected function createUriFactory(): UriFactoryInterface
168168
{
169-
return Psr17FactoryDiscovery::findUrlFactory();
169+
return Psr17FactoryDiscovery::findUriFactory();
170170
}
171171

172172
/**

0 commit comments

Comments
 (0)