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
{{ message }}
Repository navigation
Symfony 8.2 deprecates the constant() function of ExpressionLanguage, used by the EvaluatorTransformer test #493
With Symfony 8.2 (8.2.0-BETA1), EvaluatorTransformerTest triggers Since symfony/expression-language 8.2: Using the built-in "constant()" expression function is deprecated, register a ConstantFunctionProvider listing the allowed constants instead. With failOnDeprecation, the CI will fail when Symfony 8.2 is released. The evaluator expressions of the users using constant() get the deprecation too.
Proposed fix
Use another native function in the test; document that constant() is deprecated by Symfony 8.2. No ConstantFunctionProvider registered by the bundle.
Activity
#493 - EvaluatorTransformerTest: a string concatenation instead of ma…
#493 - EvaluatorTransformer: avoid constant(), deprecated by Symfony 8.2
#493 - EvaluatorTransformerTest: a string concatenation instead of ma…