twig-extra-bundle icon indicating copy to clipboard operation
twig-extra-bundle copied to clipboard

fix: Update TwigExtraExtension for Symfony 8 compatibility

Open Chris53897 opened this issue 3 weeks ago • 1 comments

There is an error if not all symfony packages are upgraded to 8.x

If i am correct if (!method_exists(ContainerBuilder::class, 'getAutoconfiguredAttributes')) { checks DependencyInjection Repo.

But after Upgrading symfony/http-kernel (v7.4.2 => v8.0.2): Extracting archive i got an error. DependencyInjection is still on 7.4.x

Chris53897 avatar Dec 12 '25 08:12 Chris53897

I just noticed https://github.com/twigphp/twig-extra-bundle/commit/09de9be7f6c0d19ede7b5a1dbfcfb2e9d1e0ea9e That works as well.

@fabpot Could you please tag a new release?

Chris53897 avatar Dec 12 '25 08:12 Chris53897

Release done.

fabpot avatar Dec 14 '25 11:12 fabpot