Skip to content

Add StubCsrfToken

Add StubCsrfToken #376

Triggered via pull request February 7, 2024 15:16
Status Failure
Total duration 34s
Artifacts

static.yml

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

Annotations

5 errors
RiskyTruthyFalsyComparison: src/CsrfMiddleware.php#L94
src/CsrfMiddleware.php:94: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)
RiskyTruthyFalsyComparison: src/Synchronizer/SynchronizerCsrfToken.php#L38
src/Synchronizer/SynchronizerCsrfToken.php:38: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)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.0-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
psalm / PHP 7.4-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.