Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix deprecations for twig 3#28

Merged
pharv merged 1 commit into
opensky:masterfrom
Blackburn29:fix_twig_deprecations
Mar 8, 2022
Merged

Fix deprecations for twig 3#28
pharv merged 1 commit into
opensky:masterfrom
Blackburn29:fix_twig_deprecations

Conversation

@Blackburn29
Copy link
Copy Markdown
Contributor

As of Twig 2.11 then Twig_Extension class was marked as deprecated and replaced with \Twig\Extension\ExtensionInterface which was causing this package to block twig3 to be installed in newer Symfony installations. (5.4 tested).

The PR addresses the issue by extending the included new AbstractExtension class, updating the use of TwigFunction and removing getName which was deprecated in Twig 1.26.

@pharv pharv merged commit 8d3a750 into opensky:master Mar 8, 2022
@Blackburn29 Blackburn29 deleted the fix_twig_deprecations branch March 9, 2022 00:13
@ccovey
Copy link
Copy Markdown
Contributor

ccovey commented Jun 30, 2022

a tag for this release would be helpful I think? Any opposition to do that?

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.

3 participants