-
Notifications
You must be signed in to change notification settings - Fork 31
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
Symfony 3.x compatibility #90
Conversation
@andrerom Ready for merge and tag? Together with ezsystems/ezpublish-kernel#1957, everything appears to be working fine. The tag could be |
@lolautruche review ping :) |
@@ -87,7 +87,7 @@ public function init() | |||
$this->kernelFactory->setBuildEventsEnabled(false); | |||
|
|||
/** @var $request \Symfony\Component\HttpFoundation\ParameterBag */ | |||
$request = $this->container->get('request')->request; | |||
$request = $this->container->get('request_stack')->getCurrentRequest()->request; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't the request be injected as an argument?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure can, but then it's a breaking change :)
@andrerom @lolautruche Some more commits added for compatibility with Sf 3.x, please review :) |
Still +1 |
Thanks! 👍 |
GitHub stalled for a moment, PR is merged in 3bdb710, but it didn't mark as merged, so closing. |
Symfony 3.x compatibility
Removes usage of Symfony
*.class
parameters for compatibility with Symfony 3.x.Also contains a followup to #88 by @wizhippo, due to ezsystems/ezpublish-kernel#1910
Removes usage of
request
service.Removes usage of
ContainerAware
abstract class.Replaced deprecated CSRF token provider with token manager
Removed depreacted usage of
$absolute
argument in routerMore fixes probably incoming :)