Import InMemoryStore from Cirrus Identity #43
php.yml
on: push
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#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)
|