Skip to content

Commit fab7dbb

Browse files
authored
Add support for PHP 8.0 (#34)
1 parent 263311f commit fab7dbb

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/run-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ ubuntu-latest ]
12-
php: [ 7.1, 7.2, 7.3, 7.4 ]
12+
php: [ 7.1, 7.2, 7.3, 7.4, 8.0 ]
1313
laravel: [ 5.6.*, 5.7.*, 5.8.*, 6.*, 7.*, 8.* ]
1414
dependency-version: [ prefer-stable ]
1515
include:
@@ -34,6 +34,12 @@ jobs:
3434
php: 7.1
3535
- laravel: 6.*
3636
php: 7.1
37+
- laravel: 5.8.*
38+
php: 8.0
39+
- laravel: 5.7.*
40+
php: 8.0
41+
- laravel: 5.6.*
42+
php: 8.0
3743

3844
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
3945

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
}
2121
],
2222
"require": {
23-
"php": "^7.1",
23+
"php": "^7.1|^8.0",
2424
"0.0.0/composer-include-files": "^1.5",
2525
"codezero/laravel-localizer": "^1.1",
2626
"illuminate/support": "^5.6|^6.0|^7.0|^8.0"
2727
},
2828
"require-dev": {
29-
"mockery/mockery": "^1.0",
29+
"mockery/mockery": "^1.3.3",
3030
"orchestra/testbench": "^3.6|^4.0|^5.0|^6.0",
3131
"phpunit/phpunit": "^7.0|^8.0|^9.0"
3232
},
@@ -60,4 +60,4 @@
6060
},
6161
"minimum-stability": "dev",
6262
"prefer-stable": true
63-
}
63+
}

0 commit comments

Comments
 (0)