Symfony version affected: 5.2.0
Description
While updating a bundle I noticed that running tests with Symfony 5.2 raised this error.
How to reproduce
If dbal is not explicitly enabled by config, DoctrineBundle's DoctrineExtension won't set doctrine.dbal.connection_factory.types. RegisterUidTypePass tries to access it anyway.
Additional context
installed dependencies
error log