WIP: fix(joomla6): update webservices plugin for Joomla 6 typed event API #51

Closed
jmiller wants to merge 0 commits from dev into main
Owner

Summary

Update plg_webservices_mokowaas for Joomla 6 typed event system.

Changes

  • Added BeforeApiRouteEvent import
  • Updated onBeforeApiRoute() from pass-by-reference to typed event
  • Extract router via $event->getRouter()

Fixes #48

Test plan

  • Verify REST API responds on dev site
  • Check api/templates/system/index.php exists in package

🤖 Generated with Claude Code

## Summary Update plg_webservices_mokowaas for Joomla 6 typed event system. ## Changes - Added BeforeApiRouteEvent import - Updated onBeforeApiRoute() from pass-by-reference to typed event - Extract router via $event->getRouter() Fixes #48 ## Test plan - [ ] Verify REST API responds on dev site - [ ] Check api/templates/system/index.php exists in package 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jmiller added 6 commits 2026-05-26 18:50:07 +00:00
chore: cascade main → dev [skip ci]
fix(joomla6): update webservices plugin for Joomla 6 typed event API
Joomla: Repo Health / Access control (push) Successful in 1s
Joomla: Update Server / Update updates.xml (push) Failing after 9s
Joomla: Repo Health / Release configuration (push) Has been cancelled
Joomla: Repo Health / Scripts governance (push) Has been cancelled
Joomla: Repo Health / Repository health (push) Has been cancelled
3f20ad985c
Joomla 6 changed SubscriberInterface event handlers to receive a typed
event object instead of pass-by-reference parameters. Update
onBeforeApiRoute() to accept BeforeApiRouteEvent and extract the
router via $event->getRouter().

Fixes #48

Authored-by: Moko Consulting
jmiller added 1 commit 2026-05-26 18:51:35 +00:00
jmiller added 1 commit 2026-05-26 18:51:35 +00:00
jmiller closed this pull request 2026-05-26 18:51:45 +00:00

Pull request closed

Please reopen this pull request to perform a merge.
This pull request is marked as a work in progress.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoWaaS#51