Fix logic (per simplesamlphp-module-sqlattribs#5) #10
php.yml
on: push
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.
|