Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Fixed behaviour on Symfony 3.4 #626

Merged
merged 1 commit into from Jul 3, 2019
Merged

Fixed behaviour on Symfony 3.4 #626

merged 1 commit into from Jul 3, 2019

Conversation

tarlepp
Copy link
Contributor

@tarlepp tarlepp commented Jul 3, 2019

Not 100% sure if this is the "proper" way to handle those event class changes properly - but at least now tests are ok with 3.4 and 4.3 - although I don't like to use that generic KernelEvent type on those listener classes - but didn't found another solution to fix that.

If there is another solution for that I'm like to hear that - so that I could improve this PR.

Related to #625

@fabpot
Copy link
Member

fabpot commented Jul 3, 2019

Thank you @tarlepp.

@fabpot fabpot merged commit d5c3d4a into sensiolabs:master Jul 3, 2019
fabpot added a commit that referenced this pull request Jul 3, 2019
This PR was squashed before being merged into the 5.4.x-dev branch (closes #626).

Discussion
----------

Fixed behaviour on Symfony 3.4

Not 100% sure if  this is the "proper" way to handle those event class changes properly - but at least now tests are ok with 3.4 and 4.3 - although I don't like to use that generic `KernelEvent` type on those listener classes - but didn't found another solution to fix that.

If there is another solution for that I'm like to hear that - so that I could improve this PR.

Related to #625

Commits
-------

d5c3d4a Fixed behaviour on Symfony 3.4
@tarlepp
Copy link
Contributor Author

tarlepp commented Jul 4, 2019

Hmm, I see that construct signature is different with that one - As I said in my initial comment that I didn't like this solution - although all the tests are green with SF3.4 and 4.3.

And that is why I asked if there was another solution to fix this - or is this something that cannot be fixed before SF5 to get support for SF3.4 and 4.3?

I'm open for any ideas you might have. And really if there isn't solution to fix this, then this should be reverted imho.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants