Code Monkey home page Code Monkey logo

Comments (3)

odolbeau avatar odolbeau commented on June 9, 2024 1

Thanks for your feedback!

I really have to find some time to release a new minor version to deprecate those options... :/
Keep using the url anyway, that's the correct configuration. 👍

from swarrotbundle.

odolbeau avatar odolbeau commented on June 9, 2024

Hi @matthieuwerner & sorry for the late answer...

Could you please tell me which version of symfony you're using?
Could you try to debug which is the string passed to the beforeNormalization method? I bet it's %env(int:RABBITMQ_PORT)%?

Last but not least, is everything working fine when using the url config key? (see Configuration reference)

I'll add some tests on this class and mark the "old style config" (not using url) as deprecated when I'll have those information.

from swarrotbundle.

B-Galati avatar B-Galati commented on June 9, 2024

@odolbeau Hello!

Using Symfony 4.2.1.

With int, I have:

"env_46199cc6221ede45_int_SYMFONY__YS__RABBITMQ__PORT_84a7d4ce68c4e237c3cad97f2b8ef136"
Configuration.php on line 123:
"env_46199cc6221ede45_int_SYMFONY__YS__RABBITMQ__PORT_84a7d4ce68c4e237c3cad97f2b8ef136"
Configuration.php on line 123:
"%env(int:SYMFONY__YS__RABBITMQ__PORT)%"

Without int, I have:

Configuration.php on line 123:
"env_3100f1e69d1a1b31_SYMFONY__YS__RABBITMQ__PORT_05cb34255f9c84d8f4c6d6a98669318c"
Configuration.php on line 123:
"env_3100f1e69d1a1b31_SYMFONY__YS__RABBITMQ__PORT_05cb34255f9c84d8f4c6d6a98669318c"
Configuration.php on line 123:
"%env(SYMFONY__YS__RABBITMQ__PORT)%"

It's working fine with url ;-)

from swarrotbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.