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: 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