From 1adf4ce67fecb89428496efa380257e6a4b2d3d6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 20 Nov 2025 15:13:52 +0100 Subject: [PATCH 1/2] Fix CI --- htdocs/emailcollector/lib/emailcollector.lib.php | 1 - 1 file changed, 1 deletion(-) diff --git a/htdocs/emailcollector/lib/emailcollector.lib.php b/htdocs/emailcollector/lib/emailcollector.lib.php index eef737cfc86..5211bc811df 100644 --- a/htdocs/emailcollector/lib/emailcollector.lib.php +++ b/htdocs/emailcollector/lib/emailcollector.lib.php @@ -115,7 +115,6 @@ function getDParameters($part) * @param object $mbox object connection imaap * @return array type, filename, pos */ - function getAttachments($jk, $mbox) { $structure = imap_fetchstructure($mbox, $jk, FT_UID); // @phan-suppress-current-line PhanTypeMismatchArgumentInternal $parts = getParts($structure); From f32386208d9f7a74753557006ca079f486d44a30 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 20 Nov 2025 15:14:09 +0100 Subject: [PATCH 2/2] Fix CI --- htdocs/emailcollector/lib/emailcollector.lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/emailcollector/lib/emailcollector.lib.php b/htdocs/emailcollector/lib/emailcollector.lib.php index 5211bc811df..598d6611975 100644 --- a/htdocs/emailcollector/lib/emailcollector.lib.php +++ b/htdocs/emailcollector/lib/emailcollector.lib.php @@ -115,7 +115,8 @@ function getDParameters($part) * @param object $mbox object connection imaap * @return array type, filename, pos */ -function getAttachments($jk, $mbox) { +function getAttachments($jk, $mbox) +{ $structure = imap_fetchstructure($mbox, $jk, FT_UID); // @phan-suppress-current-line PhanTypeMismatchArgumentInternal $parts = getParts($structure); $fpos = 2;