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

Deprecate TwigCollector and friends #425

Merged
merged 3 commits into from Oct 9, 2019
Merged

Conversation

leomoty
Copy link
Contributor

@leomoty leomoty commented Oct 9, 2019

The reasoning behind this merge is to get rid of the TwigCollector, which seems to work only for twig/twig <2.

Since there is an alternative TwigProfileCollector which seems to work throughout v1 and v2 of Twig, I have updated the demo to use that instead.

And also cleaned the bridge documentation to reflect the now absent TwigCollector.

This fixes #423. WDYT @barryvdh?

@barryvdh
Copy link
Collaborator

barryvdh commented Oct 9, 2019

We can't actually remove it, only deprecate it, without breaking BC.

@leomoty
Copy link
Contributor Author

leomoty commented Oct 9, 2019

oh ops, should add @deprecated to the classes then?

@leomoty
Copy link
Contributor Author

leomoty commented Oct 9, 2019

@barryvdh updated, PTAL.

@leomoty leomoty changed the title Removes TwigCollector Deprecate TwigCollector and friends Oct 9, 2019
@barryvdh barryvdh merged commit ade2a1a into maximebf:master Oct 9, 2019
@leomoty leomoty deleted the twig branch October 9, 2019 19:44
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.

Update twig usings
2 participants