File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/LiveComponent/tests/Fixtures Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1313
1414use Composer \InstalledVersions ;
1515use Doctrine \Bundle \DoctrineBundle \DoctrineBundle ;
16- use Doctrine \ORM \Mapping \AssociationMapping ;
1716use Psr \Log \NullLogger ;
1817use Symfony \Bundle \FrameworkBundle \FrameworkBundle ;
1918use Symfony \Bundle \FrameworkBundle \Kernel \MicroKernelTrait ;
@@ -81,7 +80,7 @@ public function registerBundles(): iterable
8180 protected function build (ContainerBuilder $ container ): void
8281 {
8382 // workaround https://github.com/symfony/symfony/issues/50322
84- $ container ->addCompilerPass (new class () implements CompilerPassInterface {
83+ $ container ->addCompilerPass (new class implements CompilerPassInterface {
8584 public function process (ContainerBuilder $ container ): void
8685 {
8786 $ container ->removeDefinition ('doctrine.orm.listeners.pdo_session_handler_schema_listener ' );
@@ -206,6 +205,7 @@ protected function configureContainer(ContainerConfigurator $c): void
206205 $ doctrineConfig ['orm ' ]['validate_xml_mapping ' ] = true ;
207206 $ doctrineConfig ['dbal ' ]['schema_manager_factory ' ] = 'doctrine.dbal.default_schema_manager_factory ' ;
208207
208+ // https://github.com/doctrine/DoctrineBundle/pull/1962
209209 if (version_compare ($ doctrineBundleVersion , '3.0.0 ' , '< ' )) {
210210 $ doctrineConfig ['orm ' ]['report_fields_where_declared ' ] = true ;
211211 }
You can’t perform that action at this time.
0 commit comments