Skip to content

[Workflow] Remove GuardEvent::getContext() method without replacement #51549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

alexandre-daubois
Copy link
Member

Q A
Branch? 7.0
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Follow-up of #51484

@stof
Copy link
Member

stof commented Sep 4, 2023

The upgrade-7.0 file must also be updated

@alexandre-daubois
Copy link
Member Author

alexandre-daubois commented Sep 4, 2023

Actually, it has been already done last week:

symfony/UPGRADE-7.0.md

Lines 489 to 493 in d1774f4

Workflow
--------
* Require explicit argument when calling `Definition::setInitialPlaces()`
* `GuardEvent::getContext()` method has been removed. Method was not supposed to be called within guard event listeners as it always returned an empty array anyway.

@stof
Copy link
Member

stof commented Sep 4, 2023

ah OK. so this is something that has been forgotten in #51493 actually.

@fabpot
Copy link
Member

fabpot commented Sep 5, 2023

Thank you @alexandre-daubois.

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.

4 participants