Problem/Motivation

.gitlab-ci.yml still runs composer require "twig/twig:<3.30" --no-update. It was a temporary CI fix (#3625759, #3625607): Twig 3.30.0 made every page render a fatal TypeError in Drupal core.

Core fixed that in #3625969: Twig's 3.30 TypeError: Twig\Runtime\EscaperRuntime::escape(): Argument #4 ($autoescape) must be of type bool, null given, released in 11.4.8, 11.3.18 and 10.6.18, so every supported core line has it. The pin is no longer needed.

Steps to reproduce

Checked on 10 October 2026: a fresh Drupal CMS build of Varbase Starter on core 11.4.8 with twig/twig 3.30.0 and no pin installs with drush and renders the public and admin pages (200, no logged errors).

Proposed resolution

Remove the pin from .gitlab-ci.yml, with one MR per branch:

  • 10.1.x
  • 9.2.x

Until vardot/drupal-core-patches drops the #3465033 patch for core 11.4.9 (being released now), pipelines that resolve core 11.4.9 fail at patching. That is unrelated to this change.

Remaining tasks

  • ✅ File an issue
  • ❌ Addition/Change/Update/Fix
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support
  • ➖ User Guide Documentation support
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Reviewed by a human
  • ❌ Code review by maintainers
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes
  • ❌ Release

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A

AI-Generated: Yes

Command icon Show commands

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

rajab natshah created an issue. See original summary.

  • rajab natshah committed e79758a7 on 10.1.x
    task: #3629805 Remove the temporary CI-only Twig below 3.30 pin (10.1.x)
    

  • rajab natshah committed fa8bbf22 on 9.2.x
    task: #3629805 Remove the temporary CI-only Twig below 3.30 pin (9.2.x)
    
rajab natshah’s picture

Assigned: rajab natshah » Unassigned
Status: Active » Fixed

Merged !25 into 10.1.x, !26 into 9.2.x, with green pipelines.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.