Resolve deprecated methods #1287
Annotations
9 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)
|
PHP 8.1
Process completed with exit code 2.
|
PHP 8.0
The operation was canceled.
|
PHP 8.2
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.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/.
|
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/.
|