Closed GromNaN closed 1 year ago
This was done in https://github.com/KnpLabs/KnpTimeBundle/pull/141 but reverted in https://github.com/KnpLabs/KnpTimeBundle/pull/172 because of https://github.com/KnpLabs/KnpTimeBundle/issues/171.
The twig extension is also depending on a twig class, but that's not an issue with symfony/twig-bundle
as a dev dependency.
I know... not sure why it was reverted.
I'm thinking that we merge this, #178 and #177 and do a 2.0 release. Then it's no worries either way.
Done now in #178 :)
symfony/templating
is already an optional dependency. There's no reason to force its installation when evensymfony/twig-bundle
isn't required.https://github.com/KnpLabs/KnpTimeBundle/blob/db453621e84ef0b73905d98ff4bd21a1c8396101/src/DependencyInjection/KnpTimeExtension.php#L23-L25
This component might be deprecated https://github.com/symfony/symfony/pull/51144