sweepOrphans((bool) $this->option('dry-run'), max(1, (int) $this->option('hours'))); $this->info(sprintf( '%s: %d Dateien geprüft, %d verwaist, %d entfernt.', $this->option('dry-run') ? 'Trockenlauf' : 'Bereinigung', $result['scanned'], $result['orphans'], $result['removed'], )); return ! $this->option('dry-run') && $result['removed'] < $result['orphans'] ? self::FAILURE : self::SUCCESS; } }