Refactor DDLQueryBuilder::getColumnDefinition()
#1321
Annotations
10 errors and 1 warning
Static analysis.:
src/DDLQueryBuilder.php#L57
src/DDLQueryBuilder.php:57:16: 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/DDLQueryBuilder.php#L88
src/DDLQueryBuilder.php:88: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/DDLQueryBuilder.php#L179
src/DDLQueryBuilder.php:179: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/DMLQueryBuilder.php#L82
src/DMLQueryBuilder.php:82:13: RiskyTruthyFalsyComparison: Operand of type array<array-key, Yiisoft\Db\Expression\Expression|mixed>|false contains type array<array-key, Yiisoft\Db\Expression\Expression|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/DMLQueryBuilder.php#L110
src/DMLQueryBuilder.php:110: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)
|
Static analysis.:
src/Schema.php#L164
src/Schema.php:164:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Static analysis.:
src/Schema.php#L532
src/Schema.php:532:17: 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/Schema.php#L578
src/Schema.php:578:14: 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/Schema.php#L930
src/Schema.php:930:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Static analysis.
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading