Skip to content

Fix logic (per simplesamlphp-module-sqlattribs#5) #10

Fix logic (per simplesamlphp-module-sqlattribs#5)

Fix logic (per simplesamlphp-module-sqlattribs#5) #10

Triggered via push October 19, 2023 05:52
Status Failure
Total duration 2m 2s
Artifacts

php.yml

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

Annotations

6 errors
PossiblyUndefinedArrayOffset: src/Auth/Process/GenerateUniqueId.php#L210
src/Auth/Process/GenerateUniqueId.php:210:26: PossiblyUndefinedArrayOffset: Possibly undefined array key $scope[1] on list{0: string, 1?: string} (see https://psalm.dev/167)
PossiblyInvalidArgument: src/Auth/Process/GenerateUniqueId.php#L243
src/Auth/Process/GenerateUniqueId.php:243:48: PossiblyInvalidArgument: Argument 1 of SimpleSAML\Module\genuniqueid\Auth\Process\GenerateUniqueId::privacyHash expects string, but possibly different type array<array-key, string>|non-empty-string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Auth/Process/GenerateUniqueId.php#L246
src/Auth/Process/GenerateUniqueId.php:246:33: PossiblyInvalidArgument: Argument 1 of substr expects string, but possibly different type array<array-key, string>|string provided (see https://psalm.dev/092)
Quality control
Process completed with exit code 2.
Unit tests, PHP 8.2, ubuntu-latest
Process completed with exit code 1.
Unit tests, PHP 8.1, ubuntu-latest
Process completed with exit code 1.