Skip to content

Rename setEventManager parameter #65

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

Open
wants to merge 1 commit into
base: 3.15.x
Choose a base branch
from

Conversation

MadCat34
Copy link

Q A
Documentation no
Bugfix no
BC Break yes ? CI detect a BC Break
New Feature no
RFC no
QA no

Description

Fix #41

Signed-off-by: Romain Bastide <[email protected]>
@froschdesign
Copy link
Member

@gsteel
I think the backward compatibility check is wrong here. What do you mean?

@gsteel
Copy link
Member

gsteel commented Apr 3, 2025

@froschdesign this will fix a bunch of psalm issues for any class that uses this trait because of the mismatch between the interface parameter name $eventManager and the parameter name on the trait of $events.

The BC checker failure is expected because the param name has been changed, but as we do not provide BC guarantees for named params, this should be fine to go into a patch.

If you agree, LMK and I'll merge

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.

EventManagerAwareInterface and EventManagerAwareTrait parameters have different names
4 participants