Skip to content

Commit ec698f6

Browse files
committed
Run tests on PHP 8
1 parent 0bd6369 commit ec698f6

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
@@ -16,7 +16,7 @@ jobs:
1616
timeout-minutes: 15
1717
strategy:
1818
matrix:
19-
php: [ '7.2', '7.3', '7.4' ]
19+
php: [ '7.2', '7.3', '7.4', '8.0' ]
2020
dependency-version: [ '' ]
2121
include:
2222
- php: '7.2'
@@ -51,7 +51,7 @@ jobs:
5151
uses: shivammathur/setup-php@v2
5252
with:
5353
php-version: 7.4
54-
tools: composer, cs2pr
54+
tools: composer:v2, cs2pr
5555
coverage: none
5656
- name: Cache Composer dependencies
5757
uses: actions/cache@v2

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"php": ">=7.2.0"
1919
},
2020
"require-dev": {
21-
"phpunit/phpunit": "~8.5",
21+
"phpunit/phpunit": "^8.5|^9.0",
2222
"mnapoli/hard-mode": "~0.3.0"
2323
}
2424
}

0 commit comments

Comments
 (0)