Skip to content

refactor: Fix many psalm issues #127

refactor: Fix many psalm issues

refactor: Fix many psalm issues #127

Triggered via pull request December 10, 2025 09:22
Status Failure
Total duration 1m 22s
Artifacts

psalm-matrix.yml

on: pull_request
Matrix: static-analysis
static-psalm-analysis-summary
6s
static-psalm-analysis-summary
Fit to window
Zoom out
Zoom in

Annotations

13 errors
static-psalm-analysis dev-stable32
Process completed with exit code 2.
PossiblyNullArgument: lib/Controller/SAMLController.php#L482
lib/Controller/SAMLController.php:482:28: PossiblyNullArgument: Argument 1 of Psr\Log\LoggerInterface::error cannot be null, possibly null value provided (see https://psalm.dev/078)
static-psalm-analysis dev-stable30
Process completed with exit code 2.
UndefinedClass: lib/Listener/LoadAdditionalScriptsListener.php#L42
lib/Listener/LoadAdditionalScriptsListener.php:42:17: UndefinedClass: Class, interface or enum named OCP\Config\IUserConfig does not exist (see https://psalm.dev/019)
UndefinedClass: lib/Listener/LoadAdditionalScriptsListener.php#L25
lib/Listener/LoadAdditionalScriptsListener.php:25:3: UndefinedClass: Class, interface or enum named OCP\Config\IUserConfig does not exist (see https://psalm.dev/019)
PossiblyNullArgument: lib/Controller/SAMLController.php#L482
lib/Controller/SAMLController.php:482:28: PossiblyNullArgument: Argument 1 of Psr\Log\LoggerInterface::error cannot be null, possibly null value provided (see https://psalm.dev/078)
static-psalm-analysis dev-master
Process completed with exit code 2.
PossiblyNullArgument: lib/Controller/SAMLController.php#L482
lib/Controller/SAMLController.php:482:28: PossiblyNullArgument: Argument 1 of Psr\Log\LoggerInterface::error cannot be null, possibly null value provided (see https://psalm.dev/078)
static-psalm-analysis dev-stable31
Process completed with exit code 2.
UndefinedClass: lib/Listener/LoadAdditionalScriptsListener.php#L42
lib/Listener/LoadAdditionalScriptsListener.php:42:17: UndefinedClass: Class, interface or enum named OCP\Config\IUserConfig does not exist (see https://psalm.dev/019)
UndefinedClass: lib/Listener/LoadAdditionalScriptsListener.php#L25
lib/Listener/LoadAdditionalScriptsListener.php:25:3: UndefinedClass: Class, interface or enum named OCP\Config\IUserConfig does not exist (see https://psalm.dev/019)
PossiblyNullArgument: lib/Controller/SAMLController.php#L482
lib/Controller/SAMLController.php:482:28: PossiblyNullArgument: Argument 1 of Psr\Log\LoggerInterface::error cannot be null, possibly null value provided (see https://psalm.dev/078)
static-psalm-analysis-summary
Process completed with exit code 1.