What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Symfony changed setTrustedProxies

UM4BZSK7T
UM4BZSK7T Posts: 174 🧑🏻‍🚀 - Cadet
edited May 2023 in Random Stuff

spryker/silex should depend on "spryker/application": "~3.18.1", because symfony/http-foundation changed setTrustedProxies to use 2 parameters. Spryker did change that in spryker/application 3.18 but you update the symfony/http-foundation by upgrading spryker/silex and then you get an exception if spryker/application is left behind.

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Thank you for the feedback! Forwarded it internally.

  • UM4BZSK7T
    UM4BZSK7T Posts: 174 🧑🏻‍🚀 - Cadet

    Oh ^3.18.1 maybe be better. I just fixed all our versions to minor as I have plenty of problems if I update.

  • UM4BZSK7T
    UM4BZSK7T Posts: 174 🧑🏻‍🚀 - Cadet

    I stick to the minimum version not what maybe it the most reasonable.