The rule:
https://getrector.com/rule-detail/func-call-to-new-rector
The rule internally checks that the values of the configuration array are strings. But an array is given in the configuration example on that page.
Also the helper function name is different, it's "collect" now, not "collection".
The rule:
https://getrector.com/rule-detail/func-call-to-new-rector
The rule internally checks that the values of the configuration array are strings. But an array is given in the configuration example on that page.
Also the helper function name is different, it's "collect" now, not "collection".