8000 BC Break in Twig\Node\Expression\Test\DefinedTest · Issue #4576 · twigphp/Twig · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
BC Break in Twig\Node\Expression\Test\DefinedTest #4576
Open
@neclimdul

Description

@neclimdul

The number of people this affects is probably incredibly small but there was a BC break for some classes in 3.19. For me this triggers in \Twig\Node\Expression\Test\DefinedTest

The commit in question that caused this is: b6d9dd6

By switching to ContextVariable, if NameExpression is passed by an extension then it triggers a Syntax Exception.

This might not be a bug that needs to be fixed if that's the expected behavior going forward but it might be useful to document as a Change for extension developers.

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

      0