Resolve deprecated methods #1165
Annotations
10 errors and 3 warnings
MixedArgument:
src/Schema.php#L205
src/Schema.php:205:63: MixedArgument: Argument 1 of array_change_key_case cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
|
MixedArgument:
src/Schema.php#L579
src/Schema.php:579:55: MixedArgument: Argument 1 of array_change_key_case cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
|
PHP 8.0
Process completed with exit code 2.
|
PHP 8.1
The operation was canceled.
|
RiskyTruthyFalsyComparison:
src/DDLQueryBuilder.php#L108
src/DDLQueryBuilder.php:108: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/DDLQueryBuilder.php#L109
src/DDLQueryBuilder.php:109:46: 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)
|
MixedArgument:
src/Schema.php#L205
src/Schema.php:205:63: MixedArgument: Argument 1 of array_change_key_case cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
|
MixedArgument:
src/Schema.php#L579
src/Schema.php:579:55: MixedArgument: Argument 1 of array_change_key_case cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
|
RiskyTruthyFalsyComparison:
src/Schema.php#L756
src/Schema.php:756:17: 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)
|
PHP 8.2
The operation was canceled.
|
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.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/.
|