Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c234449

Browse filesBrowse files
committed
[Console] remove deprecated shell
1 parent 3832bec commit c234449
Copy full SHA for c234449

File tree

3 files changed

+0
-292
lines changed
Filter options

3 files changed

+0
-292
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Console/Application.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Console/Application.php
-12Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ public function __construct(KernelInterface $kernel)
4141

4242
parent::__construct('Symfony', Kernel::VERSION.' - '.$kernel->getName().'/'.$kernel->getEnvironment().($kernel->isDebug() ? '/debug' : ''));
4343

44-
$this->getDefinition()->addOption(new InputOption('--shell', '-s', InputOption::VALUE_NONE, 'Launch the shell.'));
45-
$this->getDefinition()->addOption(new InputOption('--process-isolation', null, InputOption::VALUE_NONE, 'Launch commands from shell as a separate process.'));
4644
$this->getDefinition()->addOption(new InputOption('--env', '-e', InputOption::VALUE_REQUIRED, 'The Environment name.', $kernel->getEnvironment()));
4745
$this->getDefinition()->addOption(new InputOption('--no-debug', null, InputOption::VALUE_NONE, 'Switches off debug mode.'));
4846
}
@@ -85,16 +83,6 @@ public function doRun(InputInterface $input, OutputInterface $output)
8583

8684
$this->setDispatcher($container->get('event_dispatcher'));
8785

88-
if (true === $input->hasParameterOption(array('--shell', '-s'))) {
89-
@trigger_error('The "--shell" option is deprecated since Symfony 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
90-
91-
$shell = new Shell($this);
92-
$shell->setProcessIsolation($input->hasParameterOption(array('--process-isolation')));
93-
$shell->run();
94-
95-
return 0;
96-
}
97-
9886
return parent::doRun($input, $output);
9987
}
10088

‎src/Symfony/Bundle/FrameworkBundle/Console/Shell.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Console/Shell.php
-47Lines changed: 0 additions & 47 deletions
This file was deleted.

‎src/Symfony/Component/Console/Shell.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Shell.php
-233Lines changed: 0 additions & 233 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.