Skip to content

Upgrade PHP to support 8.2 and 8.3 only; Remove CaptainHook #267

Upgrade PHP to support 8.2 and 8.3 only; Remove CaptainHook

Upgrade PHP to support 8.2 and 8.3 only; Remove CaptainHook #267

Triggered via pull request March 31, 2024 22:09
Status Failure
Total duration 25s
Artifacts

psalm.yml

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

Annotations

63 errors and 6 warnings
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: Type non-empty-string for $message is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/Key/SharedKey.php#L49
src/Key/SharedKey.php:49: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/Key/SharedKey.php#L92
src/Key/SharedKey.php:92: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)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: Type non-empty-string for $encryptionKey is never false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: Type non-empty-string for $authenticationKey is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/SplitToken.php#L82
src/SplitToken.php:82: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/SplitToken.php#L114
src/SplitToken.php:114: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)
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: Type non-empty-string for $message is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/Key/SharedKey.php#L49
src/Key/SharedKey.php:49: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/Key/SharedKey.php#L92
src/Key/SharedKey.php:92: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)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: Type non-empty-string for $encryptionKey is never false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: Type non-empty-string for $authenticationKey is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/SplitToken.php#L82
src/SplitToken.php:82: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/SplitToken.php#L114
src/SplitToken.php:114: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)
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: Type non-empty-string for $message is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/Key/SharedKey.php#L49
src/Key/SharedKey.php:49: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/Key/SharedKey.php#L92
src/Key/SharedKey.php:92: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)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: Type non-empty-string for $encryptionKey is never false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: Type non-empty-string for $authenticationKey is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/SplitToken.php#L82
src/SplitToken.php:82: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/SplitToken.php#L114
src/SplitToken.php:114: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)
P8.2 - prefer-lowest
The job was canceled because "_8_1_prefer-lowest" failed.
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: Type non-empty-string for $message is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/Key/SharedKey.php#L49
src/Key/SharedKey.php:49: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/Key/SharedKey.php#L92
src/Key/SharedKey.php:92: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)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: Type non-empty-string for $encryptionKey is never false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: Type non-empty-string for $authenticationKey is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/SplitToken.php#L82
src/SplitToken.php:82: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/SplitToken.php#L114
src/SplitToken.php:114: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)
P8.3 - prefer-stable
The job was canceled because "_8_1_prefer-lowest" failed.
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: Type non-empty-string for $message is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/Key/SharedKey.php#L49
src/Key/SharedKey.php:49: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/Key/SharedKey.php#L92
src/Key/SharedKey.php:92: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)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: Type non-empty-string for $encryptionKey is never false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: Type non-empty-string for $authenticationKey is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/SplitToken.php#L82
src/SplitToken.php:82: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/SplitToken.php#L114
src/SplitToken.php:114: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)
P8.3 - prefer-lowest
The job was canceled because "_8_1_prefer-lowest" failed.
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Crypt.php#L176
src/Crypt.php:176:13: TypeDoesNotContainType: Type non-empty-string for $message is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/Key/SharedKey.php#L49
src/Key/SharedKey.php:49: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/Key/SharedKey.php#L92
src/Key/SharedKey.php:92: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)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L102
src/Key/SharedKey.php:102:13: TypeDoesNotContainType: Type non-empty-string for $encryptionKey is never false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: string does not contain false (see https://psalm.dev/056)
TypeDoesNotContainType: src/Key/SharedKey.php#L108
src/Key/SharedKey.php:108:13: TypeDoesNotContainType: Type non-empty-string for $authenticationKey is never false (see https://psalm.dev/056)
RiskyTruthyFalsyComparison: src/SplitToken.php#L82
src/SplitToken.php:82: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/SplitToken.php#L114
src/SplitToken.php:114: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)
P8.1 - prefer-lowest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
P8.1 - prefer-lowest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
P8.1 - prefer-stable
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
P8.1 - prefer-stable
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
P8.2 - prefer-stable
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
P8.2 - prefer-stable
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/