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

Commit e1ce8a1

Browse files
committed
Merge pull request #180 from michalbundyra/qa/php-7.4
PHP 7.4 compatibility fixes
2 parents 10a742a + 8e9b20b commit e1ce8a1

File tree

5 files changed

+174
-115
lines changed

5 files changed

+174
-115
lines changed

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
sudo: false
2-
31
language: php
42

53
cache:
@@ -13,14 +11,15 @@ env:
1311
- TESTS_ZEND_CODE_ANNOTATION_DOCTRINE_SUPPORT=true
1412

1513
matrix:
14+
fast_finish: true
1615
include:
1716
- php: 7.1
1817
env:
1918
- DEPS=lowest
2019
- php: 7.1
2120
env:
2221
- DEPS=locked
23-
- LEGACY_DEPS="phpunit/phpunit"
22+
- LEGACY_DEPS="doctrine/annotations phpunit/phpunit"
2423
- CS_CHECK=true
2524
- TEST_COVERAGE=true
2625
- php: 7.1
@@ -44,6 +43,15 @@ matrix:
4443
- php: 7.3
4544
env:
4645
- DEPS=latest
46+
- php: 7.4
47+
env:
48+
- DEPS=lowest
49+
- php: 7.4
50+
env:
51+
- DEPS=locked
52+
- php: 7.4
53+
env:
54+
- DEPS=latest
4755

4856
before_install:
4957
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@
2121
},
2222
"require-dev": {
2323
"ext-phar": "*",
24-
"doctrine/annotations": "^1.0",
24+
"doctrine/annotations": "^1.7",
2525
"phpunit/phpunit": "^7.5.16 || ^8.4",
2626
"zendframework/zend-coding-standard": "^1.0",
2727
"zendframework/zend-stdlib": "^2.7 || ^3.0"
2828
},
29+
"conflict": {
30+
"phpspec/prophecy": "<1.9.0"
31+
},
2932
"suggest": {
3033
"doctrine/annotations": "Doctrine\\Common\\Annotations >=1.0 for annotation features",
3134
"zendframework/zend-stdlib": "Zend\\Stdlib component"

0 commit comments

Comments
 (0)