mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-31 12:03:48 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -53,39 +53,23 @@ class ChillImportUsersCommand extends Command
|
||||
|
||||
protected bool $doChanges = true;
|
||||
|
||||
protected EntityManagerInterface $em;
|
||||
|
||||
protected array $groupCenters;
|
||||
|
||||
protected LoggerInterface $logger;
|
||||
|
||||
protected Writer $output;
|
||||
|
||||
protected UserPasswordEncoderInterface $passwordEncoder;
|
||||
|
||||
protected array $permissionGroups;
|
||||
|
||||
protected InputInterface $tempInput;
|
||||
|
||||
protected OutputInterface $tempOutput;
|
||||
|
||||
protected UserRepository $userRepository;
|
||||
|
||||
protected ValidatorInterface $validator;
|
||||
|
||||
public function __construct(
|
||||
EntityManagerInterface $em,
|
||||
LoggerInterface $logger,
|
||||
UserPasswordEncoderInterface $passwordEncoder,
|
||||
ValidatorInterface $validator,
|
||||
UserRepository $userRepository
|
||||
protected EntityManagerInterface $em,
|
||||
protected LoggerInterface $logger,
|
||||
protected UserPasswordEncoderInterface $passwordEncoder,
|
||||
protected ValidatorInterface $validator,
|
||||
protected UserRepository $userRepository
|
||||
) {
|
||||
$this->em = $em;
|
||||
$this->passwordEncoder = $passwordEncoder;
|
||||
$this->validator = $validator;
|
||||
$this->logger = $logger;
|
||||
$this->userRepository = $userRepository;
|
||||
|
||||
parent::__construct('chill:main:import-users');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user