File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 7979 symfony-version : 5.*
8080 dependencies : lowest
8181 - php : ' 8.0'
82- symfony-version : 6.*
82+ symfony-version : 6.0. *
8383 dependencies : lowest
8484 - php : ' 8.2'
8585 symfony-version : 7.*
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 ;
79use Doctrine \Bundle \DoctrineBundle \DoctrineBundle ;
810use Symfony \Component \Config \Loader \LoaderInterface ;
911use Symfony \Component \DependencyInjection \ContainerBuilder ;
@@ -47,7 +49,9 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
4749 if (self ::VERSION_ID >= 50400 && self ::VERSION_ID <= 60000 ) {
4850 // Check if class for Messenger is present (component symfony/messenger is not mandatory)
4951 if (interface_exists (MessageBusInterface::class)) {
50- $ loader ->load (__DIR__ . '/deprecations_for_54.yml ' );
52+ if (InstalledVersions::satisfies (new VersionParser (), 'symfony/messenger ' , '>=5.4 ' )) {
53+ $ loader ->load (__DIR__ . '/deprecations_for_54.yml ' );
54+ }
5155 }
5256 }
5357
You can’t perform that action at this time.
0 commit comments