Closed jdecool closed 5 years ago
That's strange! :/
Thanks anyway for this bugfix. :)
👍
Is it possible to tag a new version ?
There some features that available in the master
branch, but not usable because the latest tag is too old.
Yep, it's done. :)
Thanks !
Hi @jdecool. Does this solve your problem correctly? It looks like there a BC break for some users (see #143 )
I've tested, it introduce an BC break. Sorry for that.
We can try a fix with something like :
->integerNode('port')
->beforeNormalization()
->ifString()
->then(function(string $port) {
if (is_numeric($port)) {
return (int) $port;
}
return $port;
})
->end()
->defaultValue(5672)
->end()
->end()
@matthieuwerner doest it solve your problem?
I've the same issue describe in #131 with environment variables, even if I use the
int:
cast with Symfony 3.4.My configuration looks like :
The DSN solution is not tagged yet. So to keep compatibility with existing configuration, I had a normalisation of the port variable in the dependency configuration.