| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | #[AsCronJob(schedule: '0 0 * * *')] |
||
| 15 | #[AsCommand(name: 'app:user:remove_deleted', description: 'Löscht alle zum Löschen vorgemerkten Benutzer, die vor mehr als 30 Tagen zum Löschen markiert wurden.')] |
||
| 16 | class RemoveDeletedUsers extends Command { |
||
| 17 | private const Modifier = '-30 days'; |
||
| 18 | |||
| 19 | public function __construct(private readonly DateHelper $dateHelper, private readonly UserRepositoryInterface $userRepository, string $name = null) { |
||
| 20 | parent::__construct($name); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function execute(InputInterface $input, OutputInterface $output): int { |
||
| 32 | } |
||
| 33 | } |