Update simplesamlphp/simplesamlphp-test-framework requirement #116
php.yml
on: push
Annotations
16 errors
ArgumentTypeCoercion:
src/Controller/DiscoPower.php#L64
src/Controller/DiscoPower.php:64:48: ArgumentTypeCoercion: Argument 2 of preg_match expects string, but parent type null|scalar provided (see https://psalm.dev/193)
|
PossiblyNullArgument:
src/Controller/DiscoPower.php#L64
src/Controller/DiscoPower.php:64:48: PossiblyNullArgument: Argument 2 of preg_match cannot be null, possibly null value provided (see https://psalm.dev/078)
|
ArgumentTypeCoercion:
src/Controller/DiscoPower.php#L67
src/Controller/DiscoPower.php:67:36: ArgumentTypeCoercion: Argument 1 of Symfony\Component\HttpFoundation\JsonResponse::setCallback expects null|string, but parent type null|scalar provided (see https://psalm.dev/193)
|
PossiblyInvalidArgument:
src/PowerIdPDisco.php#L238
src/PowerIdPDisco.php:238:41: PossiblyInvalidArgument: Argument 1 of parse_url expects string, but possibly different type non-empty-array<int|non-empty-string, array<int|non-empty-string, mixed>|string>|string provided (see https://psalm.dev/092)
|
RiskyTruthyFalsyComparison:
src/PowerIdPDisco.php#L315
src/PowerIdPDisco.php:315:18: 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)
|
RedundantCast:
src/PowerIdPDisco.php#L392
src/PowerIdPDisco.php:392:16: RedundantCast: Redundant cast to string (see https://psalm.dev/262)
|
DocblockTypeContradiction:
src/PowerIdPDisco.php#L396
src/PowerIdPDisco.php:396:17: DocblockTypeContradiction: string does not contain false (see https://psalm.dev/155)
|
PossiblyUndefinedArrayOffset:
src/PowerIdPDisco.php#L440
src/PowerIdPDisco.php:440:26: PossiblyUndefinedArrayOffset: Possibly undefined array key $tmp[1] on list{0: string, 1?: string} (see https://psalm.dev/167)
|
Quality control
Process completed with exit code 2.
|
Unit tests, PHP 8.0, ubuntu-latest
Process completed with exit code 2.
|
Unit tests, PHP 8.1, ubuntu-latest
Process completed with exit code 2.
|
Unit tests, PHP 8.2, ubuntu-latest
Process completed with exit code 2.
|
Unit tests, PHP 8.2, windows-latest
Process completed with exit code 1.
|
Unit tests, PHP 8.0, windows-latest
Process completed with exit code 1.
|
Unit tests, PHP 8.1, windows-latest
The job was canceled because "windows-latest_8_2" failed.
|
Unit tests, PHP 8.1, windows-latest
The operation was canceled.
|