Rename $match and variations to $hit for PHP 8 compatibility

This commit is contained in:
DariusIII
2020-12-02 10:55:09 +01:00
parent df2fd3328b
commit f3cde99e37
28 changed files with 216 additions and 216 deletions
+2 -2
View File
@@ -546,8 +546,8 @@ class ProcessReleases
'naming_regex_id' => $cleanedName['id'] ?? 0,
]);
if (preg_match_all('#(\S+):\S+#', $collection->xref, $matches)) {
foreach ($matches[1] as $grp) {
if (preg_match_all('#(\S+):\S+#', $collection->xref, $hits)) {
foreach ($hits[1] as $grp) {
//check if the group name is in a valid format
$grpTmp = UsenetGroup::isValidGroup($grp);
if ($grpTmp !== false) {