Skip to content

feat(files): add organization and contextual templates #89953

feat(files): add organization and contextual templates

feat(files): add organization and contextual templates #89953

Triggered via pull request September 25, 2026 12:09
Status Failure
Total duration 9m 56s
Artifacts –

static-code-analysis.yml

on: pull_request
changes
8s
changes
static-code-analysis
3m 1s
static-code-analysis
static-code-analysis-security
9m 36s
static-code-analysis-security
static-code-analysis-ocp
1m 9s
static-code-analysis-ocp
static-code-analysis-ncu
1m 18s
static-code-analysis-ncu
static-code-analysis-strict
1m 32s
static-code-analysis-strict
static-code-analysis-summary
5s
static-code-analysis-summary
Fit to window
Zoom out
Zoom in

Annotations

18 errors
UndefinedInterfaceMethod: tests/lib/Files/Template/TemplateDirectoryResolverTest.php#L48
tests/lib/Files/Template/TemplateDirectoryResolverTest.php:48:10: UndefinedInterfaceMethod: Method OCP\Files\Folder::method does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: tests/lib/Files/Template/TemplateDirectoryResolverTest.php#L47
tests/lib/Files/Template/TemplateDirectoryResolverTest.php:47:10: UndefinedInterfaceMethod: Method OCP\Files\Folder::expects does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: tests/lib/Files/Template/TemplateDirectoryResolverTest.php#L39
tests/lib/Files/Template/TemplateDirectoryResolverTest.php:39:10: UndefinedInterfaceMethod: Method OCP\Files\Folder::expects does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: tests/lib/Files/Template/TemplateDirectoryResolverTest.php#L38
tests/lib/Files/Template/TemplateDirectoryResolverTest.php:38:11: UndefinedInterfaceMethod: Method OCP\Files\Folder::method does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: tests/lib/Files/Template/TemplateDirectoryResolverTest.php#L37
tests/lib/Files/Template/TemplateDirectoryResolverTest.php:37:11: UndefinedInterfaceMethod: Method OCP\Files\Folder::method does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: tests/lib/Files/Template/TemplateDirectoryResolverTest.php#L36
tests/lib/Files/Template/TemplateDirectoryResolverTest.php:36:10: UndefinedInterfaceMethod: Method OCP\Files\Folder::method does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: tests/lib/Files/Template/TemplateDirectoryResolverTest.php#L35
tests/lib/Files/Template/TemplateDirectoryResolverTest.php:35:10: UndefinedInterfaceMethod: Method OCP\Files\Folder::method does not exist (see https://psalm.dev/181)
MissingOverrideAttribute: apps/files/lib/Template/OrganizationTemplateProvider.php#L73
apps/files/lib/Template/OrganizationTemplateProvider.php:73:2: MissingOverrideAttribute: Method OCA\Files\Template\OrganizationTemplateProvider::getcustomtemplate should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: apps/files/lib/Template/OrganizationTemplateProvider.php#L55
apps/files/lib/Template/OrganizationTemplateProvider.php:55:2: MissingOverrideAttribute: Method OCA\Files\Template\OrganizationTemplateProvider::getcustomtemplates should have the "Override" attribute (see https://psalm.dev/358)
RedundantCondition: apps/files/lib/Controller/TemplateController.php#L103
apps/files/lib/Controller/TemplateController.php:103:77: RedundantCondition: '' can never contain non-falsy-string (see https://psalm.dev/122)
TaintedCallable: lib/private/ServerContainer.php#L90
lib/private/ServerContainer.php:90:17: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedHtml: lib/private/Mail/Mailer.php#L235
lib/private/Mail/Mailer.php:235:72: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedHtml: lib/private/Mail/Mailer.php#L215
lib/private/Mail/Mailer.php:215:83: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedCallable: lib/private/AppFramework/Utility/SimpleContainer.php#L139
lib/private/AppFramework/Utility/SimpleContainer.php:139:33: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedCallable: apps/workflowengine/lib/Manager.php#L690
apps/workflowengine/lib/Manager.php:690:39: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedCallable: apps/workflowengine/lib/Manager.php#L657
apps/workflowengine/lib/Manager.php:657:38: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedCallable: apps/workflowengine/lib/Manager.php#L615
apps/workflowengine/lib/Manager.php:615:38: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
static-code-analysis-summary
Process completed with exit code 1.