Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Migrate phpunit metadata to attributes #187

Migrate phpunit metadata to attributes

Migrate phpunit metadata to attributes #187

Triggered via push April 30, 2024 22:19
Status Success
Total duration 2m 42s
Artifacts

php.yml

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

Annotations

5 errors and 8 warnings
ArgumentTypeCoercion: src/Controller/OTP.php#L102
src/Controller/OTP.php:102:46: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Auth\State::loadState expects string, but parent type scalar provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Controller/OTP.php#L130
src/Controller/OTP.php:130:46: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Auth\State::loadState expects string, but parent type scalar provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Controller/OTP.php#L194
src/Controller/OTP.php:194:46: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Auth\State::loadState expects string, but parent type scalar provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Controller/OTP.php#L227
src/Controller/OTP.php:227:46: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Auth\State::loadState expects string, but parent type scalar provided (see https://psalm.dev/193)
Quality control
Process completed with exit code 2.
PossiblyNullOperand: src/Utils/PhoneNumber.php#L43
src/Utils/PhoneNumber.php:43:23: PossiblyNullOperand: Cannot concatenate with a possibly null int|null (see https://psalm.dev/080)
PossiblyNullOperand: src/Utils/PhoneNumber.php#L43
src/Utils/PhoneNumber.php:43:50: PossiblyNullOperand: Cannot concatenate with a possibly null null|string (see https://psalm.dev/080)