diff --git a/src/Symfony/Bridge/Twig/Command/LintCommand.php b/src/Symfony/Bridge/Twig/Command/LintCommand.php
index 59543a4744..f39fe59916 100644
--- a/src/Symfony/Bridge/Twig/Command/LintCommand.php
+++ b/src/Symfony/Bridge/Twig/Command/LintCommand.php
@@ -57,7 +57,6 @@ class LintCommand extends Command
protected function configure()
{
$this
- ->setAliases(array('twig:lint'))
->setDescription('Lints a template and outputs encountered errors')
->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format', 'txt')
->addArgument('filename', InputArgument::IS_ARRAY)
@@ -84,10 +83,6 @@ EOF
protected function execute(InputInterface $input, OutputInterface $output)
{
- if (false !== strpos($input->getFirstArgument(), ':l')) {
- $output->writeln('The use of "twig:lint" command is deprecated since version 2.7 and will be removed in 3.0. Use the "lint:twig" instead.');
- }
-
$twig = $this->getTwigEnvironment();
if (null === $twig) {
diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php
index f8d7c279d6..2a88c2fbeb 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Command/YamlLintCommand.php
@@ -30,7 +30,6 @@ class YamlLintCommand extends Command
{
$this
->setName('lint:yaml')
- ->setAliases(array('yaml:lint'))
->setDescription('Lints a file and outputs encountered errors')
->addArgument('filename', null, 'A file or a directory or STDIN')
->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format', 'txt')
@@ -62,10 +61,6 @@ EOF
protected function execute(InputInterface $input, OutputInterface $output)
{
- if (false !== strpos($input->getFirstArgument(), ':l')) {
- $output->writeln('The use of "yaml:lint" command is deprecated since version 2.7 and will be removed in 3.0. Use the "lint:yaml" instead.');
- }
-
$filename = $input->getArgument('filename');
if (!$filename) {