Skip to content

refactor(View): clearer control flow and stronger edge-case handling for getFileInfo #75231

refactor(View): clearer control flow and stronger edge-case handling for getFileInfo

refactor(View): clearer control flow and stronger edge-case handling for getFileInfo #75231

Triggered via pull request March 15, 2026 14:23
Status Failure
Total duration 5m 30s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
2m 1s
static-code-analysis
static-code-analysis-security
5m 27s
static-code-analysis-security
static-code-analysis-ocp
56s
static-code-analysis-ocp
static-code-analysis-ncu
29s
static-code-analysis-ncu
static-code-analysis-strict
53s
static-code-analysis-strict
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
static-code-analysis
Process completed with exit code 1.
static-code-analysis
Process completed with exit code 2.
TypeDoesNotContainType: lib/private/Files/View.php#L1451
lib/private/Files/View.php:1451:8: TypeDoesNotContainType: Type OCP\Files\Mount\IMountPoint for $mount is never falsy (see https://psalm.dev/056)
TypeDoesNotContainType: lib/private/Files/View.php#L1451
lib/private/Files/View.php:1451:7: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
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#L229
lib/private/Mail/Mailer.php:229:72: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedHtml: lib/private/Mail/Mailer.php#L209
lib/private/Mail/Mailer.php:209:83: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedCallable: lib/private/AppFramework/Utility/SimpleContainer.php#L126
lib/private/AppFramework/Utility/SimpleContainer.php:126:33: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedCallable: apps/workflowengine/lib/Manager.php#L502
apps/workflowengine/lib/Manager.php:502:39: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedCallable: apps/workflowengine/lib/Manager.php#L469
apps/workflowengine/lib/Manager.php:469:38: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedCallable: apps/workflowengine/lib/Manager.php#L427
apps/workflowengine/lib/Manager.php:427:38: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
static-code-analysis-ncu
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
static-code-analysis-strict
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
static-code-analysis-ocp
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
static-code-analysis
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
static-code-analysis-security
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/