Skip to content

Comments

[WIP] 1.2 - Fix Twig Compiling#93

Merged
LukeTowers merged 1 commit intowip/1.2from
wip/1.2-fix-twig-patch
Jul 5, 2022
Merged

[WIP] 1.2 - Fix Twig Compiling#93
LukeTowers merged 1 commit intowip/1.2from
wip/1.2-fix-twig-patch

Conversation

@jaxwilko
Copy link
Member

@jaxwilko jaxwilko commented Jul 5, 2022

The PR adds a hack that fixes an exception thrown during twig rendering.

This is not the proper fix, the proper fix is: twigphp/Twig#3719

This should be removed once @bennothommo's PR is merged.

@jaxwilko
Copy link
Member Author

jaxwilko commented Jul 5, 2022

@mjauvin could you see if this fixes the issue for you? It's only a temporary solution but it's better than nothing :)

@jaxwilko jaxwilko marked this pull request as ready for review July 5, 2022 02:54
@jaxwilko jaxwilko requested a review from LukeTowers July 5, 2022 02:54
@LukeTowers LukeTowers modified the milestones: v1.1.9, v1.2.0 Jul 5, 2022
@LukeTowers LukeTowers merged commit 1b866f0 into wip/1.2 Jul 5, 2022
@LukeTowers LukeTowers deleted the wip/1.2-fix-twig-patch branch July 5, 2022 08:23
@bennothommo

This comment was marked as outdated.

@LukeTowers
Copy link
Member

@bennothommo while I'd somewhat prefer using concrete classes over facades in general to some extent that isn't a fully workable solution for all our users given that they could very easily have been using their own functions defined from facades, so the underlying issue would still not be fixed.

@bennothommo
Copy link
Member

Fair call. It's a moot point now anyway, as it looks like it's being fixed at the PHP lang level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants