Skip to content

Commit abe191c

Browse files
authored
support php8 (#71)
Add PHP8 support
1 parent 354ff6e commit abe191c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ php:
55
- 7.2
66
- 7.3
77
- 7.4
8+
- 8.0
89

910
env:
1011
global:
@@ -17,6 +18,7 @@ before_script:
1718
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
1819
- if [ $(phpenv version-name) = '7.3' ]; then composer require laravel/legacy-factories --dev; fi
1920
- if [ $(phpenv version-name) = '7.4' ]; then composer require laravel/legacy-factories --dev; fi
21+
- if [ $(phpenv version-name) = '8.0' ]; then composer require laravel/legacy-factories --dev; fi
2022

2123
script:
2224
- ./vendor/bin/phpunit -c phpunit.xml.dist --verbose

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"docs": "https://github.com/cybercog/laravel-eloquent-flag/wiki"
5454
},
5555
"require": {
56-
"php": "^7.1.3",
56+
"php": "^7.1.3|8.0",
5757
"illuminate/database": "^5.8|^6.0|^7.0|^8.0"
5858
},
5959
"require-dev": {

0 commit comments

Comments
 (0)