Skip to content

Fix setTablePrefix() #3419

Fix setTablePrefix()

Fix setTablePrefix() #3419

Triggered via push January 30, 2024 04:10
Status Failure
Total duration 7m 24s
Artifacts

static.yml

on: push
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

21 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)
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/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)
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
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)
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/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)