I had a lot of tests failing due to teh ClockInterface implementation being Symfonys clock-implementation. That is not what a clock interface is about. Need to investigate now what caused that 😕
@heiglandreas I am still bothered that the discussion on that interface has my name attached to it, even though that is not the interface that I proposed in my conference talk. I proposed a single now() method.
It had nothing to do with Symfonys (or any other) Clock implementation!
A broken DI-config in combination with a hard-coded DI-dependency in tests caused the System-Clock implementation to not be replaced by the test-clock.
That the default was Symfonys implementation was just a coincidence...
🙈
I think it's time to call it a day and start the holidays!
I'm pretty sure you know already, but Symfony itself - and most of the bundles and code written in the ecosystem - rely on mutable requests (and to lesser extent responses).
Changing this will be a massive cost for the ecosystem. To be honest, I haven't seen an issue or heard anyone in the community talk about wanting more than the PSR-7 bridge (let alone leading such a big project).
Add comment