We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there,
I had a look through the rectors, but couldn't find anything. Is there a rector that can do this? before:
new Foo('bar');
after
Foo::create('bar');
many thanks!
The text was updated successfully, but these errors were encountered:
Hi Ben,
such rules could be found in "Transform" group. E.g. method call to static call etc.
Maybe this one: https://github.com/rectorphp/rector/blob/master/docs/rector_rules_overview.md#newtostaticcallrector
Sorry, something went wrong.
Doh! thankyou @TomasVotruba !
You're welcome :)
Updated Rector to commit caba1a00f6c66fe383ed38624087f6dd527808c6
88ba2c5
rectorphp/rector-src@caba1a0 Completely remove __get() method on AbstractRector (#5245)
No branches or pull requests
Hi there,
I had a look through the rectors, but couldn't find anything.
Is there a rector that can do this?
before:
after
many thanks!
The text was updated successfully, but these errors were encountered: