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

add rector to transform TableRegistry::get to TableRegistry::getTableLocator()->get() #295

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

LordSimal
Copy link
Contributor

Refs: #290

ChatGPT FTW


public function refactor(Node $node): ?Node
{
if(! $node instanceof StaticCall) {
Copy link
Member

Choose a reason for hiding this comment

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

Should this be run through the phpcs autofixer?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess we should remove the exclude for the src/Rector folder from the phpcs.xml

@markstory markstory merged commit c2f65ec into 5.x Sep 6, 2024
3 checks passed
@markstory markstory deleted the 5.x-tablelocator branch September 6, 2024 03:43
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