[Pkg-roundcube-maintainers] Bug#1150492: roundcube: FTBFS with PHP 8.5: TypeError in test_array_first

Guilhem Moulin guilhem at debian.org
Mon Oct 19 16:28:50 BST 2026


Control: severity -1 wishlist

Hi,

On Sat, 10 Oct 2026 at 00:54:39 -0700, Viktor Pashaiev wrote:
> Under PHP 8.5, array_first(array $array) is a strictly typed native function.
> Framework_Bootstrap::test_array_first asserted that non-array arguments
> (false, string) return null, which now throws TypeError:
> TypeError: array_first(): Argument #1 ($array) must be of type array, false given
>
> This causes the package test suite to fail under PHP 8.5.

AFAICT Roundcube 1.6.x is not officially supported with PHP 8.5, so I'm
lowering the severity accordingly.  I hope to find time to finalize
packaging 1.7.x for forky.

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-roundcube-maintainers/attachments/20261019/4cc5d1ff/attachment.sig>


More information about the Pkg-roundcube-maintainers mailing list