Twig icon indicating copy to clipboard operation
Twig copied to clipboard

Issue #3828: Add sequence and mapping tests

Open pdureau opened this issue 2 years ago • 3 comments

Add sequence and mapping tests from Jinja.

pdureau avatar Jul 20 '23 08:07 pdureau

Not 100% sure but I believe the fails reported by https://fabbot.io/report/twigphp/Twig/3859/508bc72c99bea1bfb69284610aaa154a3abeaf9a doesn't come from the code I have changed.

pdureau avatar Oct 07 '23 18:10 pdureau

+1 for this feature. Working on a Drupal site and this causes issues for rendering lists.

smustgrave avatar Jan 26 '24 16:01 smustgrave

I have rebased my work with current 3.x branch, so my MR has changed.

pdureau avatar Mar 29 '24 16:03 pdureau

Hello all, my PR is ready for review.

pdureau avatar Jun 08 '24 20:06 pdureau

fabbot suggests some changes that should be address: https://fabbot.io/report/twigphp/Twig/3859/5629adca007fc77574def9d5a309f713a95610ce

xabbuh avatar Jun 10 '24 06:06 xabbuh

Like last time, the 2 feedbacks from fabbot are not related to the code I have added or changed. Could a human do the review?

pdureau avatar Jun 11 '24 11:06 pdureau

@fabpot Can you approve the workflow so that all jobs on GHA are triggered as well?

xabbuh avatar Jun 11 '24 12:06 xabbuh

thanks you @xabbuh I have added a new commit with:

  • Missing blank lines before comments
  • array_is_list() is not always part of the global namespace

pdureau avatar Jun 11 '24 13:06 pdureau

@fabpot Can you approve the workflow so that all jobs on GHA are triggered as well?

Done

fabpot avatar Jun 11 '24 15:06 fabpot

@pdureau We're almost there! Thank you for your patience and your hard work here. The last step before being able to merge (now that the names won't change anymore) is to add a note in CHANGELOG and documentation under doc/.

fabpot avatar Jun 17 '24 11:06 fabpot

@fabpot thanks for your message. I added a commit with a note in CHANGELOG and documentation under doc/. Very simple and straightforward, maybe too simple.

https://github.com/twigphp/Twig/pull/3859/commits/5c27e1a95d232014ceab651532df768ca38d77de

pdureau avatar Jun 20 '24 21:06 pdureau

Thank you @pdureau.

fabpot avatar Jun 22 '24 17:06 fabpot