Skip to content

Commit 4a02e28

Browse files
Merge pull request #3 from stackkit/feature/php8
PHP 8
2 parents 76b343d + 229cf2a commit 4a02e28

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

.github/workflows/run-tests.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php: [7.4, 7.3, 7.2]
14+
php: [8.0, 7.4, 7.3]
1515
laravel: [8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*]
1616
os: [ubuntu-latest]
1717
include:
@@ -28,23 +28,27 @@ jobs:
2828
- laravel: 5.6.*
2929
testbench: 3.6.*
3030
exclude:
31-
- laravel: 8.*
32-
php: 7.2
3331
- laravel: 5.7.*
3432
php: 7.4
3533
- laravel: 5.6.*
3634
php: 7.4
3735
- laravel: 5.5.*
3836
php: 7.4
37+
- laravel: 5.8.*
38+
php: 8.0
39+
- laravel: 5.7.*
40+
php: 8.0
41+
- laravel: 5.6.*
42+
php: 8.0
3943

4044
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
4145

4246
steps:
4347
- name: Checkout code
44-
uses: actions/checkout@v1
48+
uses: actions/checkout@v2
4549

4650
- name: Setup PHP
47-
uses: shivammathur/setup-php@v1
51+
uses: shivammathur/setup-php@v2
4852
with:
4953
php-version: ${{ matrix.php }}
5054
extensions: mbstring, dom, fileinfo
@@ -53,6 +57,6 @@ jobs:
5357
- name: Install dependencies
5458
run: |
5559
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
56-
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
60+
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest --ignore-platform-reqs
5761
- name: Execute tests
5862
run: vendor/bin/phpunit

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ Please check the table below for supported Laravel and PHP versions:
2929

3030
|Laravel Version| PHP Version |
3131
|---|---|
32-
| 5.6 | 7.2 or 7.3
33-
| 5.7 | 7.2 or 7.3
34-
| 5.8 | 7.2 or 7.3 or 7.4
35-
| 6.x | 7.2 or 7.3 or 7.4
36-
| 7.x | 7.2 or 7.3 or 7.4
37-
| 8.x | 7.3 or 7.4
32+
| 5.6 | 7.3
33+
| 5.7 | 7.3
34+
| 5.8 | 7.3 or 7.4
35+
| 6.x | 7.3 or 7.4 or 8.0
36+
| 7.x | 7.3 or 7.4 or 8.0
37+
| 8.x | 7.3 or 7.4 or 8.0
3838

3939
# Installation
4040

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"google/cloud-scheduler": "^1.4",
1313
"firebase/php-jwt": "^5.2",
1414
"phpseclib/phpseclib": "~2.0",
15-
"laravel/framework": "8.*",
16-
"orchestra/testbench": "6.*"
15+
"laravel/framework": "8.*"
1716
},
1817
"require-dev": {
1918
"mockery/mockery": "^1.2",

0 commit comments

Comments
 (0)