Skip to content

Commit

Permalink
PHP 8.0 Support (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
xHeinrich authored Dec 26, 2020
1 parent 211f693 commit 7e88654
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: ['7.2', '7.3', '7.4']
php: ['7.2', '7.3', '7.4', '8.0']
dependency-version: [prefer-lowest, prefer-stable]

name: PHP ${{ matrix.php }} - OS ${{ matrix.os }} - ${{ matrix.dependency-version }}
Expand Down Expand Up @@ -38,3 +38,5 @@ jobs:
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
# Disable on PHP 8 as Ocular isn't supported
if: matrix.php < 8
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"require": {
"php": "^7.2",
"php": "^7.2|^8.0",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.3 || ^7.0",
"illuminate/notifications": "^6.0 || ^7.0 || ^8.0",
Expand All @@ -28,7 +28,7 @@
"textalk/websocket": "^1.2"
},
"require-dev": {
"mockery/mockery": "^1.3",
"mockery/mockery": "^1.3.3",
"orchestra/testbench": "^5.0 || ^6.0",
"phpunit/phpunit": "^8.5 || ^9.0"
},
Expand Down

0 comments on commit 7e88654

Please sign in to comment.