Skip to content

Resolve deprecated methods #1293

Resolve deprecated methods

Resolve deprecated methods #1293

Triggered via pull request February 1, 2024 11:14
Status Failure
Total duration 14m 53s
Artifacts

static.yml

on: pull_request
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
RiskyTruthyFalsyComparison: src/DDLQueryBuilder.php#L58
src/DDLQueryBuilder.php:58:13: RiskyTruthyFalsyComparison: Operand of type int<0, max>|null contains type int<0, max>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/DDLQueryBuilder.php#L63
src/DDLQueryBuilder.php:63:17: RiskyTruthyFalsyComparison: Operand of type int<0, max>|null contains type int<0, max>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/DDLQueryBuilder.php#L75
src/DDLQueryBuilder.php:75:13: RiskyTruthyFalsyComparison: Operand of type int<0, max>|null contains type int<0, max>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/DDLQueryBuilder.php#L116
src/DDLQueryBuilder.php:116: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/DMLQueryBuilder.php#L25
src/DMLQueryBuilder.php:25:14: RiskyTruthyFalsyComparison: Operand of type array<array-key, string>|null contains type array<array-key, string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Dsn.php#L26
src/Dsn.php:26: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)
UndefinedInterfaceMethod: src/Schema.php#L1068
src/Schema.php:1068:95: UndefinedInterfaceMethod: Method Yiisoft\Db\Schema\QuoterInterface::getRawTableName does not exist (see https://psalm.dev/181)
PHP 8.1
Process completed with exit code 2.
PHP 8.2
The operation was canceled.
PHP 8.0
The operation was canceled.
PHP 8.1
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/.
PHP 8.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/.
PHP 8.0
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/.