Closed timvandijck closed 5 months ago
And does it also work on macros like collect()->ray()
?
Does this also work for chained calls? Like
ray()->clearScreen()
andray('Hello')->red()
?And does it also work on macros like
collect()->ray()
?
Now it should!
@timvandijck It doesn't seem to remove collection macro ray()
call.
@Plytas good spot, it seems like it's not working when a macro line is not ending with ->ray() but with an other method.
I created an issue to track this, probably will be resolved next week: https://github.com/spatie/ray/issues/889
2 ways of using it:
RemoveRayCallRector
rule../vendor/bin/remove-ray.sh <path>