Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296544

Prepare Twig 2.0.0 update (while supporting Twig 1.x if possible)

$
0
0

Problem/Motivation

Twig 2.0 has been released.
Twig 2 requires PHP 7. Drupal 8 will support PHP 5.6 until at least early 2019 (Drupal 8.7 or higher). #2842431: [policy] Remove PHP 5.5, 5.6 support in Drupal 8.7

Proposed resolution

Update it.
Create a abstraction layer for twig 1 and 2.
Revert changes to composer.lock and update twig to ~1.3

Remaining tasks

  • Make patch to change version string in core/composer.json to ^1.23.1|^2
  • Review
  • Commit

User interface changes

n/a

API changes

Should be none.

Data model changes

n/a


Viewing all articles
Browse latest Browse all 296544

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>