8000 removed deprecated Twig features · symfony/symfony@52badd0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 52badd0

Browse files
committed
removed deprecated Twig features
1 parent 8018d4b commit 52badd0

File tree

3 files changed

+0
-82
lines changed

3 files changed

+0
-82
lines changed

src/Symfony/Bridge/Twig/Extension/AssetExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Bridge\Twig\Extension;
1313

1414
use Symfony\Component\Asset\Packages;
15-
use Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy;
1615

1716
/**
1817
* Twig extension for the Symfony Asset component.

src/Symfony/Bundle/TwigBundle/Command/DebugCommand.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
namespace Symfony\Bundle\TwigBundle\Command;
1313

1414
use Symfony\Bridge\Twig\Command\DebugCommand as BaseDebugCommand;
15-
use Symfony\Component\Console\Input\InputInterface;
16-
use Symfony\Component\Console\Output\OutputInterface;
1715
use Symfony\Component\DependencyInjection\ContainerInterface;
1816
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
1917

@@ -44,23 +42,4 @@ protected function getTwigEnvironment()
4442
{
4543
return $this->container->get('twig');
4644
}
47-
48-
/**
49-
* {@inheritdoc}
50-
*/
51-
protected function configure()
52-
{
53-
parent::configure();
54-
55-
$this->setAliases(array('twig:debug'));
56-
}
57-
58-
protected function execute(InputInterface $input, OutputInterface $output)
59-
{
60-
if (false !== strpos($input->getFirstArgument(), ':d')) {
61-
$output->writeln('<comment>The use of "twig:debug" command is deprecated since version 2.7 and will be removed in 3.0. Use the "debug:twig" instead.</comment>');
62-
}
63-
64-
parent::execute($input, $output);
65-
}
6645
}

src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0