Skip to content

Fix super-linter

Fix super-linter #87

Triggered via push February 20, 2024 22:41
Status Success
Total duration 2m 44s
Artifacts

php.yml

on: push
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
17s
Code coverage
Cleanup artifacts
5s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

4 errors
PossiblyUndefinedArrayOffset: src/Auth/Source/Hash.php#L100
src/Auth/Source/Hash.php:100:43: PossiblyUndefinedArrayOffset: Possibly undefined array key $matches[1] on list{0: string, 1?: string} (see https://psalm.dev/167)
RiskyTruthyFalsyComparison: src/Auth/Source/Htpasswd.php#L56
src/Auth/Source/Htpasswd.php:56:13: RiskyTruthyFalsyComparison: Operand of type false|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)
PossiblyUndefinedArrayOffset: src/Auth/Source/Htpasswd.php#L94
src/Auth/Source/Htpasswd.php:94:28: PossiblyUndefinedArrayOffset: Possibly undefined array key $matches[1] on list{0: string, 1?: string} (see https://psalm.dev/167)
Quality control
Process completed with exit code 2.