Skip to content

Set allowed methods #143

Set allowed methods

Set allowed methods #143

Triggered via push October 23, 2023 20:36
Status Failure
Total duration 1m 58s
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

11 errors and 16 warnings
Linter
Unable to resolve action `super-linter/super-linter@v6`, unable to find version `v6`
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Bind.php#L39
src/TestCase/AuthSource/Ldap/Bind.php:39:44: PossiblyNullReference: Cannot call method getString on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Bind.php#L40
src/TestCase/AuthSource/Ldap/Bind.php:40:44: PossiblyNullReference: Cannot call method getString on possibly null value (see https://psalm.dev/083)
UndefinedDocblockClass: src/TestCase/AuthSource/Ldap/Configuration.php#L21
src/TestCase/AuthSource/Ldap/Configuration.php:21:5: UndefinedDocblockClass: Docblock-defined class, interface or enum named SimpleSAML\Module\ConnectorInterface does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: src/TestCase/AuthSource/Ldap/Configuration.php#L21
src/TestCase/AuthSource/Ldap/Configuration.php:21:13: UndefinedDocblockClass: Docblock-defined class, interface or enum named SimpleSAML\Module\ConnectorInterface does not exist (see https://psalm.dev/200)
MismatchingDocblockPropertyType: src/TestCase/AuthSource/Ldap/Configuration.php#L21
src/TestCase/AuthSource/Ldap/Configuration.php:21:13: MismatchingDocblockPropertyType: Parameter SimpleSAML\Module\monitor\TestCase\AuthSource\Ldap\Configuration::$connection has wrong type 'SimpleSAML\Module\ConnectorInterface|null', should be 'SimpleSAML\Module\ldap\ConnectorInterface|null' (see https://psalm.dev/264)
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Configuration.php#L50
src/TestCase/AuthSource/Ldap/Configuration.php:50:44: PossiblyNullReference: Cannot call method getString on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Configuration.php#L51
src/TestCase/AuthSource/Ldap/Configuration.php:51:46: PossiblyNullReference: Cannot call method getOptionalString on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Configuration.php#L52
src/TestCase/AuthSource/Ldap/Configuration.php:52:43: PossiblyNullReference: Cannot call method getOptionalInteger on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Configuration.php#L53
src/TestCase/AuthSource/Ldap/Configuration.php:53:43: PossiblyNullReference: Cannot call method getOptionalInteger on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Configuration.php#L54
src/TestCase/AuthSource/Ldap/Configuration.php:54:45: PossiblyNullReference: Cannot call method getOptionalBoolean on possibly null value (see https://psalm.dev/083)
MixedArrayAssignment: hooks/hook_frontpage.php#L18
hooks/hook_frontpage.php:18:5: MixedArrayAssignment: Cannot access array value on mixed variable $links['config'] (see https://psalm.dev/117)
PropertyNotSetInConstructor: src/Controller/MonitorController.php#L56
src/Controller/MonitorController.php:56:19: PropertyNotSetInConstructor: Property SimpleSAML\Module\monitor\Controller\MonitorController::$state is not defined in constructor of SimpleSAML\Module\monitor\Controller\MonitorController or in any methods called in the constructor (see https://psalm.dev/074)
DeprecatedMethod: src/Controller/MonitorController.php#L156
src/Controller/MonitorController.php:156:16: DeprecatedMethod: The method Symfony\Component\HttpFoundation\JsonResponse::create has been marked as deprecated (see https://psalm.dev/001)
MixedArrayAccess: src/Controller/MonitorController.php#L157
src/Controller/MonitorController.php:157:27: MixedArrayAccess: Cannot access array value on mixed variable $this->healthInfo[$this->state] (see https://psalm.dev/051)
MixedInferredReturnType: src/Monitor.php#L72
src/Monitor.php:72:16: MixedInferredReturnType: Could not verify return type 'int' for SimpleSAML\Module\monitor\Monitor::getState (see https://psalm.dev/047)
MixedReturnStatement: src/Monitor.php#L77
src/Monitor.php:77:16: MixedReturnStatement: Possibly-mixed return value (see https://psalm.dev/138)
MixedReturnStatement: src/Monitor.php#L77
src/Monitor.php:77:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
MixedAssignment: src/TestCase/AuthSource/Ldap/Bind.php#L36
src/TestCase/AuthSource/Ldap/Bind.php:36:9: MixedAssignment: Unable to determine the type that $this->connection is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/TestCase/AuthSource/Ldap/Bind.php#L37
src/TestCase/AuthSource/Ldap/Bind.php:37:9: MixedAssignment: Unable to determine the type that $authSourceData is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/TestCase/AuthSource/Ldap/Bind.php#L39
src/TestCase/AuthSource/Ldap/Bind.php:39:9: MixedAssignment: Unable to determine the type that $this->username is being assigned to (see https://psalm.dev/032)
DeprecatedMethod: tests/src/TestCase/AuthSource/Ldap/LdapBindTest.php#L28
tests/src/TestCase/AuthSource/Ldap/LdapBindTest.php:28:78: DeprecatedMethod: The method PHPUnit\Framework\TestCase::returnValue has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/src/TestCase/AuthSource/Ldap/LdapSearchTest.php#L32
tests/src/TestCase/AuthSource/Ldap/LdapSearchTest.php:32:80: DeprecatedMethod: The method PHPUnit\Framework\TestCase::returnValue has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/src/TestCase/AuthSource/NegotiateTest.php#L52
tests/src/TestCase/AuthSource/NegotiateTest.php:52:96: DeprecatedMethod: The method PHPUnit\Framework\TestCase::returnValue has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/src/TestCase/AuthSource/NegotiateTest.php#L54
tests/src/TestCase/AuthSource/NegotiateTest.php:54:20: DeprecatedMethod: The method PHPUnit\Framework\TestCase::returnValue has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/src/TestCase/AuthSource/NegotiateTest.php#L70
tests/src/TestCase/AuthSource/NegotiateTest.php:70:96: DeprecatedMethod: The method PHPUnit\Framework\TestCase::returnValue has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: tests/src/TestCase/AuthSource/NegotiateTest.php#L85
tests/src/TestCase/AuthSource/NegotiateTest.php:85:96: DeprecatedMethod: The method PHPUnit\Framework\TestCase::returnValue has been marked as deprecated (see https://psalm.dev/001)