Closed (duplicate)
Project:
Drupal core
Version:
main
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2026 at 22:14 UTC
Updated:
24 Nov 2026 at 15:03 UTC
Jump to comment: Most recent
In Twig 3.31.0, an optional boolean $check parameter has been annotated to be added to Twig\Loader\FilesystemLoader::addPath in the next major. Drupal\Core\Template\Loader\FilesystemLoader::addPath needs to be updated to match (or a deprecation ignore added), because otherwise contrib projects can fail in CI, since while core is on Twig 3.30.0, core-recommended does not pin Twig to a minor version.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
phenaproximaThis updates Twig as well, so that the reason for the new parameter is clear. But if that's a scope overstep, obviously I can roll that piece back.
Comment #5
xjmI missed this and was making #3641267: Update Twig for Nov. 24 release but yeah, we will probably need both.
Comment #6
xjmSince the other issue already has multiple MRs, we'll fold this in over there.
Comment #7
xjm