-
Notifications
You must be signed in to change notification settings - Fork 846
Travis CI: test in PHP 7.3 #10723
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
Travis CI: test in PHP 7.3 #10723
Conversation
This is automated check which relies on |
|
This brings up two failed tests: |
93713ba to
18c14a3
Compare
|
I rebased after merging #11030, but some tests still fail, all because of issues with this: https://secure.php.net/manual/en/function.compact.php#refsect1-function.compact-changelog |
compact() now issues notices when a variable is not set. secure.php.net/manual/en/function.compact.php#refsect1-function.compact-changelog
998b203 to
fff2545
Compare
WP 5.0 was made compatible with PHP 7.3 in this changeset: https://core.trac.wordpress.org/changeset/44166 https://core.trac.wordpress.org/ticket/44416 Unit tests for WP Versions that come before that will always fail, because of the following errors: compact(): Undefined variable: context https://core.trac.wordpress.org/changeset/44166#file6 Once WP_BRANCH=previous becomes 5.0.0, we can update Travis to run PHP 7.3 tests for all our Matrix.
|
I've made some changes and this should now be good for a review. The tests now pass. 02ba8cc is worth mentioning: we will not run PHP 7.3 tests on WP 4.9.9. WP 5.0 was made compatible with PHP 7.3 in this changeset: Unit tests for WP Versions that come before that will always fail, because of the following errors: Once WP_BRANCH=previous becomes 5.0, we can update Travis to run PHP 7.3 tests for all our Matrix. |
kraftbj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it and it tests as expected.
#### Changes proposed in this Pull Request: Follow up from #10723. We previously had to limit PHP 7.3 to WordPress versions that supported it. Now that WordPress 5.1 was released, even the previous version of WP (5.0) supports PHP 7.3. We can consequently run tests globally. Master issue: #10729 #### Testing instructions: * Do the tests pass? * Smile and approve. #### Proposed changelog entry for your changes: * None
Add 7.3
Adds PHP v7.3 containers for CI testing. PHP v7.3 is scheduled for December 6th.
Note that 7.3 is aliassed to RC versions in Travis and it's currently running RC5:
Dropping 7.0?
With this, should we drop testing in 7.0 as security updates for it will end on Dec 5th 2018 (in a few days)?
http://php.net/supported-versions.php