diff --git a/UPGRADE-5.0.md b/UPGRADE-5.0.md index 7c409d4630..f0ba1c429b 100644 --- a/UPGRADE-5.0.md +++ b/UPGRADE-5.0.md @@ -55,6 +55,19 @@ DependencyInjection * Removed the `TypedReference::canBeAutoregistered()` and `TypedReference::getRequiringClass()` methods. * Removed support for auto-discovered extension configuration class which does not implement `ConfigurationInterface`. + * Removed support for non-string default env() parameters + + Before: + ```yaml + parameters: + env(NAME): 1.5 + ``` + + After: + ```yaml + parameters: + env(NAME): '1.5' + ``` DoctrineBridge -------------- @@ -82,23 +95,6 @@ EventDispatcher * The signature of the `EventDispatcherInterface::dispatch()` method has been updated to `dispatch($event, string $eventName = null)` * The `Event` class has been removed, use `Symfony\Contracts\EventDispatcher\Event` instead -DependencyInjection -------------------- - - * Removed support for non-string default env() parameters - - Before: - ```yaml - parameters: - env(NAME): 1.5 - ``` - - After: - ```yaml - parameters: - env(NAME): '1.5' - ``` - Filesystem ----------