Skip to content

fix: add IConfig for AppConfigOverwrite #607

fix: add IConfig for AppConfigOverwrite

fix: add IConfig for AppConfigOverwrite #607

Triggered via pull request July 31, 2025 13:51
Status Failure
Total duration 22m 5s
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-stable31
Process completed with exit code 2.
InvalidArgument: lib/AppConfigOverwrite.php#L29
lib/AppConfigOverwrite.php:29:45: InvalidArgument: Argument 3 of OC\AppConfig::__construct expects OCP\Security\ICrypto, but Psr\Log\LoggerInterface provided (see https://psalm.dev/004)
InvalidArgument: lib/AppConfigOverwrite.php#L29
lib/AppConfigOverwrite.php:29:36: InvalidArgument: Argument 2 of OC\AppConfig::__construct expects Psr\Log\LoggerInterface, but OCP\IConfig provided (see https://psalm.dev/004)
TooManyArguments: lib/AppConfigOverwrite.php#L29
lib/AppConfigOverwrite.php:29:3: TooManyArguments: Too many arguments for OC\AppConfig::__construct - expecting 3 but saw 4 (see https://psalm.dev/026)
static-psalm-analysis dev-stable30
Process completed with exit code 2.
InvalidArgument: lib/AppConfigOverwrite.php#L29
lib/AppConfigOverwrite.php:29:45: InvalidArgument: Argument 3 of OC\AppConfig::__construct expects OCP\Security\ICrypto, but Psr\Log\LoggerInterface provided (see https://psalm.dev/004)
InvalidArgument: lib/AppConfigOverwrite.php#L29
lib/AppConfigOverwrite.php:29:36: InvalidArgument: Argument 2 of OC\AppConfig::__construct expects Psr\Log\LoggerInterface, but OCP\IConfig provided (see https://psalm.dev/004)
TooManyArguments: lib/AppConfigOverwrite.php#L29
lib/AppConfigOverwrite.php:29:3: TooManyArguments: Too many arguments for OC\AppConfig::__construct - expecting 3 but saw 4 (see https://psalm.dev/026)
static-psalm-analysis dev-master
Process completed with exit code 2.
InvalidArgument: lib/AppConfigOverwrite.php#L29
lib/AppConfigOverwrite.php:29:45: InvalidArgument: Argument 3 of OC\AppConfig::__construct expects OCP\Security\ICrypto, but Psr\Log\LoggerInterface provided (see https://psalm.dev/004)
InvalidArgument: lib/AppConfigOverwrite.php#L29
lib/AppConfigOverwrite.php:29:36: InvalidArgument: Argument 2 of OC\AppConfig::__construct expects Psr\Log\LoggerInterface, but OCP\IConfig provided (see https://psalm.dev/004)
TooManyArguments: lib/AppConfigOverwrite.php#L29
lib/AppConfigOverwrite.php:29:3: TooManyArguments: Too many arguments for OC\AppConfig::__construct - expecting 3 but saw 4 (see https://psalm.dev/026)
static-psalm-analysis-summary
Process completed with exit code 1.