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 8.1 deprecation: ReturnTypeWillChange#5807

Merged
swissspidy merged 1 commit into
wp-cli:mainwp-cli/wp-cli:mainfrom
Soean:5806Soean/wp-cli:5806Copy head branch name to clipboard
Jun 21, 2023
Merged

Fix PHP 8.1 deprecation: ReturnTypeWillChange#5807
swissspidy merged 1 commit into
wp-cli:mainwp-cli/wp-cli:mainfrom
Soean:5806Soean/wp-cli:5806Copy head branch name to clipboard

Conversation

@Soean

@Soean Soean commented Jun 21, 2023

Copy link
Copy Markdown
Contributor

Fixes PHP 8.1 deprecation by adding #[\ReturnTypeWillChange] to Iterator methods.

Fixes #5806

@Soean Soean requested a review from a team as a code owner June 21, 2023 08:05
@swissspidy swissspidy merged commit 90be24d into wp-cli:main Jun 21, 2023
@swissspidy swissspidy added this to the 2.9.0 milestone Jun 21, 2023
@Soean Soean deleted the 5806 branch June 27, 2023 13:47
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 8.1 deprecation: Return type of WP_CLI\Iterators\Query

2 participants

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