Skip to content

Process module names in a case-insentive matter #190

Process module names in a case-insentive matter

Process module names in a case-insentive matter #190

Triggered via push April 22, 2024 12:09
Status Failure
Total duration 1m 51s
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 16 warnings
Security checks
Your requirements could not be resolved to an installable set of packages. Problem 1 - simplesamlphp/xml-security[v1.7.0, ..., v1.7.1] require php ^8.1 -> your php version (8.0.30) does not satisfy that requirement. - Root composer.json requires simplesamlphp/xml-security ^1.7 -> satisfiable by simplesamlphp/xml-security[v1.7.0, v1.7.1].
Security checks
Process completed with exit code 2.
UndefinedMethod: src/Controller/MonitorController.php#L156
src/Controller/MonitorController.php:156:16: UndefinedMethod: Method Symfony\Component\HttpFoundation\JsonResponse::create does not exist (see https://psalm.dev/022)
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Bind.php#L37
src/TestCase/AuthSource/Ldap/Bind.php:37:44: PossiblyNullReference: Cannot call method getString on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Bind.php#L38
src/TestCase/AuthSource/Ldap/Bind.php:38:44: PossiblyNullReference: Cannot call method getString on possibly null value (see https://psalm.dev/083)
UndefinedDocblockClass: src/TestCase/AuthSource/Ldap/Configuration.php#L20
src/TestCase/AuthSource/Ldap/Configuration.php:20: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#L20
src/TestCase/AuthSource/Ldap/Configuration.php:20: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#L20
src/TestCase/AuthSource/Ldap/Configuration.php:20: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#L52
src/TestCase/AuthSource/Ldap/Configuration.php:52:44: PossiblyNullReference: Cannot call method getString on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Configuration.php#L53
src/TestCase/AuthSource/Ldap/Configuration.php:53:46: PossiblyNullReference: Cannot call method getOptionalString on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Configuration.php#L54
src/TestCase/AuthSource/Ldap/Configuration.php:54:43: PossiblyNullReference: Cannot call method getOptionalInteger on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/TestCase/AuthSource/Ldap/Configuration.php#L55
src/TestCase/AuthSource/Ldap/Configuration.php:55:43: PossiblyNullReference: Cannot call method getOptionalInteger 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)
MixedInferredReturnType: src/Controller/MonitorController.php#L152
src/Controller/MonitorController.php:152:16: MixedInferredReturnType: Could not verify return type 'Symfony\Component\HttpFoundation\JsonResponse' for SimpleSAML\Module\monitor\Controller\MonitorController::processJson (see https://psalm.dev/047)
MixedReturnStatement: src/Controller/MonitorController.php#L156
src/Controller/MonitorController.php:156:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
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#L34
src/TestCase/AuthSource/Ldap/Bind.php:34: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#L35
src/TestCase/AuthSource/Ldap/Bind.php:35:9: MixedAssignment: Unable to determine the type that $authSourceData 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#L35
tests/src/TestCase/AuthSource/Ldap/LdapSearchTest.php:35: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#L51
tests/src/TestCase/AuthSource/NegotiateTest.php:51: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#L53
tests/src/TestCase/AuthSource/NegotiateTest.php:53: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#L69
tests/src/TestCase/AuthSource/NegotiateTest.php:69: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#L84
tests/src/TestCase/AuthSource/NegotiateTest.php:84:96: DeprecatedMethod: The method PHPUnit\Framework\TestCase::returnValue has been marked as deprecated (see https://psalm.dev/001)