Skip to content

Add trailing commas #55

Add trailing commas

Add trailing commas #55

Triggered via push June 12, 2024 21:52
Status Success
Total duration 2m 36s
Artifacts

php.yml

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

Annotations

4 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.
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#L33
lib/InMemoryStore.php:33:13: MixedAssignment: Unable to determine the type that $item is being assigned to (see https://psalm.dev/032)
MixedArrayAccess: lib/InMemoryStore.php#L38
lib/InMemoryStore.php:38: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)