Fix broken Symfony event-subscribers link that fails the docs link check - #620
Open
promptless-for-oss wants to merge 1 commit into
Open
Conversation
The Check-links CI step reports the 'Symfony event subscribers' xref as broken because Symfony renamed the event_dispatcher anchor. Update the link registry to the current #event_dispatcher-using-event-subscribers anchor so the whole-site link check passes.
promptless-for-oss
requested review from
adiati98 and
favour-chibueze
and removed request for
a team
August 12, 2026 12:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open in Promptless
The
Check linksCI step scans the whole docs site and was failing every PR because theSymfony event subscriberscross-reference (used on theplugins/event_listeners.rst"Event subscribers" section) pointed athttps://symfony.com/doc/current/components/event_dispatcher.html#using-event-subscribers. Symfony renamed that anchor, so the link no longer resolves.This updates the link registry (
docs/links/symfony_docs_event_subscribers.py) to the current anchor#event_dispatcher-using-event-subscribers, which is Symfony's Sphinx reference label for the "Creating an Event Subscriber" section. This is the only broken link the build reported, so the fix clears the site-wide link check. No prose or RST content changes.Trigger Events