Repository navigation
v2.17.4
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) norTemplateWrapper::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 withfailOnDeprecation="true"withoutignoreIndirectDeprecations="true". Same
verdicts as before: an error inside a block is still ignored, a dynamicextendsthat fails is still thrown. A
regression test proves the helper triggers no deprecation.