You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Jaspur skipping StaticCallOnNonStaticToInstanceCallRector should work, unless there is some other rule that is making the change. When you run Rector (also with --dry-run), you can see which rule made the change, and you can skip it.
If that doesn't work, can you share the rules you're using and skipping in your RectorConfig, please?
@Jaspur I have a feeling this is maybe caused by the namespace of your classes. Can you provide a sample where the namespaces are provided as well for context?
This is technically a problem rule to rules in the main rector repo as well, which would be out of scope for this project.
Hi,
How can I prevent that Facades are being rewritten to Service classes?
Want to keep the
Facade
-way, because Facade isn't static.Adding one of those to
withSkip()
didn't help:ThisCallOnStaticMethodToStaticCallRector::class
&StaticCallOnNonStaticToInstanceCallRector
The text was updated successfully, but these errors were encountered: