Skip to content

Commit 5e94180

Browse files
committed
Support to PHP 8
1 parent d872a59 commit 5e94180

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: [7.4]
13-
laravel: [7.*, 8.*]
12+
php: [7.4, 8.0]
13+
laravel: [8.*]
1414
include:
1515
- laravel: 8.*
1616
testbench: 6.*
17-
- laravel: 7.*
18-
testbench: 7.*
1917

2018
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
2119

@@ -43,7 +41,7 @@ jobs:
4341

4442
- name: Install dependencies
4543
run: |
46-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
44+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --dev
4745
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
4846
4947
- name: Execute tests

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
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",
2323
"phpunit/phpunit": "^8.0"
2424
},
2525
"autoload": {

0 commit comments

Comments
 (0)