diff --git a/DependencyInjection/EasySecurityExtension.php b/DependencyInjection/EasySecurityExtension.php index ff29ef6..8457b88 100644 --- a/DependencyInjection/EasySecurityExtension.php +++ b/DependencyInjection/EasySecurityExtension.php @@ -25,11 +25,5 @@ public function load(array $configs, ContainerBuilder $container) { $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); $loader->load('services.xml'); - - if (PHP_VERSION_ID < 70000) { - $this->addClassesToCompile(array( - 'EasyCorp\\Bundle\\EasySecurityBundle\\Security\\Security', - )); - } } }