Actualize to 7.4 #72
Annotations
10 errors and 2 warnings
RiskyTruthyFalsyComparison:
src/BotApi.php#L178
src/BotApi.php:178:28: 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/BotApi.php#L179
src/BotApi.php:179:31: 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/BotApi.php#L196
src/BotApi.php:196:13: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/BotApi.php#L266
src/BotApi.php:266: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/BotApi.php#L269
src/BotApi.php:269: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/BotApi.php#L292
src/BotApi.php:292:13: RiskyTruthyFalsyComparison: Operand of type false|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)
|
InvalidArgument:
src/BotApi.php#L297
src/BotApi.php:297:39: InvalidArgument: Argument 1 of curl_getinfo expects CurlHandle, but resource provided (see https://psalm.dev/004)
|
RiskyTruthyFalsyComparison:
src/Client.php#L168
src/Client.php:168:13: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|object 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/Client.php#L368
src/Client.php:368: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)
|
InvalidPropertyAssignmentValue:
src/Http/CurlHttpClient.php#L106
src/Http/CurlHttpClient.php:106:23: InvalidPropertyAssignmentValue: $this->curl with declared type 'resource' cannot be assigned type 'CurlHandle|false' (see https://psalm.dev/145)
|
PHP 8.1-ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP 8.1-ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|