Skip to content

[WIP] 1.2 - Fix Twig Compiling - #93

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

LukeTowers merged 1 commit into
wip/1.2from
wip/1.2-fix-twig-patch

Conversation

@jaxwilko

@jaxwilko jaxwilko commented Jul 5, 2022

Copy link
Copy Markdown
Member

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

jaxwilko commented Jul 5, 2022

Copy link
Copy Markdown
Member Author

@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
Copy Markdown
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
Copy Markdown
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