Skip to content

Commit 556b559

Browse files
committed
Add PHP 8 to the CI builds
Also allow higher versions of PHPUnit as PHPUnit 4.8 does not work on PHP 8.
1 parent 9c39fd2 commit 556b559

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-20.04
1515
strategy:
1616
matrix:
17-
php-version: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4' ]
17+
php-version: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0' ]
1818

1919
steps:
2020
- name: Checkout
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
php-version: [ '5.6', '7.0', '7.1', '7.2', '7.3' ]
42+
php-version: [ '5.6', '7.0', '7.1', '7.2', '7.3', '8.0' ]
4343
coverage: [ 'none' ]
4444
include:
4545
- php-version: 7.4

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"php": ">=5.6.20"
1313
},
1414
"require-dev": {
15-
"phpunit/phpunit": "^4.8.36",
15+
"phpunit/phpunit": "^4.8.36 || ^7.5.20",
1616
"codacy/coverage": "^1.4"
1717
},
1818
"autoload": {

0 commit comments

Comments
 (0)