Skip to content

Commit c390401

Browse files
authored
Add support for PHP 8.0 (#154)
* Support php 8.0 * trigger * use xenial
1 parent 85b9af1 commit c390401

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ matrix:
199199
env: LARAVEL='8.*' TESTBENCH='6.*' PHPUNIT='>=9' COMPOSER_FLAGS='--prefer-lowest'
200200
- php: 7.4
201201
env: LARAVEL='8.*' TESTBENCH='6.*' PHPUNIT='>=9' COMPOSER_FLAGS='--prefer-stable'
202+
- php: 8.0
203+
dist: xenial
204+
env: LARAVEL='8.*' TESTBENCH='6.*' PHPUNIT='>=9' COMPOSER_FLAGS='--prefer-stable'
202205
fast_finish: true
203206

204207
before_install:
@@ -211,4 +214,5 @@ install:
211214
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction --no-suggest
212215

213216
script:
214-
- vendor/bin/phpunit
217+
- vendor/bin/phpunit
218+

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"source": "https://github.com/rmariuzzo/laravel-js-localization"
5353
},
5454
"require": {
55-
"php": "^5.4 || ^7.0",
55+
"php": "^5.4 || ^7.0 || ^8.0",
5656
"illuminate/config": "^4.2 || ^5.0 || ^6.0 || ^7.0 || ^8.0",
5757
"illuminate/console": "^4.2 || ^5.0 || ^6.0 || ^7.0 || ^8.0",
5858
"illuminate/filesystem": "^4.2 || ^5.0 || ^6.0 || ^7.0 || ^8.0",
@@ -80,4 +80,4 @@
8080
]
8181
}
8282
}
83-
}
83+
}

0 commit comments

Comments
 (0)