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

More reliable way getting first stmt item #2618

Merged
merged 2 commits into from
Jan 9, 2020

Conversation

Jaapze
Copy link
Contributor

@Jaapze Jaapze commented Jan 9, 2020

The key values are not reliable, this problem is caused by unsetting the values in the stmts array of a node without resetting them. It's not only in this rector file and might need a bigger fix, but this one was bugging me whole day.

Jaapze added 2 commits January 9, 2020 11:41
The key values are not reliable, this problem is caused by unsetting the values in the stmts array of a node without resetting them. It's not only in this rector file and might need a bigger fix, but this one was bugging me whole day.
@Jaapze
Copy link
Contributor Author

Jaapze commented Jan 9, 2020

I'm not really sure why the Travis CI build failed, can i re-trigger these checks?

@TomasVotruba
Copy link
Member

CI fail is unrelated, it's PHAR building.
I'll move it only to master today.

@TomasVotruba TomasVotruba self-requested a review January 9, 2020 12:18
@TomasVotruba TomasVotruba merged commit 8eafe7a into rectorphp:master Jan 9, 2020
TomasVotruba added a commit that referenced this pull request Jul 3, 2022
rectorphp/rector-src@45c91eb [DeadCode] Add RemoveJustVariableAssignRector (#2618)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants