File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 44
55namespace Sentry \SentryBundle \Tests \End2End \App ;
66
7- use Composer \InstalledVersions ;
8- use Composer \Semver \VersionParser ;
97use Doctrine \Bundle \DoctrineBundle \DoctrineBundle ;
108use Symfony \Component \Config \Loader \LoaderInterface ;
119use Symfony \Component \DependencyInjection \ContainerBuilder ;
@@ -49,7 +47,7 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
4947 if (self ::VERSION_ID >= 50400 && self ::VERSION_ID <= 60000 ) {
5048 // Check if class for Messenger is present (component symfony/messenger is not mandatory)
5149 if (interface_exists (MessageBusInterface::class)) {
52- if (InstalledVersions:: satisfies ( new VersionParser (), ' symfony/messenger ' , ' >=5.4 ' )) {
50+ if (class_exists (\ Symfony \ Component \ Messenger \ EventListener \ResetServicesListener::class )) {
5351 $ loader ->load (__DIR__ . '/deprecations_for_54.yml ' );
5452 }
5553 }
You can’t perform that action at this time.
0 commit comments