Skip to content

Conversation

@chalasr
Copy link
Member

@chalasr chalasr commented Jan 26, 2021

Q A
Branch? 5.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets #39881
License MIT
Doc PR -

Resolving child definitions' classes in this pass unlocks registering it as TYPE_BEFORE_OPTIMIZATION, and get rid of the issue reported in #39881.
The parent class resolution logic was borrowed from an existing pass (RegisterEventListenersAndSubscribersPass), that makes it the best solution I can think of.

@chalasr chalasr changed the title [SecurityBundle] Fix referencing aliases from RegisterEntryPointPass [SecurityBundle] Fix referencing aliases from RegisterEntryPointsPass Jan 26, 2021
@nicolas-grekas
Copy link
Member

Thank you @chalasr.

@nicolas-grekas nicolas-grekas merged commit f7e6196 into symfony:5.2 Jan 26, 2021
@chalasr chalasr deleted the entrypoint-pass branch January 26, 2021 22:51
@fabpot fabpot mentioned this pull request Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants