Add trailing commas #55
Annotations
4 errors and 10 warnings
lib/BuiltInServer.php#L213
lib/BuiltInServer.php:213:23: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
|
lib/BuiltInServer.php#L218
lib/BuiltInServer.php:218:25: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
|
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)
|
|
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)
|
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)
|
lib/BuiltInServer.php#L213
lib/BuiltInServer.php:213:52: MixedArgument: Argument 2 of explode cannot be mixed, expecting string (see https://psalm.dev/030)
|
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)
|
lib/InMemoryStore.php#L38
lib/InMemoryStore.php:38:20: MixedArrayAccess: Cannot access array value on mixed variable $item (see https://psalm.dev/051)
|
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)
|
lib/SimpleTestLogger.php#L68
lib/SimpleTestLogger.php:68:20: MixedArrayAccess: Cannot access array value on mixed variable $message (see https://psalm.dev/051)
|
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)
|
lib/StateClearer.php#L88
lib/StateClearer.php:88:13: MixedMethodCall: Cannot call method on an unknown class (see https://psalm.dev/015)
|
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)
|
This job succeeded
Loading