8000 minor #1626 Don't use the deprecated addClassesToCompile() method (ja… · EasyCorp/EasyAdminBundle@7c1fdf5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c1fdf5

Browse files
committed
minor #1626 Don't use the deprecated addClassesToCompile() method (javiereguiluz)
This PR was merged into the 1.16.x-dev branch. Discussion ---------- Don't use the deprecated addClassesToCompile() method Deprecated since Symfony 3.3 (see symfony/symfony#22459) Commits ------- 80789c2 Don't use the deprecated addClassesToCompile() method
2 parents 7e9cd05 + 80789c2 commit 7c1fdf5

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

DependencyInjection/EasyAdminExtension.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,6 @@ public function load(array $configs, ContainerBuilder $container)
4949
$container->removeDefinition('easyadmin.listener.exception');
5050
}
5151

52-
// compile commonly used classes on PHP < 7.0
53-
if (PHP_VERSION_ID < 70000) {
54-
$this->addClassesToCompile(array(
55-
'JavierEguiluz\\Bundle\\EasyAdminBundle\\Configuration\\ConfigManager',
56-
'JavierEguiluz\\Bundle\\EasyAdminBundle\\Event\\EasyAdminEvents',
57-
'JavierEguiluz\\Bundle\\EasyAdminBundle\\EventListener\\ExceptionListener',
58-
'JavierEguiluz\\Bundle\\EasyAdminBundle\\EventListener\\RequestPostInitializeListener',
59-
'JavierEguiluz\\Bundle\\EasyAdminBundle\\Form\\Extension\EasyAdminExtension',
60-
'JavierEguiluz\\Bundle\\EasyAdminBundle\\Search\\Paginator',
61-
'JavierEguiluz\\Bundle\\EasyAdminBundle\\Search\\QueryBuilder',
62-
'JavierEguiluz\\Bundle\\EasyAdminBundle\\Twig\\EasyAdminTwigExtension',
63-
));
64-
}
65-
6652
$this->ensureBackwardCompatibility($container);
6753
}
6854

0 commit comments

Comments
 (0)
0