Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add PHP-version-specific traits to extend the upgrader skin feedback method #5283
WordPress trunk is doing refactorings to use more PHP 5.6+ features since the minimum PHP version was raised.
As long as we stick to PHP 5.4, we need to provide compatibility mechanisms to deal with this.
This PR adds a
This should solve the build failure found at https://travis-ci.org/wp-cli/wp-cli/jobs/586215547#L736
Well, it might look over-complicated, but I wanted to: