Skip to content

Commit

Permalink
Merge pull request #30 from jameswilddev/fix/php-8
Browse files Browse the repository at this point in the history
Support PHP 8
  • Loading branch information
DivineOmega authored Apr 20, 2021
2 parents 2973e43 + b8c062d commit 327f93e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ php:
- '7.1.33'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- nightly
matrix:
allow_failures:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.1||^8.0",
"psr/http-client": "^1.0",
"psr/cache": "^1.0",
"psr/http-message": "^1.0",
Expand All @@ -35,7 +35,7 @@
"require-dev": {
"phpunit/phpunit": "^7.0||^8.0",
"fzaninotto/faker": "^1.7",
"vimeo/psalm": "^1",
"vimeo/psalm": "^4",
"kriswallsmith/buzz": "^1.0",
"symfony/cache": "^4.2.12",
"php-coveralls/php-coveralls": "^2.1"
Expand Down
2 changes: 1 addition & 1 deletion src/PasswordExposedChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ protected function getUriFactory(): UriFactoryInterface
*/
protected function createUriFactory(): UriFactoryInterface
{
return Psr17FactoryDiscovery::findUrlFactory();
return Psr17FactoryDiscovery::findUriFactory();
}

/**
Expand Down

0 comments on commit 327f93e

Please sign in to comment.