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
Copy file name to clipboardExpand all lines: UPGRADE-5.0.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,10 @@ FrameworkBundle
116
116
* Added support for the SameSite attribute for session cookies. It is highly recommended to set this setting (`framework.session.cookie_samesite`) to `lax` for increased security against CSRF attacks.
117
117
* The `ContainerAwareCommand` class has been removed, use `Symfony\Component\Console\Command\Command`
118
118
with dependency injection instead.
119
+
* The `--env` console option and its "-e" shortcut have been removed,
120
+
set the "APP_ENV" environment variable instead.
121
+
* The `--no-debug` console option has been removed,
122
+
set the "APP_DEBUG" environment variable to "0" instead.
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,10 @@ CHANGELOG
14
14
* Removed the `framework.messenger.encoder` and `framework.messenger.decoder` options. Use the `framework.messenger.serializer.id` option to replace the Messenger serializer.
15
15
* Deprecated the `ContainerAwareCommand` class in favor of `Symfony\Component\Console\Command\Command`
16
16
* Made `debug:container` and `debug:autowiring` ignore backslashes in service ids
17
+
* Deprecated the `--env` console option and its "-e" shortcut, set
18
+
the "APP_ENV" environment variable instead.
19
+
* Deprecated the `--no-debug` console option, set the "APP_DEBUG"
if ($input->hasParameterOption(array('-e', '--env'), true)) {
66
+
@trigger_error('The "--env" option and its "-e" shortcut are deprecated since Symfony 4.2. Set the "APP_ENV" environment variable instead.', E_USER_DEPRECATED);
67
+
}
68
+
69
+
if ($input->hasParameterOption('--no-debug', true)) {
70
+
@trigger_error('The "--no-debug" option is deprecated since Symfony 4.2. Set the "APP_DEBUG" environment variable to "0" instead.', E_USER_DEPRECATED);
0 commit comments