Skip to content

[TwigBridge] Fix deprecation on twig 2.9 #31281

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 1 commit into from
Apr 27, 2019

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Apr 26, 2019

Q A
Branch? 3.4
Bug fix? yes$
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

should make travis green

@chalasr chalasr force-pushed the twigbridge-leavenode branch from 4c6e90a to ac8256b Compare April 26, 2019 22:25
@ro0NL
Copy link
Contributor

ro0NL commented Apr 27, 2019

seeing https://github.com/twigphp/Twig/blob/2e68b5fdc4b57860241528b4961cbbb5d3c7a917/src/NodeVisitor/NodeVisitorInterface.php#L34 was a bit confusing, it includes the deprecated type (false) still right?

edit: oh it's fixed in the 3.x branch 🤔

Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

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

with the tiny suggestion made by @ro0NL (looks like it doesn't matter for 1.40 as the deprecation is not part of the 1.x branch)

@nicolas-grekas
Copy link
Member

Thank you @chalasr.

@nicolas-grekas nicolas-grekas merged commit ac8256b into symfony:3.4 Apr 27, 2019
nicolas-grekas added a commit that referenced this pull request Apr 27, 2019
This PR was merged into the 3.4 branch.

Discussion
----------

[TwigBridge] Fix deprecation on twig 2.9

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes$
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

should make travis green

Commits
-------

ac8256b [TwigBridge] Fix deprecation on twig 2.9
@chalasr chalasr deleted the twigbridge-leavenode branch April 27, 2019 10:06
fabpot added a commit that referenced this pull request Apr 28, 2019
This PR was merged into the 3.4 branch.

Discussion
----------

[TwigBridge] Require Twig ^1.40|^2.9

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | n/a
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Reverts #31281

Commits
-------

0e29e39 [TwigBridge] Require twig ^1.40|^2.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants