Skip to content

Enhancement: Add PHP 7.3 to Travis CI build matrix#111

Merged
schlessera merged 3 commits intowp-cli:masterfrom
localheinz:feature/php73
Apr 24, 2019
Merged

Enhancement: Add PHP 7.3 to Travis CI build matrix#111
schlessera merged 3 commits intowp-cli:masterfrom
localheinz:feature/php73

Conversation

@localheinz
Copy link

@localheinz localheinz commented Apr 17, 2019

This PR

  • adds PHP 7.3 to the Travis CI build matrix

Related to wp-cli/wp-cli#5160.

@localheinz localheinz requested a review from a team as a code owner April 17, 2019 17:14
@localheinz
Copy link
Author

localheinz commented Apr 18, 2019

Tests are failing because of https://www.php.net/manual/en/function.compact.php#refsect1-function.compact-changelog:

Screen Shot 2019-04-18 at 08 02 03

and https://github.com/WordPress/WordPress/blob/4.3.15/wp-includes/post.php#L3372 (couldn't find version 4.3.2 as used in the tests on GitHub:

$post_parent = apply_filters(
     'wp_insert_post_parent', 
    $post_parent, 
    $post_ID, 
    compact( array_keys( $postarr ) ), 
    $postarr 
);

@schlessera
Copy link
Member

Depends on #113

@schlessera
Copy link
Member

The test downgrade to WP 4.3.2 and then runs code on that version. WP 4.3.2 is not compatible with PHP 7.3+, and there's not much we can do about that.

So we're skipping this specific test for PHP 7.3+.

@schlessera schlessera added this to the 2.0.5 milestone Apr 24, 2019
@schlessera schlessera merged commit 0b5c60d into wp-cli:master Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants