Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Twig 3.10.2 the minimum requirement #7214

Merged
merged 8 commits into from
May 15, 2024
Merged

Conversation

leofeyer
Copy link
Member

@leofeyer leofeyer commented May 14, 2024

This pull request makes Twig 3.10.2 the minimum version and therefore does not need all the BC layers.

@contao/developers Do we want to add this to Contao 5.3 or only in Contao 5.4?

@leofeyer leofeyer added the bug label May 14, 2024
@leofeyer leofeyer added this to the 5.3 milestone May 14, 2024
@leofeyer leofeyer self-assigned this May 14, 2024
@leofeyer leofeyer requested review from ausi and fritzmg May 14, 2024 09:18
@ausi
Copy link
Member

ausi commented May 14, 2024

Do we want to add this to Contao 5.3

Yes.

Copy link
Member

@ausi ausi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One change, rest LGTM!

core-bundle/src/Twig/Extension/ContaoExtension.php Outdated Show resolved Hide resolved
@leofeyer leofeyer requested review from ausi and m-vo May 15, 2024 10:56
Copy link
Member

@m-vo m-vo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a test testContaoUsesCorrectTwigFunctionSignatures that checks for the function signatures of the library functions. We now call the runtimes, but we still test the signature of the global functions. IMHO we should either change that or drop the test.

@leofeyer
Copy link
Member Author

Dropped in 6dea4c8.

@leofeyer leofeyer requested a review from m-vo May 15, 2024 11:14
Copy link
Member

@ausi ausi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@leofeyer leofeyer merged commit 95ac936 into contao:5.3 May 15, 2024
17 of 18 checks passed
@leofeyer leofeyer deleted the twig-3.10-alt branch May 15, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants