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

Remove default value from $include_total #162

Merged
merged 2 commits into from
Nov 13, 2020

Conversation

TimothyBJacobs
Copy link
Contributor

This parameter isn't actually optional because it is followed by required parameters. This issues a warning on PHP 8.

Deprecated: Required parameter $order follows optional parameter $include_total in /Users/timothybjacobs/Workspace/wp-cli-dev/profile-command/inc/class-formatter.php on line 45

This parameter isn't actually optional because it is followed by required parameters. This issues a warning on PHP 8.
@TimothyBJacobs TimothyBJacobs requested a review from a team as a code owner November 11, 2020 20:26
inc/class-formatter.php Show resolved Hide resolved
@schlessera schlessera added this to the 2.0.2 milestone Nov 13, 2020
@schlessera
Copy link
Member

Remaining test breakage seems to be for old versions of WP only, ignoring for now to move forward with PHP 8 support.

@schlessera schlessera merged commit e4cb1d5 into wp-cli:master Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants