Skip to content

Commit 7e88654

Browse files
authored
PHP 8.0 Support (#48)
1 parent 211f693 commit 7e88654

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/php.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [ubuntu-latest]
13-
php: ['7.2', '7.3', '7.4']
13+
php: ['7.2', '7.3', '7.4', '8.0']
1414
dependency-version: [prefer-lowest, prefer-stable]
1515

1616
name: PHP ${{ matrix.php }} - OS ${{ matrix.os }} - ${{ matrix.dependency-version }}
@@ -38,3 +38,5 @@ jobs:
3838
run: |
3939
wget https://scrutinizer-ci.com/ocular.phar
4040
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
41+
# Disable on PHP 8 as Ocular isn't supported
42+
if: matrix.php < 8

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^7.2",
21+
"php": "^7.2|^8.0",
2222
"ext-json": "*",
2323
"guzzlehttp/guzzle": "^6.3 || ^7.0",
2424
"illuminate/notifications": "^6.0 || ^7.0 || ^8.0",
@@ -28,7 +28,7 @@
2828
"textalk/websocket": "^1.2"
2929
},
3030
"require-dev": {
31-
"mockery/mockery": "^1.3",
31+
"mockery/mockery": "^1.3.3",
3232
"orchestra/testbench": "^5.0 || ^6.0",
3333
"phpunit/phpunit": "^8.5 || ^9.0"
3434
},

0 commit comments

Comments
 (0)