Skip to content

Conversation

@samsonasik
Copy link
Contributor

@samsonasik samsonasik commented Jan 6, 2026

AttributeKey::PARENT_NODE no longer exists from rector 0.17 https://getrector.com/blog/rector-017-brings-more-robust-and-lighter-node-tree

seems this is left over on upgrade and was missing test.

This PR fix it.

@samsonasik
Copy link
Contributor Author

@LordSimal ready for review, please check my comment above for possible missing transformation from the start.

@samsonasik
Copy link
Contributor Author

Okay, I got it, it show error on tests/TestCase/Command/RectorCommandTest.php https://github.com/cakephp/upgrade/actions/runs/20746419284/job/59564748692?pr=374

@samsonasik
Copy link
Contributor Author

samsonasik commented Jan 6, 2026

@LordSimal fixed 🎉 ready to merge 👍

@LordSimal
Copy link
Contributor

Thank you 🙇🏻

@LordSimal LordSimal merged commit 5fbb739 into cakephp:5.x Jan 6, 2026
3 checks passed
@samsonasik samsonasik deleted the fix-use-parent branch January 6, 2026 13:00
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