Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

Commit 7040df5

Browse files
committed
fix for FOUND with virus status
1 parent 6a9f6aa commit 7040df5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ClamAV/ClamAV.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function fileScan(string $file): bool
151151
return true; // Clean
152152
}
153153

154-
if ($status === 'FOUND') {
154+
if (str_ends_with($status, 'FOUND')) {
155155
return false; // Infected
156156
}
157157

0 commit comments

Comments
 (0)