Skip to content

Commit 8658c1b

Browse files
authored
Add PHP 8.0 support (#27)
* Add PHP 8.0 support * Drop support for Laravel 5.8 * Attempt to fix test suite
1 parent a03adee commit 8658c1b

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/run-tests.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest, windows-latest]
12-
php: [7.4]
13-
laravel: [5.8.*, 6.*, 7.*, 8.*]
12+
php: [8.0, 7.4]
13+
laravel: [6.*, 7.*, 8.*]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515
include:
1616
- laravel: 8.*
@@ -19,8 +19,6 @@ jobs:
1919
testbench: 5.*
2020
- laravel: 6.*
2121
testbench: 4.*
22-
- laravel: 5.8.*
23-
testbench: 3.8.*
2422

2523
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2624

@@ -38,7 +36,7 @@ jobs:
3836
uses: shivammathur/setup-php@v2
3937
with:
4038
php-version: ${{ matrix.php }}
41-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
39+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
4240
coverage: none
4341

4442
- name: Install dependencies

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.4",
20-
"illuminate/session": "^5.8|^6.0|^7.0|^8.0"
19+
"php": "^7.4 || ^8.0",
20+
"illuminate/session": "^6.0|^7.0|^8.0"
2121
},
2222
"require-dev": {
2323
"phpunit/phpunit": "^8.0|^9.0",
24-
"orchestra/testbench": "^3.8|^4.0|^5.0|^6.0"
24+
"orchestra/testbench": "^4.0|^5.0|^6.0"
2525
},
2626
"autoload": {
2727
"psr-4": {

0 commit comments

Comments
 (0)