Refactor lib/private #27968
Annotations
10 errors
lib/private/TagManager.php#L61
lib/private/TagManager.php:61:13: ImplementedReturnTypeMismatch: The inherited return type 'OCP\ITags' for OCP\ITagManager::load is different to the implemented return type for OC\TagManager::load 'OC\Tags|null' (see https://psalm.dev/123)
|
lib/private/TagManager.php#L66
lib/private/TagManager.php:66:73: MoreSpecificImplementedParamType: Argument 4 of OC\TagManager::load has the more specific type 'null', expecting 'null|string' as defined by OCP\ITagManager::load (see https://psalm.dev/140)
|
lib/private/TempManager.php#L78
lib/private/TempManager.php:78:13: ImplementedReturnTypeMismatch: The inherited return type 'string' for OCP\ITempManager::getTemporaryFile is different to the implemented return type for OC\TempManager::gettemporaryfile 'bool|string' (see https://psalm.dev/123)
|
lib/private/TempManager.php#L115
lib/private/TempManager.php:115:13: ImplementedReturnTypeMismatch: The inherited return type 'string' for OCP\ITempManager::getTemporaryFolder is different to the implemented return type for OC\TempManager::gettemporaryfolder 'bool|string' (see https://psalm.dev/123)
|
lib/private/TemplateLayout.php#L287
lib/private/TemplateLayout.php:287:23: InvalidScalarArgument: Argument 1 of str_contains expects string, but bool|string provided (see https://psalm.dev/012)
|
lib/private/TemplateLayout.php#L323
lib/private/TemplateLayout.php:323:41: InvalidScalarArgument: Argument 1 of OC\TemplateLayout::getAppNamefromPath expects string, but non-empty-string|true provided (see https://psalm.dev/012)
|
lib/private/TemplateLayout.php#L331
lib/private/TemplateLayout.php:331:41: InvalidScalarArgument: Argument 1 of OC\TemplateLayout::getAppNamefromPath expects string, but non-empty-string|true provided (see https://psalm.dev/012)
|
lib/private/TemplateLayout.php#L358
lib/private/TemplateLayout.php:358:7: RedundantCondition: Type non-empty-string for $path is always string (see https://psalm.dev/122)
|
lib/private/TemplateLayout.php#L358
lib/private/TemplateLayout.php:358:23: RedundantCondition: Type non-empty-string for $path is always string (see https://psalm.dev/122)
|
|
The logs for this run have expired and are no longer available.
Loading