Nicolas Grekas
Nicolas Grekas
Thanks for the feedback. Logging looks like a nice way forward. Blocking the removal of a required dep is also likely possible but I'm not sure how easy or hard...
I think you should fix your code. Making the property readonly is on purpose as it prevents making the service mutable.
> we can't override Clock and can't override the $now property (it's only possible to modify now, but it's always relative to the current now value). not sure what's the...
Dagger looks nice on the topic. See https://github.com/symfony/symfony/pull/59240 for some efforts to use it for Symfony itself. Let me close as this repo is not the one where this should...
> Defining constants that cannot have effect would make the polyfilled case worse Actually, passing the raw values does work. Curl accepts them (provided a recent enough version is installed)....
Thank you @Ayesh.
I'd say the reason is that there is already https://github.com/symfony/web-link on the topic, with great maintenance policies, so no need to duplicate the effort.
I can see how that could make sense from a consumer PoV, but from a design PoV, I'm not convinced: If Response implements EvolvableLinkProviderInterface but doesn't provide an implementation of...
> Looks like unpkg can be used in China without issue. Maybe we could fallback to unpkg when jsdelivr fails? Or we could try both CDNs and use the one...
IIUC, this is fixed in branch 7.4 on PHP 8.4 (using the native DOM parser): one needs to use `->sanitizeFor('html', $html);`