Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for PHP 7.2 #5

Merged
merged 6 commits into from
Feb 27, 2018
Merged

Support for PHP 7.2 #5

merged 6 commits into from
Feb 27, 2018

Conversation

hypermkt
Copy link
Contributor

@hypermkt hypermkt commented Feb 27, 2018

PHP 7.1 was supported by this PR ( #2 ). But CI was failing on PHP 7.2 because of using deprecated each function on PHP 7.2.0.

So I fixed the problem by removing each function.

References

@hypermkt
Copy link
Contributor Author

Aww... 😭 To use PHPUnit without each function, I upgraded to PHPUnit 5.7.9 but It doesn't run less than PHP 5.6...

  Problem 1
    - phpunit/phpunit 5.7.9 requires php ^5.6 || ^7.0 -> your PHP version (5.4.45) does not satisfy that requirement.

@hypermkt
Copy link
Contributor Author

HTML_Template_IT requires PHP 5.4 at least, PHPUnit has to be downgraded to version 4.

@hypermkt hypermkt changed the title [WIP] Support for PHP 7.2 Support for PHP 7.2 Feb 27, 2018
@hypermkt
Copy link
Contributor Author

hypermkt commented Feb 27, 2018

Oh, It's passed successfully on CI finally! 🎉

@hypermkt
Copy link
Contributor Author

@ashnazg Could you please review this PR?

@ashnazg ashnazg self-requested a review February 27, 2018 18:26
@ashnazg ashnazg merged commit 2e45040 into pear:master Feb 27, 2018
@hypermkt hypermkt deleted the support-php7.2 branch February 27, 2018 23:30
@hypermkt
Copy link
Contributor Author

hypermkt commented Feb 27, 2018

Thanks you for merging. I hope it's also released on pear.
http://pear.php.net/package/HTML_Template_IT/download/

wernerwa pushed a commit to wernerwa/HTML_Template_IT that referenced this pull request Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants