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

Switch the Twig integration to use non-deprecated APIs #482

Merged
merged 2 commits into from
Aug 25, 2015

Conversation

stof
Copy link
Contributor

@stof stof commented Aug 19, 2015

This makes the library compatible with Twig 2.0, and avoids deprecation warnings in 1.21+

Note that I changed the way the serialization_context function is compiled. there is no way to wrap this static function into a method of the extension. This will save a method call each time this function is used.

@soullivaneuh
Copy link
Contributor

Thanks. 👍

@schmittjoh can you merge it please?

@soullivaneuh
Copy link
Contributor

@stof I think twig/twig requirement should be bumped to 1.12.

A conflict key would be better too.

@stof
Copy link
Contributor Author

stof commented Aug 25, 2015

@soullivaneuh updated

schmittjoh added a commit that referenced this pull request Aug 25, 2015
Switch the Twig integration to use non-deprecated APIs
@schmittjoh schmittjoh merged commit 7b3d6c2 into schmittjoh:master Aug 25, 2015
@stof stof deleted the patch-1 branch August 26, 2015 11:03
@Nakard
Copy link

Nakard commented Aug 27, 2015

When can we expect this change will get tagged?

@oste
Copy link

oste commented Sep 6, 2015

@stof @schmittjoh This change causes error b/c the string is not callable. The changes in #484 work for me. Can we merge that one instead?

@INSEAD-asim
Copy link

Guys, is this already published? which version has this fix?

@stof
Copy link
Contributor Author

stof commented Sep 30, 2015

@INSEAD-asim only the dev version has it. It is not yet released

@INSEAD-asim
Copy link

@stof , Thanks for update. Any roadmap when it will release?

@stof
Copy link
Contributor Author

stof commented Sep 30, 2015

no idea. I'm not the maintainer of this project. I've been asking for a release since 3 weeks

@INSEAD-asim
Copy link

OK. no issues. I hope somebody else will reply.

@mobula9
Copy link

mobula9 commented Oct 2, 2015

@schmittjoh can you tag it please ?

@yalg
Copy link

yalg commented Oct 12, 2015

I agree for a tag please :)

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.

8 participants