Transparent* database sharding #46882
Annotations
10 errors
lib/private/DB/Connection.php#L133
lib/private/DB/Connection.php:133:35: InvalidArrayOffset: Cannot access value on variable $this->params using offset value of 'shard_connection_manager', expecting 'application_name', 'charset', 'dbname', 'defaultTableOptions', 'default_dbname', 'driver', 'driverClass', 'driverOptions', 'host', 'keepSlave', 'keepReplica', 'master', 'memory', 'password', 'path', 'persistent', 'platform', 'port', 'primary', 'replica', 'serverVersion', 'sharding', 'slaves', 'url', 'user', 'wrapperClass' or 'unix_socket' (see https://psalm.dev/115)
|
lib/private/DB/Connection.php#L134
lib/private/DB/Connection.php:134:33: InvalidArrayOffset: Cannot access value on variable $this->params using offset value of 'auto_increment_handler', expecting 'application_name', 'charset', 'dbname', 'defaultTableOptions', 'default_dbname', 'driver', 'driverClass', 'driverOptions', 'host', 'keepSlave', 'keepReplica', 'master', 'memory', 'password', 'path', 'persistent', 'platform', 'port', 'primary', 'replica', 'serverVersion', 'sharding', 'slaves', 'url', 'user', 'wrapperClass', 'unix_socket' or 'shard_connection_manager' (see https://psalm.dev/115)
|
lib/private/DB/Connection.php#L157
lib/private/DB/Connection.php:157:39: ReservedWord: Parameter cannot be never (see https://psalm.dev/095)
|
lib/private/DB/QueryBuilder/Partitioned/PartitionedQueryBuilder.php#L152
lib/private/DB/QueryBuilder/Partitioned/PartitionedQueryBuilder.php:152:20: InvalidPropertyAssignmentValue: $this->selects with declared type 'array<array-key, array{alias: null|string, column: string}>' cannot be assigned type 'array<array-key, array{alias: null|string, column?: string, select?: mixed}>' (see https://psalm.dev/145)
|
lib/private/DB/QueryBuilder/Partitioned/PartitionedQueryBuilder.php#L157
lib/private/DB/QueryBuilder/Partitioned/PartitionedQueryBuilder.php:157:3: InvalidPropertyAssignmentValue: $this->selects with declared type 'array<array-key, array{alias: null|string, column: string}>' cannot be assigned type 'non-empty-array<array-key, array{alias: null|string, column?: string, select?: mixed}>' (see https://psalm.dev/145)
|
lib/private/DB/QueryBuilder/Partitioned/PartitionedQueryBuilder.php#L167
lib/private/DB/QueryBuilder/Partitioned/PartitionedQueryBuilder.php:167:8: InvalidArrayOffset: Cannot access value on variable $select using offset value of 'select', expecting 'column' or 'alias' (see https://psalm.dev/115)
|
lib/private/DB/QueryBuilder/Partitioned/PartitionedQueryBuilder.php#L182
lib/private/DB/QueryBuilder/Partitioned/PartitionedQueryBuilder.php:182:9: RedundantCondition: Type string for $select['select'] is always string (see https://psalm.dev/122)
|
lib/private/DB/QueryBuilder/Sharded/AutoIncrementHandler.php#L39
lib/private/DB/QueryBuilder/Sharded/AutoIncrementHandler.php:39:59: NullArgument: Argument 1 of get_class cannot be null, null value provided to parameter with type object (see https://psalm.dev/057)
|
lib/private/DB/QueryBuilder/Sharded/AutoIncrementHandler.php#L76
lib/private/DB/QueryBuilder/Sharded/AutoIncrementHandler.php:76:23: UndefinedInterfaceMethod: Method OCP\IMemcache::setTTL does not exist (see https://psalm.dev/181)
|
lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php#L338
lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php:338:29: UndefinedInterfaceMethod: Method OCP\DB\QueryBuilder\IQueryBuilder::prefixTableName does not exist (see https://psalm.dev/181)
|
This job failed
Loading