Skip to content

Import InMemoryStore from Cirrus Identity #42

Import InMemoryStore from Cirrus Identity

Import InMemoryStore from Cirrus Identity #42

Triggered via push May 9, 2024 09:31
Status Failure
Total duration 2m 42s
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

12 errors and 10 warnings
PossiblyUndefinedArrayOffset: lib/BuiltInServer.php#L213
lib/BuiltInServer.php:213:23: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyUndefinedArrayOffset: lib/BuiltInServer.php#L218
lib/BuiltInServer.php:218:25: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
InvalidArrayOffset: lib/SimpleTestLogger.php#L53
lib/SimpleTestLogger.php:53:20: InvalidArrayOffset: Cannot access value on variable $message using offset value of 'level', expecting int (see https://psalm.dev/115)
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.3, 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, 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
The operation was canceled.
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.
MixedArrayAssignment: lib/ArrayLogger.php#L27
lib/ArrayLogger.php:27:9: MixedArrayAssignment: Cannot access array value on mixed variable $this->logs[$level] (see https://psalm.dev/117)
MixedAssignment: lib/BuiltInServer.php#L212
lib/BuiltInServer.php:212:9: MixedAssignment: Unable to determine the type that $code is being assigned to (see https://psalm.dev/032)
MixedArgument: lib/BuiltInServer.php#L213
lib/BuiltInServer.php:213:52: MixedArgument: Argument 2 of explode cannot be mixed, expecting string (see https://psalm.dev/030)
MixedAssignment: lib/InMemoryStore.php#L31
lib/InMemoryStore.php:31:13: MixedAssignment: Unable to determine the type that $item is being assigned to (see https://psalm.dev/032)
MixedArrayAccess: lib/InMemoryStore.php#L36
lib/InMemoryStore.php:36:20: MixedArrayAccess: Cannot access array value on mixed variable $item (see https://psalm.dev/051)
PropertyNotSetInConstructor: lib/SigningTestCase.php#L20
lib/SigningTestCase.php:20:15: PropertyNotSetInConstructor: Property SimpleSAML\TestUtils\SigningTestCase::$config is not defined in constructor of SimpleSAML\TestUtils\SigningTestCase or in any methods called in the constructor (see https://psalm.dev/074)
MixedArrayAccess: lib/SimpleTestLogger.php#L68
lib/SimpleTestLogger.php:68:20: MixedArrayAccess: Cannot access array value on mixed variable $message (see https://psalm.dev/051)
MixedAssignment: lib/StateClearer.php#L87
lib/StateClearer.php:87:43: MixedAssignment: Unable to determine the type that $var is being assigned to (see https://psalm.dev/032)
MixedMethodCall: lib/StateClearer.php#L88
lib/StateClearer.php:88:13: MixedMethodCall: Cannot call method on an unknown class (see https://psalm.dev/015)
MixedAssignment: lib/StateClearer.php#L91
lib/StateClearer.php:91:42: MixedAssignment: Unable to determine the type that $var is being assigned to (see https://psalm.dev/032)