Logger context #3397
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)
|
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)
|
RiskyTruthyFalsyComparison:
src/QueryBuilder/AbstractDQLQueryBuilder.php#L192
src/QueryBuilder/AbstractDQLQueryBuilder.php:192:13: 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)
|
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_2" 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)
|
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)
|
RiskyTruthyFalsyComparison:
src/QueryBuilder/AbstractDQLQueryBuilder.php#L192
src/QueryBuilder/AbstractDQLQueryBuilder.php:192:13: 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)
|