Find the best Rector rule to solve your problem. Searching through 869 rules.

Found 1 rule. That's the one:

RemoveEraseCredentialsFromAuthenticatorManagerRector

Remove unused $eraseCredentials argument from AuthenticatorManager constructor

 use Symfony\Component\Security\Http\Authentication\AuthenticatorManager;

 final class Foo
 {
     public function bar(): void
     {
         new AuthenticatorManager(
             $authenticators,
             $tokenStorage,
             $eventDispatcher,
             $firewallName,
-            true
         );
     }
 }