Skip to content

Commit 2794b8f

Browse files
authored
Merge pull request #4 from freekmurze/patch-1
Allow PHP 8
2 parents caa8cb9 + 91005c6 commit 2794b8f

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010

1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v1
13+
uses: actions/checkout@v2
1414

1515
- name: Cache dependencies
16-
uses: actions/cache@v1
16+
uses: actions/cache@v2
1717
with:
1818
path: ~/.composer/cache/files
1919
key: dependencies-php-7.4-illuminate-8.*-composer-${{ hashFiles('composer.json') }}

.github/workflows/tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [7.2, 7.3, 7.4]
16+
php: [7.2, 7.3, 7.4, 8.0]
1717
illuminate: [6.*, 7.*, 8.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
@@ -24,6 +24,8 @@ jobs:
2424
- illuminate: 8.*
2525
testbench: 6.*
2626
exclude:
27+
- php: 8.0
28+
illuminate: 6.*
2729
- php: 7.4
2830
illuminate: 6.*
2931
- php: 7.2
@@ -33,10 +35,10 @@ jobs:
3335

3436
steps:
3537
- name: Checkout code
36-
uses: actions/checkout@v1
38+
uses: actions/checkout@v2
3739

3840
- name: Cache dependencies
39-
uses: actions/cache@v1
41+
uses: actions/cache@v2
4042
with:
4143
path: ~/.composer/cache/files
4244
key: dependencies-php-${{ matrix.php }}-illuminate-${{ matrix.illuminate }}-composer-${{ hashFiles('composer.json') }}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": "^7.2",
15+
"php": "^8.0|^7.2",
1616
"illuminate/contracts": "6.*|7.*|8.*",
1717
"illuminate/support": "6.*|7.*|8.*",
1818
"spatie/packagist-api": "^2.0",

0 commit comments

Comments
 (0)