The 3.0 build is broken with doctrine/dbal 4 #7007

Closed
opened 2026-01-22 15:43:00 +01:00 by admin · 1 comment
Owner

Originally created by @greg0ire on GitHub (Jul 18, 2022).

Sample error:

1) Doctrine\Tests\ORM\Cache\DefaultCollectionHydratorTest::testImplementsCollectionEntryStructure
Error: Call to a member function getConnection() on null

/home/greg/dev/doctrine-orm-split/3.0.x/tests/Doctrine/Tests/OrmFunctionalTestCase.php:1042
/home/greg/dev/doctrine-orm-split/3.0.x/tests/Doctrine/Tests/OrmFunctionalTestCase.php:990

Originally created by @greg0ire on GitHub (Jul 18, 2022). Sample error: ``` 1) Doctrine\Tests\ORM\Cache\DefaultCollectionHydratorTest::testImplementsCollectionEntryStructure Error: Call to a member function getConnection() on null /home/greg/dev/doctrine-orm-split/3.0.x/tests/Doctrine/Tests/OrmFunctionalTestCase.php:1042 /home/greg/dev/doctrine-orm-split/3.0.x/tests/Doctrine/Tests/OrmFunctionalTestCase.php:990 ```
admin closed this issue 2026-01-22 15:43:00 +01:00
Author
Owner

@greg0ire commented on GitHub (Jul 18, 2022):

Apparently there is something that catches an exception throw in OrmFunctionalTestCase and sweeps it under the rug. The exception says: Call to undefined method Doctrine\DBAL\Platforms\SqlitePlatform::supportsCreateDropDatabase() (which was removed in #5515)

@greg0ire commented on GitHub (Jul 18, 2022): Apparently there is something that catches an exception throw in `OrmFunctionalTestCase` and sweeps it under the rug. The exception says: `Call to undefined method Doctrine\DBAL\Platforms\SqlitePlatform::supportsCreateDropDatabase()` (which was removed in #5515)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7007