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

Fixed LoaderInterface implementation for compatibility with symfony master #155

Merged
merged 1 commit into from
Dec 6, 2011
Merged

Fixed LoaderInterface implementation for compatibility with symfony master #155

merged 1 commit into from
Dec 6, 2011

Conversation

jalliot
Copy link
Contributor

@jalliot jalliot commented Dec 5, 2011

No description provided.

@lsmith77
Copy link
Member

lsmith77 commented Dec 5, 2011

is this backwards compatible?

@stof
Copy link
Member

stof commented Dec 5, 2011

I don't think so because the typehint is not the same.

@jalliot
Copy link
Contributor Author

jalliot commented Dec 5, 2011

Well it should be as LoaderResolver implements LoaderResolverInterface...
Anyway, without this change, the loader is broken because it is incompatible with the interface from upstream.

@stof
Copy link
Member

stof commented Dec 5, 2011

and wit this change, I think you have the same error in Symfony 2.0 (but the opposit for servoces)

@lsmith77
Copy link
Member

lsmith77 commented Dec 5, 2011

ok .. guess i need to create a 2.0 branch then ..

@jmikola
Copy link
Member

jmikola commented Dec 5, 2011

Cross-reference here: symfony/symfony#2785

You may wish to wait and see if that PR will ultimately go to 2.0 or master. But if it does go to master, it probably makes sense to have a 2.0 branch in this bundle w/o the interface change.

@jonathaningram
Copy link
Contributor

Yes just to confirm this issue has broken with symfony master rendering our app unusable since there are no tags to fall back to.

@lsmith77
Copy link
Member

lsmith77 commented Dec 6, 2011

@lsmith77 lsmith77 merged this pull request into FriendsOfSymfony:master Dec 6, 2011
fabpot added a commit to symfony/symfony that referenced this pull request Dec 7, 2011
Commits
-------

ea2b0e5 Note LoaderResolverInterface type hinting in the 2.1 changelog

Discussion
----------

Note LoaderResolverInterface type hinting in the 2.1 changelog

Although #2785 was originally opened against 2.0, its merge to master seems to be intentional. This documents the BC break that some experienced (see: FriendsOfSymfony/FOSRestBundle#155).
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

5 participants