Skip to content

Fatal error incompatibility with AbstractPostgreSQLDriver #8

@Shikachuu

Description

@Shikachuu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions