PR-7.0-dev Pending

User tests: Successful: Unsuccessful:

avatar lemuelvdm
lemuelvdm
15 Oct 2026
  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Remove the deprecated legacy argument reshaping from 'AfterCleanCacheEvent', scheduled for removal in Joomla 7.0.

  • Remove the deprecated $legacyArgumentsOrder property.
  • Remove the ReshapeArgumentsAware trait usage.
  • Simplify the constructor while preserving argument validation.
  • Retain support for named event arguments

Testing Instructions

  1. Apply the patch to Joomla 7.0.
  2. Create or edit an article and save it.
  3. Verify that cache cleaning completes without errors.
  4. Confirm that onContentCleanCache continues to dispatch with the expected arguments.

Actual result BEFORE applying this Pull Request

AfterCleanCacheEvent retains deprecated compatibility logic for legacy positional arguments.

Expected result AFTER applying this Pull Request

The deprecated argument reshaping is removed while the event continues to support named arguments and existing validation.

Link to documentations

  • No documentation changes for guide.joomla.org needed

  • No documentation changes for manual.joomla.org needed

avatar lemuelvdm lemuelvdm - open - 15 Oct 2026
avatar lemuelvdm lemuelvdm - change - 15 Oct 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Oct 2026
Category ⇒ Libraries
avatar HLeithner HLeithner - close - 15 Oct 2026
avatar HLeithner
HLeithner - comment - 15 Oct 2026

Thanks, sadly we keep it till 8.0 and we have a collecting PR for all events #47459

I'm closing this for now.

avatar HLeithner HLeithner - change - 15 Oct 2026
Status Pending ⇒ Closed
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-10-15 14:16:05
Closed_By ⇒ HLeithner
Labels Added: PR-7.0-dev

Add a Comment

Login with GitHub to post a comment