Attached is the debdiff for roundcube 1.6.18+dfsg-1ubuntu1 in stonking.

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.
The patch backports upstream commit 060fc956724 dropping the non-array 
assertions.

Verification:
- Tested in Ubuntu 26.10 (stonking) container with PHP 8.5.9: full test suite 
passes (1245 tests, 0 failures, 0 errors).
- Clean binary package build with dpkg-buildpackage.
- debdiff dry-run verified against pristine source with 0 fuzz and 0 rejects.
- Forwarded patch to Debian BTS.

** Patch added: "roundcube 1.6.18+dfsg-1ubuntu1 debdiff for stonking"
   
https://bugs.launchpad.net/bugs/2169077/+attachment/6007873/+files/roundcube_1.6.18+dfsg-1ubuntu1_stonking.debdiff

** Tags added: patch

** Changed in: roundcube (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169077

Title:
  roundcube 1.6.18+dfsg-1 FTBFS: test_array_first TypeError with PHP 8.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/roundcube/+bug/2169077/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to