Skip to content

Compatibility issue with Twig 2.7.0+ #288

Closed
@Kocal

Description

@Kocal

Hi,

I wanted to update Twig from 2.6.2 to 2.7.0 because of a security issue:
Sélection_383

However, I'm facing a compatibility issue:
Sélection_382

Since Twig 2.7.0, they don't use class aliases anymore (e.g.: Twig_Environment) but class namespaces (e.g. Twig\Environment) directly, refs:

I tried to fork and replace class aliases by class namespaces, but it's out of my scope.
I don't have the time to do it, I don't know about your breaking changes policy, I don't know if I should update the .travis.yml to use a specific version of Twig... 😕

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions