add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
+1 -3
View File
@@ -57,7 +57,7 @@ class EmailExtractorService
$needToAdd = [];
foreach ($dbSet as $email => $_) {
if (! isset($csvSet[$email])) {
if (!isset($csvSet[$email])) {
$needToAdd[] = $email;
}
}
@@ -84,7 +84,6 @@ class EmailExtractorService
$out[] = $email;
}
}
return array_values(array_unique($out));
}
@@ -93,7 +92,6 @@ class EmailExtractorService
$pattern = '/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}/i';
preg_match_all($pattern, $text, $matches);
$emails = $matches[0] ?? [];
return $this->normalizeEmailArray($emails);
}
}