Skip to content

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