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

Commit d220dea

Browse files
committed
Merge branch 'hotfix/phpunit-upgrade' into develop
Close #114
2 parents 37ca3b9 + e205ba3 commit d220dea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+755
-365
lines changed

.travis.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ cache:
1515

1616
env:
1717
global:
18-
- COMPOSER_ARGS="--no-interaction --ignore-platform-reqs"
18+
- COMPOSER_ARGS="--no-interaction"
19+
- COVERAGE_DEPS="satooshi/php-coveralls"
20+
- LEGACY_DEPS="phpunit/phpunit"
1921
- LATEST_DEPS="zendframework/zend-mvc-plugin-flashmessenger zendframework/zend-mvc-i18n zendframework/zend-mvc-console"
2022
- SITE_URL=https://zendframework.github.io/zend-view
2123
- GH_USER_NAME="Matthew Weier O'Phinney"
@@ -25,16 +27,6 @@ env:
2527

2628
matrix:
2729
include:
28-
- php: 5.5
29-
env:
30-
- DEPS=lowest
31-
- php: 5.5
32-
env:
33-
- CS_CHECK=true
34-
- DEPS=locked
35-
- php: 5.5
36-
env:
37-
- DEPS=latest
3830
- php: 5.6
3931
env:
4032
- DEPS=lowest
@@ -77,11 +69,12 @@ before_install:
7769
- composer self-update
7870

7971
install:
80-
- travis_retry composer install $COMPOSER_ARGS
72+
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
73+
- if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
8174
- if [[ $DEPS == 'latest' ]]; then travis_retry composer require --dev --no-update $COMPOSER_ARGS $LATEST_DEPS ; fi
8275
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
8376
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
84-
- if [[ $TEST_COVERAGE == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls ; fi
77+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
8578
- composer show --installed
8679

8780
script:

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ All notable changes to this project will be documented in this file, in reverse
1414

1515
### Removed
1616

17-
- Nothing.
17+
- [#114](https://github.com/zendframework/zend-view/pull/114) removes support
18+
for PHP 5.5.
1819

1920
### Fixed
2021

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@
1313
}
1414
},
1515
"require": {
16-
"php": "^5.5 || ^7.0",
16+
"php": "^5.6 || ^7.0",
1717
"zendframework/zend-eventmanager": "^2.6.2 || ^3.0",
1818
"zendframework/zend-loader": "^2.5",
1919
"zendframework/zend-stdlib": "^2.7 || ^3.0"
2020
},
2121
"require-dev": {
22+
"phpunit/phpunit": "^5.7.15 || ^6.0.8",
2223
"zendframework/zend-authentication": "^2.5",
2324
"zendframework/zend-cache": "^2.6.1",
25+
"zendframework/zend-coding-standard": "~1.0.0",
2426
"zendframework/zend-config": "^2.6",
2527
"zendframework/zend-console": "^2.6",
2628
"zendframework/zend-escaper": "^2.5",
@@ -39,9 +41,7 @@
3941
"zendframework/zend-serializer": "^2.6.1",
4042
"zendframework/zend-session": "^2.6.2",
4143
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
42-
"zendframework/zend-uri": "^2.5",
43-
"phpunit/phpunit": "^4.6",
44-
"zendframework/zend-coding-standard": "~1.0.0"
44+
"zendframework/zend-uri": "^2.5"
4545
},
4646
"suggest": {
4747
"zendframework/zend-authentication": "Zend\\Authentication component",
@@ -60,6 +60,9 @@
6060
},
6161
"minimum-stability": "dev",
6262
"prefer-stable": true,
63+
"config": {
64+
"sort-packages": "true"
65+
},
6366
"extra": {
6467
"branch-alias": {
6568
"dev-master": "2.8-dev",

0 commit comments

Comments
 (0)