[PHP 8] Add properties argument to __set_state magic method by TimothyBJacobs · Pull Request #5469 · wp-cli/wp-cli

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@TimothyBJacobs

Copy link

Contributor

On PHP 8 a fatal error is issued if a magic method doesn't match the expected signature.

PHP Fatal error:  Method Test_Magic_Methods::__set_state() must take exactly 1 argument

@TimothyBJacobs TimothyBJacobs requested a review from a team as a code owner

November 11, 2020 18:44

@schlessera schlessera added the scope:testing

Related to testing

label

Nov 12, 2020

@schlessera schlessera added this to the 2.5.0 milestone

Nov 12, 2020

@schlessera schlessera merged commit 6af36bf into wp-cli:master

Nov 12, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@schlessera schlessera schlessera approved these changes

Assignees

No one assigned

Labels

scope:testing

Related to testing

Projects

None yet

Milestone

2.5.0

Development

Successfully merging this pull request may close these issues.

2 participants

@TimothyBJacobs @schlessera