Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
DO NOT COMMIT
Until #3031639: [PP-1] Relax composer.json requirements to allow Drupal 8 to be installed with Twig 2 and #2976407: Use drupalci.yml for composer dependency min/max testing - DO NOT COMMIT are resolved, we don't have automated testing to ensure that Drupal 8 keeps being compatible with Twig 2. This issue can be retested to do regression testing in the meantime.
Proposed resolution
Run manually as needed. Automate it in the respective issues mentioned above :)
Remaining tasks
Run manually as needed. Automate it in the respective issues mentioned above :)
User interface changes
None.
API changes
None. Drupal 8 is already Twig 2 compatible.
Data model changes
None.
Release notes snippet
N/A.
Comment | File | Size | Author |
---|---|---|---|
#20 | 3032695-13.patch | 2.31 KB | Gábor Hojtsy |
#13 | 3032695-13.patch | 2.31 KB | jibran |
#2 | 3032695.patch | 2.46 KB | Gábor Hojtsy |
Comments
Comment #2
Gábor HojtsyComment #3
jibranOr we can set it RTBC and bot can pick it up automatically.
Comment #4
Gábor HojtsyThat is not a bad idea :D
Comment #5
Gábor HojtsyComment #6
catchCan we recategorize as a support request to make this easier to filter out of the RTBC list?
Comment #7
Gábor HojtsyYeah it does not matter as long as the RTBC retesting happens either way I guess :)
Comment #9
jibranComment #11
jibranComment #13
jibranI think we can do this now in 8.8.x because it is same as #3008870: Drop support for PHPUnit 4.8 once PHP 5 is no longer supported (8.8.x).
Comment #14
jibranFrom https://groups.drupal.org/node/518200:
Comment #16
jibranAfter discussing with @Gábor Hojtsy reverting back the issue:
Comment #17
jibranComment #18
Gábor HojtsyCreated #3041076: Update Drupal 9 to Twig 2, postponing on that now. Since the goal of this issue to serve as a test to prove it works, and it does not work, we should resolve that it does not work and then come back to continue run this.
Comment #20
Gábor HojtsyLet's get the testing going on this again. Uploading @jibran's #13 again.
Comment #21
Gábor HojtsyActually closing in favour of #3041076: Update Drupal 9 to Twig 2 which not only updates twig but also fixes the test fails this issue would introduce. Now in Drupal 9 they need to be done at once, so the separation of the two issues don't make sense anymore AFAIS. Will move credits over. Restoring title to avoid confusion later.