Skip to content

Commit 2c52037

Browse files
Add support for PHPUnit 9
1 parent cda22a9 commit 2c52037

File tree

3 files changed

+199
-201
lines changed

3 files changed

+199
-201
lines changed

.github/workflows/php.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ jobs:
77
strategy:
88
matrix:
99
php: ['7.2', '7.3', '7.4']
10-
phpunit: ['6.0', '7.0', '8.0']
10+
phpunit: ['6.0', '7.0', '8.0', '9.0']
11+
exclude:
12+
- php: '7.2'
13+
phpunit: '9.0'
1114
runs-on: ubuntu-latest
1215

1316
steps:

composer.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,19 @@
1313
"php": ">=7.1.0,<8.0",
1414
"ext-mongodb": "*",
1515
"mongodb/mongodb": "^1.0",
16-
"phpunit/phpunit": ">=6.0,<9.0"
16+
"phpunit/phpunit": ">=6.0,<10.0",
17+
"ext-json": "*"
1718
},
1819
"autoload": {
1920
"psr-4": {
2021
"Helmich\\MongoMock\\": "src"
2122
}
2223
},
2324
"autoload-dev": {
24-
"files": [
25-
"vendor/phpunit/phpunit/src/Framework/Assert/Functions.php"
26-
],
2725
"psr-4": {
2826
"Helmich\\MongoMock\\Tests\\": "tests"
2927
}
3028
},
31-
"require-dev": {
32-
"codeclimate/php-test-reporter": "^0.3.0 || ^0.4.0"
33-
},
3429
"scripts": {
3530
"test": [
3631
"phpunit"

0 commit comments

Comments
 (0)