[Web Link] replace for all functions - #1032
Conversation
|
This is a bit mess to review, but it seems all 3 methods have the same changes. Can you link me to PR/blog post in Symfony? What if we allow multiple method names in the config value object? |
Yeah i can understand that, indeed: You mean |
|
I mean something like upgrade/chagelong. That's the source we work with. |
Ah i cannot really find a good source but found: symfony/web-link@034ff81#diff-f82e9bb0d7c54260c4db845cdeb8d2f1e46e540332b0244a8e9476ea273bffb3R31-R119 where the Link class was added already containing these methods and option to pass a string, and also constants to use so its there since the beginning |
|
@TomasVotruba the code before was also missing the link to the docs, and there isn't really documentation for this its part of the PSR-13 Link EvolvableLinkInterface. You think its okay to merge link this or want me to add some more information links? |
|
As there is no change in Symfony, this looks like something that should be handled by custom rule. |
I am adding function replacement for 6.3 for withRel and withoutRel as well.
Q: I use a foreach to replace the functions is that okay?