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

Commit

Permalink
Merge pull request #180 from michalbundyra/qa/php-7.4
Browse files Browse the repository at this point in the history
PHP 7.4 compatibility fixes
  • Loading branch information
michalbundyra committed Dec 10, 2019
2 parents 10a742a + 8e9b20b commit e1ce8a1
Show file tree
Hide file tree
Showing 5 changed files with 174 additions and 115 deletions.
14 changes: 11 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
sudo: false

language: php

cache:
Expand All @@ -13,14 +11,15 @@ env:
- TESTS_ZEND_CODE_ANNOTATION_DOCTRINE_SUPPORT=true

matrix:
fast_finish: true
include:
- php: 7.1
env:
- DEPS=lowest
- php: 7.1
env:
- DEPS=locked
- LEGACY_DEPS="phpunit/phpunit"
- LEGACY_DEPS="doctrine/annotations phpunit/phpunit"
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 7.1
Expand All @@ -44,6 +43,15 @@ matrix:
- php: 7.3
env:
- DEPS=latest
- php: 7.4
env:
- DEPS=lowest
- php: 7.4
env:
- DEPS=locked
- php: 7.4
env:
- DEPS=latest

before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@
},
"require-dev": {
"ext-phar": "*",
"doctrine/annotations": "^1.0",
"doctrine/annotations": "^1.7",
"phpunit/phpunit": "^7.5.16 || ^8.4",
"zendframework/zend-coding-standard": "^1.0",
"zendframework/zend-stdlib": "^2.7 || ^3.0"
},
"conflict": {
"phpspec/prophecy": "<1.9.0"
},
"suggest": {
"doctrine/annotations": "Doctrine\\Common\\Annotations >=1.0 for annotation features",
"zendframework/zend-stdlib": "Zend\\Stdlib component"
Expand Down
Loading

0 comments on commit e1ce8a1

Please sign in to comment.