Skip to content
This repository has been archived by the owner on Jul 26, 2018. It is now read-only.

Commit

Permalink
minor #7 Remove deprecated addClassesToCompile call (ninsuo)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Discussion
----------

Remove deprecated addClassesToCompile call

Hi there,

```
 Symfony\Component\HttpKernel\DependencyInjection\Extension::addClassesToCompile() is deprecated since version 3.3, to be removed in 4.0.
```

Cheers,

Commits
-------

ea9a269 Remove deprecated addClassesToCompile call
  • Loading branch information
javiereguiluz committed Aug 29, 2017
2 parents ab3cbf5 + ea9a269 commit eab158e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions DependencyInjection/EasySecurityExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
));
}
}
}

0 comments on commit eab158e

Please sign in to comment.