Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit ebd7eb9

Browse files
committed
Merge branch 'improvement/174' into develop
Forward port #174
2 parents ee3200e + aed14b0 commit ebd7eb9

31 files changed

+248
-199
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.phpunit.result.cache
12
/clover.xml
23
/coveralls-upload.json
34
/docs/html/

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ matrix:
2020
- php: 7.1
2121
env:
2222
- DEPS=locked
23+
- LEGACY_DEPS="phpunit/phpunit"
2324
- CS_CHECK=true
2425
- TEST_COVERAGE=true
2526
- php: 7.1
@@ -48,9 +49,10 @@ before_install:
4849
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
4950

5051
install:
51-
- travis_retry composer install $COMPOSER_ARGS
52+
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
53+
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
5254
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
53-
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
55+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update $COMPOSER_ARGS --prefer-lowest --prefer-stable ; fi
5456
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
5557
- stty cols 120 && composer show
5658

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"require-dev": {
2222
"ext-phar": "*",
2323
"doctrine/annotations": "^1.0",
24-
"phpunit/phpunit": "^7.5.15",
24+
"phpunit/phpunit": "^7.5.16 || ^8.4",
2525
"zendframework/zend-coding-standard": "^1.0",
2626
"zendframework/zend-stdlib": "^2.7 || ^3.0"
2727
},

0 commit comments

Comments
 (0)