Skip to content

[Extended] Add symfony 3.0 support #374

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

Merged
merged 15 commits into from
Jan 13, 2016
Merged

[Extended] Add symfony 3.0 support #374

merged 15 commits into from
Jan 13, 2016

Conversation

GuilhemN
Copy link
Member

@GuilhemN GuilhemN commented Jan 1, 2016

This PR is based on #371 and only fixes the tests.
Happy new year!

Closes #371
Closes #366

@GuilhemN
Copy link
Member Author

GuilhemN commented Jan 2, 2016

@stof @willdurand can you take a look at this please?

ping @luispabon

@Spomky
Copy link

Spomky commented Jan 2, 2016

Looks good to be except that composer.json now requires @dev version of oauth2-php.
@alanbem what do you think?

@GuilhemN
Copy link
Member Author

GuilhemN commented Jan 2, 2016

@Spomky this can be reverted once a new version of oauth2-php is released (only master is compatible with symfony 3 actually)

$this->request->query->all()
));
try {
$request = $this->container->get('request_stack')->getCurrentRequest();
Copy link
Member

Choose a reason for hiding this comment

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

Request stack is not available in 2.3

Copy link
Member

Choose a reason for hiding this comment

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

And I failed to read 2 lines down.

Choose a reason for hiding this comment

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

👍

@merk
Copy link
Member

merk commented Jan 3, 2016

Once there is a stable release of oauth2-php that can be depended upon, 👍

@luispabon
Copy link

Definitely need oauth2-php released, depending on dev is iffy at best.

@GuilhemN
Copy link
Member Author

GuilhemN commented Jan 5, 2016

@luispabon moreover the bundle won't be completely compatible with sf 3 except if the final user also uses the dev version of oauth2-php...

@luispabon
Copy link

Yes, indeed. I wonder why a new release hasn't been cut yet.

"friendsofsymfony/oauth2-php": "~1.1.0",
"symfony/framework-bundle": "~2.2",
"symfony/security-bundle": "~2.1"
"friendsofsymfony/oauth2-php": "~1.1",

Choose a reason for hiding this comment

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

@Ener-Getick seems like you already released oauth2-php 1.2 compatible with symfony/http-foundation 3?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I'm just updating several part of the code to not introduce BC breaks.

@GuilhemN
Copy link
Member Author

I'll create 1.5.0-beta1 to be sure everything is working as expected.
Feedbacks are welcome 😄

@luispabon
Copy link

👍

You joined FOS then?

@GuilhemN
Copy link
Member Author

@luispabon
Copy link

Awesome 👍

@GuilhemN
Copy link
Member Author

Any idea why travis doesn't launch the builds?

@luispabon
Copy link

It does, but it takes quite some time for them to clear through the queue. Travis could do with a little more capacity.

@GuilhemN
Copy link
Member Author

Ah yeah just when I post a message they are launched ^^

@j0k3r
Copy link
Contributor

j0k3r commented Jan 13, 2016

@GuilhemN
Copy link
Member Author

@j0k3r ah right thanks! I'll disable sudo

GuilhemN added a commit that referenced this pull request Jan 13, 2016
[Extended] Add symfony 3.0 support
@GuilhemN GuilhemN merged commit 5fece85 into FriendsOfSymfony:master Jan 13, 2016
@GuilhemN GuilhemN deleted the SF3 branch January 13, 2016 19:41
@GuilhemN
Copy link
Member Author

The build failure is related to https://www.traviscistatus.com/incidents/pfcclfpffppn so I merge this PR.

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.

Make it compatible with Symfony 3.0
6 participants