Christian Flothmann
Christian Flothmann
@raulfraile I can confirm that this fixes the root issue.
@raulfraile I see one issue with the proposed solution: When using the Symfony installer, the user would have to change directories after installing Symfony in the current directory because the...
see #132 and #133 :)
Which settings are you talking about? Can you show an example?
That's the expected behaviour. The configuration setting you linked to is not taken into account for all cookies but only affects the session cookie. See symfony/symfony#26731 for a similar feature...
You can create your own event listener that modifies the cookie accordingly.
Do you really want to maintain two branches just to avoid some `if` conditions inside the DI extension class? I don't think that's worth it.
Since this bundle depends on FrameworkBundle 2.4 or higher making use of the request stack instead of injecting the request service looks like a reasonable solution to me.
Looks like you somehow ended up with the Symfony Yaml component being installed in version 6.1 or higher which requires at least PHP 8.1.
So the question is why and how did you end up with dependencies that are not compatible with the PHP version that you use?