Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error incompatibility with AbstractPostgreSQLDriver #8

Open
Shikachuu opened this issue Apr 19, 2022 · 1 comment
Open

Fatal error incompatibility with AbstractPostgreSQLDriver #8

Shikachuu opened this issue Apr 19, 2022 · 1 comment

Comments

@Shikachuu
Copy link

Description

Running the make:migration command throws a fatal error with the latest doctrine/orm.

Declaration of LapayGroup\DoctrineCockroach\Driver\CockroachDriver::getSchemaManager(Doctrine\DBAL\Connection $conn): LapayGroup\DoctrineCockroach\Schema\CockroachSchemaManager must be compatible with Doctrine\DBAL\Driver\AbstractPostgreSQLDriver::getSchemaManager(Doctrine\DBAL\Connection $conn, Doctrine\DBAL\Platforms\AbstractPlatform $platform) in /var/www/vendor/lapaygroup/doctrine-cockroachdb/src/Driver/CockroachDriver.php on line 135

Versions:

doctrine/orm: 2.11.2
doctrine/doctrine-migrations-bundle: 3.2.2
lapaygroup/doctrine-cockroachdb: 0.2.0

other symfony dependencies are pinned to 6.0.*

Possible solution

Add the missing parameter and it will magicaly work again.

@iamwildtuna
Copy link
Member

Thank you, I will fix it in February 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants