Skip to content
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 support #29

Merged
merged 2 commits into from
May 16, 2016
Merged

Symfony 3 support #29

merged 2 commits into from
May 16, 2016

Conversation

nicodmf
Copy link
Contributor

@nicodmf nicodmf commented May 14, 2016

#28 and #27 completion

Symfony 3 has deprecated and removed the 'request' service from the DI
Container. Instead, it is now required to use the 'request_stack'
service.

This also changes Travis (to make sure that version 3.0 is also tested)
and the tests.

Signed-off-by: Jacob Kiers <kiers@comandi.nl>
@nicodmf nicodmf force-pushed the master branch 10 times, most recently from 260a0c0 to a433996 Compare May 14, 2016 12:29
{
$container = $this->prophesize('Symfony\Component\DependencyInjection\ContainerInterface');

if (Kernel::MAJOR_VERSION === 2) {
Copy link
Contributor

@benja-M-1 benja-M-1 May 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code in this condition is the same as in the else. Can you remove it and change the elseif to an if?

@benja-M-1 benja-M-1 merged commit 1059430 into theodo:master May 16, 2016
@jacobkiers
Copy link
Contributor

@nicodmf Thanks for finishing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants