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

Commit bc0d516

Browse files
committed
Merge branch 'feature/php-7.2-support' into develop
Close #187
2 parents 8b639af + 9e7e077 commit bc0d516

File tree

4 files changed

+295
-412
lines changed

4 files changed

+295
-412
lines changed

.travis.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ env:
1616
global:
1717
- COMPOSER_ARGS="--no-interaction"
1818
- COVERAGE_DEPS="satooshi/php-coveralls"
19-
- LEGACY_DEPS="phpunit/phpunit"
2019
- TESTS_ZEND_FORM_ANNOTATION_SUPPORT=true
2120
- TESTS_ZEND_FORM_RECAPTCHA_SUPPORT=true
2221

@@ -28,17 +27,17 @@ matrix:
2827
- php: 5.6
2928
env:
3029
- DEPS=locked
31-
- CS_CHECK=true
30+
- LEGACY_DEPS="phpunit/phpunit doctrine/annotations zendframework/zend-code"
3231
- php: 5.6
3332
env:
3433
- DEPS=latest
35-
- TEST_COVERAGE=true
3634
- php: 7
3735
env:
3836
- DEPS=lowest
3937
- php: 7
4038
env:
4139
- DEPS=locked
40+
- LEGACY_DEPS="phpunit/phpunit doctrine/annotations zendframework/zend-code"
4241
- php: 7
4342
env:
4443
- DEPS=latest
@@ -48,6 +47,8 @@ matrix:
4847
- php: 7.1
4948
env:
5049
- DEPS=locked
50+
- CS_CHECK=true
51+
- TEST_COVERAGE=true
5152
- php: 7.1
5253
env:
5354
- DEPS=latest
@@ -60,18 +61,15 @@ matrix:
6061
- php: 7.2
6162
env:
6263
- DEPS=latest
63-
allow_failures:
64-
- php: 7.2
6564

6665
before_install:
6766
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
68-
- travis_retry composer self-update
6967

7068
install:
7169
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
72-
- if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
70+
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
7371
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
74-
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update $COMPOSER_ARGS --prefer-lowest --prefer-stable ; fi
72+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
7573
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
7674
- stty cols 120 && composer show
7775

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ All notable changes to this project will be documented in this file, in reverse
1010
for the `FormElementErrors` view helper to translate validation error messages
1111
using the composed translator and text domain instances.
1212

13+
- [#171](https://github.com/zendframework/zend-form/pull/171),
14+
[#186](https://github.com/zendframework/zend-form/pull/186), and
15+
[#187](https://github.com/zendframework/zend-form/pull/187) add support for
16+
PHP 7.2.
17+
1318
### Changed
1419

1520
- Nothing.
@@ -20,7 +25,11 @@ All notable changes to this project will be documented in this file, in reverse
2025

2126
### Removed
2227

23-
- Nothing.
28+
- [#171](https://github.com/zendframework/zend-form/pull/171) removes support
29+
for HHVM.
30+
31+
- [#186](https://github.com/zendframework/zend-form/pull/186) removes support
32+
for PHP 5.5.
2433

2534
### Fixed
2635

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"require": {
1919
"php": "^5.6 || ^7.0",
20-
"zendframework/zend-inputfilter": "^2.6",
20+
"zendframework/zend-inputfilter": "^2.8",
2121
"zendframework/zend-hydrator": "^1.1 || ^2.1",
2222
"zendframework/zend-stdlib": "^2.7 || ^3.0"
2323
},
@@ -31,7 +31,7 @@
3131
"zendframework/zend-filter": "^2.6",
3232
"zendframework/zend-i18n": "^2.6",
3333
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
34-
"zendframework/zend-session": "^2.6.2",
34+
"zendframework/zend-session": "^2.8.1",
3535
"zendframework/zend-text": "^2.6",
3636
"zendframework/zend-validator": "^2.6",
3737
"zendframework/zend-view": "^2.6.2",

0 commit comments

Comments
 (0)