Closed enumag closed 8 years ago
@enumag I also ran into this and I agree that removing it seems like a better option. I'm just can't remember why I haven't done it already, since I've tried this too. Do you know of any other possible problems?
@fprochazka None that I'm aware of.
Imho we need to add a 2.*
travis build with this.
@fprochazka Agreed but I think I'll leave that to you. I don't have that much experience with Travis configuration yet.
I was about to do it anyway, just saying :)
I've remembered, I have to first solve compatibility of kdyby/events
with symfony/event-dispatcher:~3.0
so I can allow here symfony/event-dispatcher:~2.3|~3.0
... otherwise, the symfony/console:3.*
does not install.
Hmm, It installed, but it's weird. I'll dig around for a bit.
I see now, symfony 3.0 is for 5.5 only.
It is not. Components from symfony 2.8 and 3.0 are (mostly) compatible with each other. Besides it's not really relevant - kdyby/console does not depend on kdyby/events or symfony/event-dispatcher.
@enumag Thank you :)
Unfortunately symfony/console 3.0 contains a BC break - the header of renderException method now contains type hints which means a separate version of kdyby/console would be needed for symfony 3.x.
In my opinion its better to remove this method from Kdyby. The condition is used when calling this method anyway so the only change is when calling it manually.