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

Add PHP 7.2 support#189

Merged
Ocramius merged 4 commits intozendframework:developfrom
Slamdunk:php_72
Mar 1, 2018
Merged

Add PHP 7.2 support#189
Ocramius merged 4 commits intozendframework:developfrom
Slamdunk:php_72

Conversation

@Slamdunk
Copy link
Contributor

@Slamdunk Slamdunk commented Dec 29, 2017

  • Adopt recent .travis.yml ZF standards (zend-session/.travis.yml picked)
  • Test PHP 7.2
  • Add PHP 7.2 support
    1. idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated

Fix #177, #183

Supersedes #181, #192


$header = new GenericHeader($name, $value);
$res = $header->toString();
$this->assertEquals($encoded, $res);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This last setup/assertion check is just a proxy for a call to zend-mime, that is affected by #183 (comment)
Is this really necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Without this check, build fails only on PHP 7.2 with lowest/locked dependencis because of old zend-validator.
Latest depencencies on PHP 7.2 are fine.

@Slamdunk
Copy link
Contributor Author

Slamdunk commented Jan 8, 2018

@froschdesign may I ask your review?

@MatyCZ
Copy link

MatyCZ commented Jan 12, 2018

Any ETA for merging this PR?

@thexpand
Copy link

thexpand commented Feb 20, 2018

zend-validator has already been updated. I think that it would be okay to change the required version of zend-validator in the composer.json file from ^2.6 to ^2.10. Then, the Travis could be run again and then the PR can be merged.

@Slamdunk
Copy link
Contributor Author

Ping @weierophinney @froschdesign @Ocramius

@Ocramius
Copy link
Member

Ocramius commented Mar 1, 2018

Taking this over as soon as I have a second

@Ocramius Ocramius self-assigned this Mar 1, 2018
@Ocramius Ocramius added this to the 2.9.0 milestone Mar 1, 2018
@Ocramius
Copy link
Member

Ocramius commented Mar 1, 2018

Verified locally - re-running travis since it failed due to environment misconfiguration.

@Ocramius
Copy link
Member

Ocramius commented Mar 1, 2018

WTH, this package still has PHP 5.6 support? Off with its head!

@michalbundyra
Copy link
Member

@Ocramius

WTH, this package still has PHP 5.6 support? Off with its head!

But maybe we can drop it for 2.9 release?

/cc @weierophinney

@Ocramius
Copy link
Member

Ocramius commented Mar 1, 2018

@webimpress that's what I'm currently preparing.

@Ocramius Ocramius mentioned this pull request Mar 1, 2018
@Ocramius Ocramius merged commit 240ad96 into zendframework:develop Mar 1, 2018
Ocramius added a commit that referenced this pull request Mar 1, 2018
Ocramius added a commit that referenced this pull request Mar 1, 2018
Ocramius added a commit that referenced this pull request Mar 1, 2018
@Ocramius
Copy link
Member

Ocramius commented Mar 1, 2018

Thanks @Slamdunk!

Ocramius added a commit that referenced this pull request Mar 1, 2018
…NTL_IDNA_VARIANT_2003 is deprecated` deprecation notices occur
@Slamdunk Slamdunk deleted the php_72 branch March 2, 2018 07:30
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.

6 participants