Unit/System Tests PHP 8.x bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar heelc29
heelc29
1 Oct 2025

Summary of Changes

Deprecated: Using null as an array offset is deprecated, use an empty string instead

https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_using_values_null_as_an_array_offset_and_when_calling_array_key_exists

Testing Instructions

Run unit tests ./libraries/vendor/bin/phpunit --testsuite Unit

  • enable max error reporting
  • use php 8.5 (latest pre-version 8.5.0rc1)

Actual result BEFORE applying this Pull Request

deprecation message (possibly further)
image

Expected result AFTER applying this Pull Request

no deprecation message about using null as an array offset from files within the joomla-cms repo

Link to documentations

  • No documentation changes for docs.joomla.org needed
  • No documentation changes for manual.joomla.org needed
avatar heelc29 heelc29 - open - 1 Oct 2025
avatar heelc29 heelc29 - change - 1 Oct 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Oct 2025
Category Unit Tests
avatar muhme muhme - change - 16 Oct 2025
Labels Added: Unit/System Tests PHP 8.x bug PR-5.4-dev
avatar muhme
muhme - comment - 16 Oct 2025

✅ Tested with JBT php8.5-rc

  • Before patch unit tests show 9 Using null as an array offset is deprecated
  • PR with Patchtester applied (to be able to run unit tests again)
    • No more Using null as an array offset is deprecated
avatar muhme muhme - change - 16 Oct 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-10-16 17:03:01
Closed_By muhme
avatar muhme muhme - close - 16 Oct 2025
avatar muhme muhme - merge - 16 Oct 2025
avatar muhme
muhme - comment - 16 Oct 2025

Thank you @heelc29 for your contribution. Thank you @HLeithner for your review.

Add a Comment

Login with GitHub to post a comment