Add support for doctrine/dbal v4.0 #1096
Annotations
4 errors and 3 warnings
TooManyArguments:
src/Tracing/Doctrine/DBAL/TracingDriverForV4.php#L35
src/Tracing/Doctrine/DBAL/TracingDriverForV4.php:35:9: TooManyArguments: Too many arguments for Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware::__construct - expecting 0 but saw 1 (see https://psalm.dev/026)
|
MoreSpecificImplementedParamType:
src/Tracing/Doctrine/DBAL/TracingDriverForV4.php#L45
src/Tracing/Doctrine/DBAL/TracingDriverForV4.php:45:35: MoreSpecificImplementedParamType: Argument 1 of Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverForV4::connect has the more specific type 'array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array<array-key, mixed>, host?: string, keepReplica?: bool, memory?: bool, password?: string, path?: string, persistent?: bool, port?: int, primary?: array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array<array-key, mixed>, host?: string, memory?: bool, password?: string, path?: string, persistent?: bool, port?: int, serverVersion?: string, sessionMode?: int, unix_socket?: string, user?: string, wrapperClass?: class-string<Doctrine\DBAL\Connection>}, replica?: array<array-key, array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array<array-key, mixed>, host?: string, memory?: bool, password?: string, path?: string, persistent?: bool, port?: int, serverVersion?: string, sessionMode?: int, unix_socket?: string, user?: string, wrapperClass?: class-string<Doctrine\DBAL\Connection>}>, serverVersion?: string, sessionMode?: int, unix_socket?: string, user?: string, wrapperClass?: class-string<Doctrine\DBAL\Connection>}', expecting 'array<array-key, mixed>' as defined by Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware::connect (see https://psalm.dev/140)
|
TooManyArguments:
src/Tracing/Doctrine/DBAL/TracingDriverForV4.php#L48
src/Tracing/Doctrine/DBAL/TracingDriverForV4.php:48:28: TooManyArguments: Too many arguments for Doctrine\DBAL\Connection\StaticServerVersionProvider::__construct - expecting 0 but saw 1 (see https://psalm.dev/026)
|
Psalm
Process completed with exit code 2.
|
Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP-CS-Fixer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|