Fix setTablePrefix() #3419
Annotations
10 errors
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
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)
|
Static analysis.:
src/QueryBuilder/AbstractDMLQueryBuilder.php#L270
src/QueryBuilder/AbstractDMLQueryBuilder.php:270:13: RiskyTruthyFalsyComparison: Operand of type Yiisoft\Db\Query\QueryInterface|array<array-key, mixed> 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)
|
The logs for this run have expired and are no longer available.
Loading