Move quoter->setTablePrefix()
to AbstractPdoConnection
#3417
Annotations
20 errors
RiskyTruthyFalsyComparison:
src/Cache/SchemaCache.php#L204
src/Cache/SchemaCache.php:204:21: RiskyTruthyFalsyComparison: Operand of type false|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Cache/SchemaCache.php#L209
src/Cache/SchemaCache.php:209:13: RiskyTruthyFalsyComparison: Operand of type false|non-empty-string contains type non-empty-string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Cache/SchemaCache.php#L223
src/Cache/SchemaCache.php:223:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Driver/Pdo/AbstractPdoCommand.php#L214
src/Driver/Pdo/AbstractPdoCommand.php:214:27: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
UndefinedThisPropertyAssignment:
src/Driver/Pdo/AbstractPdoConnection.php#L203
src/Driver/Pdo/AbstractPdoConnection.php:203:9: UndefinedThisPropertyAssignment: Instance property Yiisoft\Db\Driver\Pdo\AbstractPdoConnection::$tablePrefix is not defined (see https://psalm.dev/040)
|
UndefinedInterfaceMethod:
src/Driver/Pdo/AbstractPdoConnection.php#L204
src/Driver/Pdo/AbstractPdoConnection.php:204:25: UndefinedInterfaceMethod: Method Yiisoft\Db\Schema\QuoterInterface::setTablePrefix does not exist (see https://psalm.dev/181)
|
RiskyTruthyFalsyComparison:
src/Driver/Pdo/AbstractPdoTransaction.php#L62
src/Driver/Pdo/AbstractPdoTransaction.php:62:40: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Query/BatchQueryResult.php#L144
src/Query/BatchQueryResult.php:144:17: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Query/Query.php#L703
src/Query/Query.php:703:16: RiskyTruthyFalsyComparison: Operand of type Yiisoft\Db\Expression\ExpressionInterface|array<array-key, mixed>|null|string contains types array<array-key, mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/QueryBuilder/AbstractDDLQueryBuilder.php#L162
src/QueryBuilder/AbstractDDLQueryBuilder.php:162:29: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Cache/SchemaCache.php#L204
src/Cache/SchemaCache.php:204:21: RiskyTruthyFalsyComparison: Operand of type false|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Cache/SchemaCache.php#L209
src/Cache/SchemaCache.php:209:13: RiskyTruthyFalsyComparison: Operand of type false|non-empty-string contains type non-empty-string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Cache/SchemaCache.php#L223
src/Cache/SchemaCache.php:223:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Driver/Pdo/AbstractPdoCommand.php#L214
src/Driver/Pdo/AbstractPdoCommand.php:214:27: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
UndefinedThisPropertyAssignment:
src/Driver/Pdo/AbstractPdoConnection.php#L203
src/Driver/Pdo/AbstractPdoConnection.php:203:9: UndefinedThisPropertyAssignment: Instance property Yiisoft\Db\Driver\Pdo\AbstractPdoConnection::$tablePrefix is not defined (see https://psalm.dev/040)
|
UndefinedInterfaceMethod:
src/Driver/Pdo/AbstractPdoConnection.php#L204
src/Driver/Pdo/AbstractPdoConnection.php:204:25: UndefinedInterfaceMethod: Method Yiisoft\Db\Schema\QuoterInterface::setTablePrefix does not exist (see https://psalm.dev/181)
|
RiskyTruthyFalsyComparison:
src/Driver/Pdo/AbstractPdoTransaction.php#L62
src/Driver/Pdo/AbstractPdoTransaction.php:62:40: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Query/BatchQueryResult.php#L144
src/Query/BatchQueryResult.php:144:17: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Query/Query.php#L703
src/Query/Query.php:703:16: RiskyTruthyFalsyComparison: Operand of type Yiisoft\Db\Expression\ExpressionInterface|array<array-key, mixed>|null|string contains types array<array-key, mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/QueryBuilder/AbstractDDLQueryBuilder.php#L162
src/QueryBuilder/AbstractDDLQueryBuilder.php:162:29: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|