Skip to content

Commit fcb7ab0

Browse files
committed
Support to PHP 8
1 parent d872a59 commit fcb7ab0

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: [7.4]
13-
laravel: [7.*, 8.*]
14-
include:
15-
- laravel: 8.*
16-
testbench: 6.*
17-
- laravel: 7.*
18-
testbench: 7.*
12+
php: [7.4, 8.0]
13+
laravel: [8.*]
1914

2015
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
2116

@@ -42,9 +37,7 @@ jobs:
4237
coverage: none
4338

4439
- name: Install dependencies
45-
run: |
46-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
47-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
40+
run: composer install
4841

4942
- name: Execute tests
5043
run: vendor/bin/phpunit

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.1"
19+
"php": "^7.1|^8.0"
2020
},
2121
"require-dev": {
22-
"orchestra/testbench": "^4.0",
22+
"orchestra/testbench": "^6.0",
23+
"laravel/framework": "^8.0",
2324
"phpunit/phpunit": "^8.0"
2425
},
2526
"autoload": {

0 commit comments

Comments
 (0)