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

Add PHP 7.2 support, drop HHVM #171

Merged
merged 4 commits into from
Dec 1, 2017
Merged

Conversation

Slamdunk
Copy link
Contributor

  • Adopt recent .travis.yml ZF standards (zend-session/.travis.yml picked)
  • Drop HVVM
  • Test PHP 7.2
  • Add partial PHP 7.2 support
    1. Fatal error: Declaration of Zend\Form\Form::bindValues(array $values = Array) must be compatible with Zend\Form\Fieldset::bindValues(array $values = Array, ?array $validationGroup = NULL) in /tmp/zend-form/src/Form.php
    2. 1) ZendTest\Form\View\Helper\FormSelectTest::testScalarOptionValues with data set #0 (array('string')) The each() function is deprecated.

@Slamdunk
Copy link
Contributor Author

This PR also depends on zendframework/zend-inputfilter#142

Copy link
Member

@froschdesign froschdesign left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

.travis.yml Outdated
@@ -60,17 +59,17 @@ matrix:
- php: 7.1
env:
- DEPS=latest
- php: hhvm
- php: nightly
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nightly now refers to PHP 7.3-dev, we should then add also PHP 7.2 here.
@Slamdunk would you be able to update your PR, please?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main point to refer to nightly is to test against 7.2, not the latest.
I'll change nightly to 7.2, removing nightly entirely; it is too early to bother to 7.3

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thank you for suggestion

@froschdesign froschdesign added this to the 2.10.3 milestone Oct 17, 2017
@remicollet
Copy link
Contributor

+1

@thomasvargiu
Copy link
Contributor

PHP 7.2 was released today. Can we merge this PR?

Ping @webimpress

@michalbundyra
Copy link
Member

michalbundyra commented Nov 30, 2017 via email

@Ocramius Ocramius modified the milestones: 2.10.3, 2.11.0 Dec 1, 2017
@Ocramius
Copy link
Member

Ocramius commented Dec 1, 2017

Ya

@Ocramius Ocramius merged commit 1dbf69b into zendframework:develop Dec 1, 2017
@Ocramius Ocramius self-assigned this Dec 1, 2017
@Slamdunk Slamdunk deleted the php_72 branch December 1, 2017 09:01
@fezfez
Copy link

fezfez commented Dec 3, 2017

@Ocramius any chance to have a release for this fix ?

@fezfez fezfez mentioned this pull request Dec 5, 2017
weierophinney added a commit that referenced this pull request Dec 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants