You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading from Symfony v7.0.7 to v7.1.0-BETA1, my PHP configuration files using ConfigBuilder classes trigger exceptions for each param or env function, like
Invalid type for path "framework.secret". Expected "scalar", but got "Symfony\Component\DependencyInjection\Loader\Configurator\EnvConfigurator".
Stack trace
Symfony\Component\Config\Definition\Exception\InvalidTypeException:
Invalid type for path "framework.secret". Expected "scalar", but got "Symfony\Component\DependencyInjection\Loader\Configurator\EnvConfigurator".
MatTheCat
changed the title
[DependencyInjection] Expected scalar, but got ParamConfigurator/EnvConfigurator
[DependencyInjection] Expected scalar, but got ParamConfigurator (or EnvConfigurator)
May 17, 2024
Symfony version(s) affected
v7.1.0-BETA1
Description
After upgrading from Symfony v7.0.7 to v7.1.0-BETA1, my PHP configuration files using ConfigBuilder classes trigger exceptions for each
param
orenv
function, likeStack trace
How to reproduce
Write a configuration in PHP using the
param
orenv
function, likePossible Solution
No response
Additional Context
This seems to be caused by #52843.
The text was updated successfully, but these errors were encountered: