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

Fix super-linter

Fix super-linter #182

Triggered via push March 19, 2024 08:57
Status Failure
Total duration 2m 46s
Artifacts

php.yml

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

Annotations

18 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)
UndefinedMagicMethod: src/Controller/OTP.php#L142
src/Controller/OTP.php:142:9: UndefinedMagicMethod: Magic method SimpleSAML\Assert\Assert::uuid does not exist (see https://psalm.dev/219)
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)
UndefinedMagicMethod: src/Utils/OTPClient.php#L62
src/Utils/OTPClient.php:62:9: UndefinedMagicMethod: Magic method SimpleSAML\Assert\Assert::uuid does not exist (see https://psalm.dev/219)
UndefinedMagicMethod: src/Utils/OTPClient.php#L73
src/Utils/OTPClient.php:73:13: UndefinedMagicMethod: Magic method SimpleSAML\Assert\Assert::uuid does not exist (see https://psalm.dev/219)
UndefinedMagicMethod: src/Utils/OTPClient.php#L169
src/Utils/OTPClient.php:169:9: UndefinedMagicMethod: Magic method SimpleSAML\Assert\Assert::uuid does not exist (see https://psalm.dev/219)
UndefinedMagicMethod: src/Utils/OTPClient.php#L177
src/Utils/OTPClient.php:177:9: UndefinedMagicMethod: Magic method SimpleSAML\Assert\Assert::uuid does not exist (see https://psalm.dev/219)
Quality control
Process completed with exit code 2.
Unit tests, PHP 8.2, 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.3, ubuntu-latest
Process completed with exit code 2.
Unit tests, PHP 8.3, windows-latest
Process completed with exit code 1.
Unit tests, PHP 8.1, windows-latest
The job was canceled because "windows-latest_8_3" failed.
Unit tests, PHP 8.1, windows-latest
Process completed with exit code 1.
Unit tests, PHP 8.2, windows-latest
The job was canceled because "windows-latest_8_3" failed.
Unit tests, PHP 8.2, windows-latest
The operation was canceled.
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)