Skip to content

Commit

Permalink
Work around deprecation error on PHP 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Aug 8, 2019
1 parent 27a356f commit 635b79b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ php:
- 7.1
- 7.2
- 7.3
- 7.4snapshot
- nightly

cache:
Expand All @@ -27,6 +26,10 @@ jobs:
- php: nightly

include:
- stage: Test
php: 7.4snapshot
install: travis_retry composer require --dev phpunit/phpunit:^7.5@dev

- stage: Lint
before_script:
- travis_retry composer require --dev --prefer-dist --prefer-stable phpstan/phpstan:^0.7
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"require-dev": {
"doctrine/cache": "1.*",
"phpunit/phpunit": "^7.0"
"phpunit/phpunit": "^7.5@dev"
},
"config": {
"sort-packages": true
Expand Down

0 comments on commit 635b79b

Please sign in to comment.