Problem/Motivation

Are skipping the deprecation The Twig_Node::getLine method is deprecated since version 1.27 and will be removed in 2.0. Use getTemplateLine() instead.

Proposed resolution

Remove that line and fix the code

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

CommentFileSizeAuthor
#2 2959276-2.patch1.36 KBalexpott
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
FileSize
1.36 KB

Let's see what breaks.

alexpott’s picture

This was fixed in #2884675: Remove twig uses of Twig_Node::getLine to Twig_Node::getTemplateLine - but the skipped deprecation was not removed.

Berdir’s picture

Status: Needs review » Reviewed & tested by the community

Lets remove it then.

  • lauriii committed 2302f59 on 8.6.x
    Issue #2959276 by alexpott: Twig_Node::getLine() is deprecated
    
lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Double checked that there's no usages left and I can confirm that all the usages of Twig_Node::getLine() has been removed. Committed 2302f59 and pushed to 8.6.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.