Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

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

Appearance settings

fix PHP Deprecation for 8.1#5743

Merged
danielbachhuber merged 3 commits into
wp-cli:mainwp-cli/wp-cli:mainfrom
afragen:5742afragen/wp-cli:5742Copy head branch name to clipboard
Feb 23, 2023
Merged

fix PHP Deprecation for 8.1#5743
danielbachhuber merged 3 commits into
wp-cli:mainwp-cli/wp-cli:mainfrom
afragen:5742afragen/wp-cli:5742Copy head branch name to clipboard

Conversation

@afragen

@afragen afragen commented Feb 23, 2023

Copy link
Copy Markdown
Contributor

PHP 8.1 shows a PHP Deprecated warning for an improper return type for WP_CLI/Iterators/Transform::transform().

Fixes #5742

Comment thread php/WP_CLI/Iterators/Transform.php Outdated
Co-authored-by: Daniel Bachhuber <daniel@bachhuber.co>
@afragen

afragen commented Feb 23, 2023

Copy link
Copy Markdown
Contributor Author

I'll remove the declaration when I get back to my computer.

@danielbachhuber danielbachhuber left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @afragen !

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.

PHP Deprecated error in WP_CLI/Iterators/Transform in PHP8.1.9

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.