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

WIP Upgrade package to rector/rector 1.0 #59

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

dlubitz
Copy link
Contributor

@dlubitz dlubitz commented May 3, 2024

Currently blocked due to the fact, that rector has removed the functionality for using a custom file processor.

See: rectorphp/rector-src#4808

Other open task:

  • Refactor addNodesBeforeNode/addNodeBeforeNode
  • Replace $rectorConfig->services() with RectorConfig::configure()>registerService()
  • Refactor $this->removeNode()

@kdambekalns kdambekalns mentioned this pull request May 14, 2024
Copy link
Member

@kdambekalns kdambekalns left a comment

Choose a reason for hiding this comment

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

@dlubitz Could you explain a bit about the changes still needed?

  • What did thet NodesToAddCollector do?
  • Those lines you simply commented out, what needs to be done?
  • In some places you added // return NodeTraverser::REMOVE_NODE; – while in other places you just used it as a solution?

Other than that 21 of 43 fiels changed look good to me by reading. 😇

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.

None yet

2 participants