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

Add trailing comma's #190

Add trailing comma's

Add trailing comma's #190

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

php.yml

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

Annotations

7 errors and 7 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)
MissingClassConstType: src/Utils/OTPClient.php#L23
src/Utils/OTPClient.php:23:18: MissingClassConstType: Class constant "SimpleSAML\Module\cmdotcom\Utils\OTPClient::API_BASE" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Utils/OTPClient.php#L26
src/Utils/OTPClient.php:26:18: MissingClassConstType: Class constant "SimpleSAML\Module\cmdotcom\Utils\OTPClient::HEADER" should have a declared type. (see https://psalm.dev/359)
Quality control
Process completed with exit code 2.
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)