Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[TwigBridge] removed Twig null nodes (deprecated as of Twig 1.25)#19983

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:2.7fromfabpot:twig-null-nodes-removal
Sep 19, 2016

Conversation

@fabpot
Copy link
Member

QA
Branch?2.7
Bug fix?yes (more about removing deprecation notices from newer versions of Twig)
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsn/a (seetwigphp/Twig#2123)
LicenseMIT
Doc PRn/a

@fabpotfabpot merged commit12350c2 intosymfony:2.7Sep 19, 2016
fabpot added a commit that referenced this pull requestSep 19, 2016
…g 1.25) (fabpot)This PR was merged into the 2.7 branch.Discussion----------[TwigBridge] removed Twig null nodes (deprecated as of Twig 1.25)| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes (more about removing deprecation notices from newer versions of Twig)| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | n/a (seetwigphp/Twig#2123)| License       | MIT| Doc PR        | n/aCommits-------12350c2 [TwigBridge] removed Twig null nodes (deprecated as of Twig 1.25)
@fabpotfabpot deleted the twig-null-nodes-removal branchSeptember 21, 2016 21:18
This was referencedOct 3, 2016
arthens added a commit to arthens/safe-translations that referenced this pull requestOct 28, 2016
The current implementation of the parser relies on being able to callnode.getNode(...) for null node too. However, null nodes are deprecatedas of Twig 1.25 and twig-bridge throws an exception when trying to reada null node, seesymfony/symfony#19983This change fixes the problem by checking if the node exits beforegetting it
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp