Skip to content

Commit

Permalink
Do not use deprecated ProxyVarsCompilerPass
Browse files Browse the repository at this point in the history
  • Loading branch information
a-menshchikov committed Jul 10, 2022
1 parent b5061b6 commit 7149a52
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/NbgrpOneloginSamlBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

use Nbgrp\OneloginSamlBundle\DependencyInjection\Compiler\AuthRegistryCompilerPass;
use Nbgrp\OneloginSamlBundle\DependencyInjection\Compiler\EntityManagerCompilerPass;
use Nbgrp\OneloginSamlBundle\DependencyInjection\Compiler\ProxyVarsCompilerPass;
use Nbgrp\OneloginSamlBundle\DependencyInjection\Security\Factory\SamlFactory;
use Nbgrp\OneloginSamlBundle\DependencyInjection\Security\UserProvider\SamlUserProviderFactory;
use Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension;
Expand All @@ -17,9 +16,6 @@
*/
class NbgrpOneloginSamlBundle extends Bundle
{
/**
* @suppress PhanDeprecatedClass
*/
public function build(ContainerBuilder $container): void
{
parent::build($container);
Expand All @@ -30,11 +26,9 @@ public function build(ContainerBuilder $container): void
$extension->addUserProviderFactory(new SamlUserProviderFactory());
}

/** @psalm-suppress DeprecatedClass */
$container
->addCompilerPass(new EntityManagerCompilerPass())
->addCompilerPass(new AuthRegistryCompilerPass())
->addCompilerPass(new ProxyVarsCompilerPass())
;
}
}

0 comments on commit 7149a52

Please sign in to comment.