Skip to content

[stable27] fix: avoid douple expireDate parsing #41604

[stable27] fix: avoid douple expireDate parsing

[stable27] fix: avoid douple expireDate parsing #41604

Triggered via pull request April 18, 2024 09:55
Status Failure
Total duration 15m 37s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
7m 20s
static-code-analysis
static-code-analysis-security
14m 45s
static-code-analysis-security
static-code-analysis-ocp
3m 46s
static-code-analysis-ocp
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 5 warnings
UndefinedClass: apps/files_sharing/lib/Controller/ShareAPIController.php#L113
apps/files_sharing/lib/Controller/ShareAPIController.php:113:3: UndefinedClass: Class, interface or enum named OCA\Files_Sharing\Controller\IServerContainer does not exist (see https://psalm.dev/019)
DuplicateParam: apps/files_sharing/lib/Controller/ShareAPIController.php#L118
apps/files_sharing/lib/Controller/ShareAPIController.php:118:3: DuplicateParam: Duplicate param $userId in docblock for OCA\Files_Sharing\Controller\ShareAPIController::__construct (see https://psalm.dev/065)
UndefinedThisPropertyFetch: apps/files_sharing/lib/Controller/ShareAPIController.php#L135
apps/files_sharing/lib/Controller/ShareAPIController.php:135:15: UndefinedThisPropertyFetch: Instance property OCA\Files_Sharing\Controller\ShareAPIController::$userManager is not defined (see https://psalm.dev/041)
UndefinedThisPropertyFetch: apps/files_sharing/lib/Controller/ShareAPIController.php#L158
apps/files_sharing/lib/Controller/ShareAPIController.php:158:17: UndefinedThisPropertyFetch: Instance property OCA\Files_Sharing\Controller\ShareAPIController::$rootFolder is not defined (see https://psalm.dev/041)
UndefinedThisPropertyFetch: apps/files_sharing/lib/Controller/ShareAPIController.php#L182
apps/files_sharing/lib/Controller/ShareAPIController.php:182:28: UndefinedThisPropertyFetch: Instance property OCA\Files_Sharing\Controller\ShareAPIController::$previewManager is not defined (see https://psalm.dev/041)
UndefinedThisPropertyFetch: apps/files_sharing/lib/Controller/ShareAPIController.php#L205
apps/files_sharing/lib/Controller/ShareAPIController.php:205:20: UndefinedThisPropertyFetch: Instance property OCA\Files_Sharing\Controller\ShareAPIController::$userStatusManager is not defined (see https://psalm.dev/041)
UndefinedThisPropertyFetch: apps/files_sharing/lib/Controller/ShareAPIController.php#L218
apps/files_sharing/lib/Controller/ShareAPIController.php:218:13: UndefinedThisPropertyFetch: Instance property OCA\Files_Sharing\Controller\ShareAPIController::$groupManager is not defined (see https://psalm.dev/041)
UndefinedThisPropertyFetch: apps/files_sharing/lib/Controller/ShareAPIController.php#L226
apps/files_sharing/lib/Controller/ShareAPIController.php:226:46: UndefinedThisPropertyFetch: Instance property OCA\Files_Sharing\Controller\ShareAPIController::$l is not defined (see https://psalm.dev/041)
UndefinedThisPropertyFetch: apps/files_sharing/lib/Controller/ShareAPIController.php#L233
apps/files_sharing/lib/Controller/ShareAPIController.php:233:21: UndefinedThisPropertyFetch: Instance property OCA\Files_Sharing\Controller\ShareAPIController::$urlGenerator is not defined (see https://psalm.dev/041)
UndefinedThisPropertyFetch: apps/files_sharing/lib/Controller/ShareAPIController.php#L397
apps/files_sharing/lib/Controller/ShareAPIController.php:397:8: UndefinedThisPropertyFetch: Instance property OCA\Files_Sharing\Controller\ShareAPIController::$appManager is not defined (see https://psalm.dev/041)
TaintedHtml: apps/admin_audit/lib/Actions/Action.php#L64
apps/admin_audit/lib/Actions/Action.php:64:16: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedCallable: apps/files_external/lib/Config/ConfigAdapter.php#L74
apps/files_external/lib/Config/ConfigAdapter.php:74:50: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L247
apps/files_external/lib/Lib/Storage/SFTP.php:247:17: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L268
apps/files_external/lib/Lib/Storage/SFTP.php:268:19: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L413
apps/files_external/lib/Lib/Storage/SFTP.php:413:22: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedCookie: apps/files_sharing/lib/Controller/ShareController.php#L501
apps/files_sharing/lib/Controller/ShareController.php:501:35: TaintedCookie: Detected tainted cookie (see https://psalm.dev/257)
TaintedFile: apps/theming/lib/IconBuilder.php#L137
apps/theming/lib/IconBuilder.php:137:40: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/theming/lib/IconBuilder.php#L235
apps/theming/lib/IconBuilder.php:235:28: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedHeader: lib/base.php#L204
lib/base.php:204:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
TaintedHeader: lib/base.php#L286
lib/base.php:286:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
static-code-analysis-ocp
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
static-code-analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
static-code-analysis
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
static-code-analysis-security
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
static-code-analysis-security
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/