FriendsOfDoctrine / dbal-clickhouse

Doctrine DBAL driver for ClickHouse database
GNU General Public License v3.0
98 stars 80 forks source link

Declaration of Driver::getSchemaManager must be compatible with interface #45

Closed SamAntUA closed 10 months ago

SamAntUA commented 2 years ago

https://github.com/FriendsOfDoctrine/dbal-clickhouse/blob/820c38bef41bf508692addfe1e259bb7196d6efe/src/Driver.php#L71

Fatal error Declaration of FOD\DBALClickHouse\Driver::getSchemaManager(Doctrine\DBAL\Connection $conn) must be compatible with Doctrine\DBAL\Driver::getSchemaManager( Doctrine\DBAL\Connection $conn, Doctrine\DBAL\Platforms\AbstractPlatform $platform )

Since v3.0.0 of Doctrine/DBAL (JUL, 2020) AbstractPlatform became a required arg

asanikovich commented 10 months ago

Version https://github.com/FriendsOfDoctrine/dbal-clickhouse/releases/tag/v2.0.0 ready for you.