Skip to content

feat(cache): add iterate method to list files from cache #72798

feat(cache): add iterate method to list files from cache

feat(cache): add iterate method to list files from cache #72798

Triggered via pull request January 29, 2026 15:45
Status Failure
Total duration 42m 46s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
3m 32s
static-code-analysis
static-code-analysis-security
6m 5s
static-code-analysis-security
static-code-analysis-ocp
51s
static-code-analysis-ocp
static-code-analysis-ncu
1m 20s
static-code-analysis-ncu
static-code-analysis-strict
50s
static-code-analysis-strict
Fit to window
Zoom out
Zoom in

Annotations

14 errors
static-code-analysis
Process completed with exit code 2.
UndefinedAttributeClass: lib/private/Lockdown/Filesystem/NullCache.php#L52
lib/private/Lockdown/Filesystem/NullCache.php:52:4: UndefinedAttributeClass: Attribute class OC\Lockdown\Filesystem\Override does not exist (see https://psalm.dev/241)
InvalidReturnType: lib/private/Files/Cache/Wrapper/CacheWrapper.php#L114
lib/private/Files/Cache/Wrapper/CacheWrapper.php:114:115: InvalidReturnType: The declared return type 'iterable<mixed, OCP\Files\Cache\ICacheEntry>' for OC\Files\Cache\Wrapper\CacheWrapper::iterateFolderContentsById is incorrect, got 'Generator<int, OCP\Files\Cache\ICacheEntry|false, mixed, void>' (see https://psalm.dev/011)
UndefinedAttributeClass: lib/private/Files/Cache/Wrapper/CacheWrapper.php#L113
lib/private/Files/Cache/Wrapper/CacheWrapper.php:113:4: UndefinedAttributeClass: Attribute class OC\Files\Cache\Wrapper\Override does not exist (see https://psalm.dev/241)
UndefinedAttributeClass: lib/private/Files/Cache/FailedCache.php#L62
lib/private/Files/Cache/FailedCache.php:62:4: UndefinedAttributeClass: Attribute class OC\Files\Cache\Override does not exist (see https://psalm.dev/241)
UndefinedVariable: apps/files_sharing/lib/External/Cache.php#L55
apps/files_sharing/lib/External/Cache.php:55:46: UndefinedVariable: Cannot find referenced variable $fileI (see https://psalm.dev/024)
UndefinedAttributeClass: apps/files_sharing/lib/External/Cache.php#L52
apps/files_sharing/lib/External/Cache.php:52:4: UndefinedAttributeClass: Attribute class OCA\Files_Sharing\External\Override does not exist (see https://psalm.dev/241)
TaintedCallable: lib/private/ServerContainer.php#L89
lib/private/ServerContainer.php:89:17: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedHtml: lib/private/Mail/Mailer.php#L227
lib/private/Mail/Mailer.php:227:72: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedHtml: lib/private/Mail/Mailer.php#L207
lib/private/Mail/Mailer.php:207:83: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedCallable: lib/private/AppFramework/Utility/SimpleContainer.php#L129
lib/private/AppFramework/Utility/SimpleContainer.php:129:33: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedCallable: apps/workflowengine/lib/Manager.php#L501
apps/workflowengine/lib/Manager.php:501:39: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedCallable: apps/workflowengine/lib/Manager.php#L468
apps/workflowengine/lib/Manager.php:468:38: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedCallable: apps/workflowengine/lib/Manager.php#L426
apps/workflowengine/lib/Manager.php:426:38: TaintedCallable: Detected tainted text (see https://psalm.dev/243)