Skip to content

v2.17.4

Choose a tag to compare

@HecFranco HecFranco released this 30 Oct 13:16
· 6 commits to main since this release
3700b1f

Release v2.17.4

Changelog

Page contract without Twig deprecations

Fixed

  • Page contract (PageContractTestCase::assertExtendsScaffoldOrUnique()): the inheritance chain no longer calls
    Twig\Environment::mergeGlobals() (deprecated since Twig 3.14) nor TemplateWrapper::unwrap() without arguments
    (deprecated since Twig 3.30). It renders the page with Twig's profiler and reads each parent from its profile, so a
    bundle can run its contract test with failOnDeprecation="true" without ignoreIndirectDeprecations="true". Same
    verdicts as before: an error inside a block is still ignored, a dynamic extends that fails is still thrown. A
    regression test proves the helper triggers no deprecation.