Skip to content

Conversation

@mpdude
Copy link
Contributor

@mpdude mpdude commented Feb 22, 2017

This has been deprecated as of Twig 1.26, see https://github.com/twigphp/Twig/blob/v1.26.0/CHANGELOG#L7


.. note::

  Prior to Twig 1.26, your extension had to provide an additional `getName` method that
Copy link
Member

Choose a reason for hiding this comment

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

We need double backticks here for the reStructuredText format.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@xabbuh
Copy link
Member

xabbuh commented Feb 24, 2017

👍

Status: Reviewed

Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

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

👍

}
}

.. note::.. note::
Copy link
Member

Choose a reason for hiding this comment

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

You probably do not want to double the note. ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks!

@xabbuh
Copy link
Member

xabbuh commented Feb 28, 2017

Thank you @mpdude.

xabbuh added a commit that referenced this pull request Feb 28, 2017
…de, javiereguiluz) This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #7523). Discussion ---------- Twig Extension does no longer need getName() method This has been deprecated as of Twig 1.26, see https://github.com/twigphp/Twig/blob/v1.26.0/CHANGELOG#L7 Commits ------- f94fd8f Fixed a syntax issue 200683e Minor change c59a8d5 Fix .rst formatting 00f36bb Twig Extension does no longer need getName() method
@xabbuh xabbuh closed this Feb 28, 2017
@mpdude mpdude deleted the patch-1 branch February 28, 2017 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants