-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Twig] Creating new projects on PHP 7.1 not possible #39734
Comments
This sounds like a Twig bug to me. |
There was a bug (fixed now in 3.2.1), so you must explicitly require |
What do you mean by "fixed now"? I ran |
I've just tried and it installed Twig 3 and Twig extra bundle 3 as well. How did you get Twig 2 with a brand new project? |
...just for nit-picking: did you really install Twig v3 on PHP 7.1? This should not be possible, as this is not marked as compatible |
Understood now... I tried with PHP 7.4 :) |
Thanks for checking again :) Also, is there any chance to check for such bugs before merging them, or is this too complicated? |
If I had a magic trick to avoid bugs, I would sell it for a lot of money :) |
I've checked this once again, and starting a project is possible again. Thanks for your quick response and your overall great work! |
Symfony version(s) affected: 4.4 / Twig v2
Description
When bootstrapping a new project using PHP 7.1 through
composer create-project symfony/website-skeleton
, there' a incompatibility:twig/extra-bundle
is installed in v3.2.0 andtwig/twig
in v2.13.1.Building the container calls
registerUndefinedTokenParserCallback
inTwig\Extra\TwigExtraBundle\DependencyInjection\Compiler\MissingExtensionSuggestorPass
, but this method is not available in Twig v2.The text was updated successfully, but these errors were encountered: