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: src/Symfony/Bundle/FrameworkBundle/Console/Application.php
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,14 @@ public function getKernel()
62
62
*/
63
63
public function doRun(InputInterface $input, OutputInterface $output)
64
64
{
65
+
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