Skip to content

Conversation

@viralsampat90
Copy link

Hello Team,

I have reviewed issue #40: Remove unused variable $new_assoc_args in wp rewrite structure subcommand.

After analyzing the code, I found the variable is indeed unused. I have implemented a fix by removing the unused variable from the relevant file.

A pull request has been created with this change.

Thank you!

@viralsampat90 viralsampat90 requested a review from a team as a code owner May 22, 2025 13:03
@codecov
Copy link

codecov bot commented May 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@wojsmol
Copy link
Contributor

wojsmol commented May 22, 2025

@viralsampat90 Please see https://github.com/wp-cli/rewrite-command/pull/73/files for automated phpcs comments.

@ernilambar
Copy link
Member

@viralsampat90 composer run phpcbf could probably fix the sniffer issue. Please try it.

@viralsampat-multidots
Copy link
Contributor

Hello @ernilambar,

Thank you very much for your valuable feedback.

I have reviewed my pull request, implemented the suggested changes, and have resubmitted it for your review.

Thanks,

@swissspidy swissspidy linked an issue May 23, 2025 that may be closed by this pull request
1 task
@swissspidy swissspidy added the bug label May 23, 2025
@swissspidy swissspidy added this to the 2.0.16 milestone May 23, 2025
@swissspidy swissspidy merged commit d832b4e into wp-cli:main May 23, 2025
42 checks passed
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.

Remove unused variable $new_assoc_args in wp rewrite structure subcommand

5 participants