Skip to content

Commit

Permalink
Merge pull request #24 from jameswilddev/fix/php-8
Browse files Browse the repository at this point in the history
Add PHP 8.0 support.
  • Loading branch information
DivineOmega authored Apr 20, 2021
2 parents d1e3326 + c36a7ef commit 4fcdd61
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
language: php
dist: trusty
distro: bionic
php:
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
install:
- composer update
script:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"description": "Laravel validation rule that checks if a password has been exposed in a data breach",
"type": "library",
"require": {
"php": "^7.1",
"divineomega/password_exposed": "^3.0.1",
"php": "^7.1||^8.0",
"divineomega/password_exposed": "^3.2.0",
"illuminate/contracts": "^5.1||^6.0||^7.0||^8.0"
},
"license": "LGPL-3.0-only",
Expand Down
1 change: 0 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<testsuites>
<testsuite name="Unit Tests">
<directory suffix="Test.php">./tests/Unit</directory>
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
</testsuites>
<filter>
Expand Down

0 comments on commit 4fcdd61

Please sign in to comment.