fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 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);
}
}