Skip to content

Commit 841f648

Browse files
committed
Feature: PHPUnit 9 support
1 parent 4873a8c commit 841f648

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
.phpunit.result.cache
2-
vendor/
3-
composer.lock
1+
/.phpunit.result.cache
2+
/composer.lock
3+
/vendor/

.travis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ cache:
88

99
env:
1010
- PHPUNIT_VERSION=dev-master
11+
- PHPUNIT_VERSION=~9.0.0
1112
- PHPUNIT_VERSION=~8.5.0
1213
- PHPUNIT_VERSION=~8.4.0
1314
- PHPUNIT_VERSION=~8.3.0
@@ -28,7 +29,7 @@ env:
2829
- PHPUNIT_VERSION=~6.0.0
2930

3031
php:
31-
- 7.4snapshot
32+
- 7.4
3233
- 7.3
3334
- 7.2
3435
- 7.1
@@ -37,8 +38,14 @@ php:
3738
matrix:
3839
fast_finish: true
3940
exclude:
41+
- php: 7.2
42+
env: PHPUNIT_VERSION=dev-master
43+
- php: 7.2
44+
env: PHPUNIT_VERSION=~9.0.0
4045
- php: 7.1
4146
env: PHPUNIT_VERSION=dev-master
47+
- php: 7.1
48+
env: PHPUNIT_VERSION=~9.0.0
4249
- php: 7.1
4350
env: PHPUNIT_VERSION=~8.5.0
4451
- php: 7.1
@@ -53,6 +60,8 @@ matrix:
5360
env: PHPUNIT_VERSION=~8.0.0
5461
- php: 7
5562
env: PHPUNIT_VERSION=dev-master
63+
- php: 7
64+
env: PHPUNIT_VERSION=~9.0.0
5665
- php: 7
5766
env: PHPUNIT_VERSION=~8.5.0
5867
- php: 7
@@ -78,7 +87,6 @@ matrix:
7887
- php: 7
7988
env: PHPUNIT_VERSION=~7.0.0
8089
allow_failures:
81-
- php: 7.4snapshot
8290
- env: PHPUNIT_VERSION=dev-master
8391

8492
install:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
},
2020
"require": {
2121
"php": ">=7",
22-
"phpunit/phpunit": "^6 || ^7 || ^8",
23-
"php-mock/php-mock-integration": "^2"
22+
"phpunit/phpunit": "^6 || ^7 || ^8 || ^9",
23+
"php-mock/php-mock-integration": "^2.1"
2424
},
2525
"archive": {
2626
"exclude": ["/tests"]

0 commit comments

Comments
 (0)