Skip to content

[stable26] Fix registerEventListener signature #50275

[stable26] Fix registerEventListener signature

[stable26] Fix registerEventListener signature #50275

Triggered via pull request October 22, 2024 19:49
Status Failure
Total duration 4m 48s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
4m 34s
static-code-analysis
static-code-analysis-security
4m 37s
static-code-analysis-security
static-code-analysis-ocp
2m 48s
static-code-analysis-ocp
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 5 warnings
InvalidArgument: apps/admin_audit/lib/AppInfo/Application.php#L89
apps/admin_audit/lib/AppInfo/Application.php:89:13: InvalidArgument: Incompatible types found for T (OCP\Log\Audit\CriticalActionPerformedEvent is not in OCP\EventDispatcher\Event) (see https://psalm.dev/004)
InvalidArgument: apps/comments/lib/AppInfo/Application.php#L63
apps/comments/lib/AppInfo/Application.php:63:13: InvalidArgument: Incompatible types found for T (OCA\Files\Event\LoadAdditionalScriptsEvent is not in OCP\EventDispatcher\Event) (see https://psalm.dev/004)
InvalidArgument: apps/comments/lib/AppInfo/Application.php#L67
apps/comments/lib/AppInfo/Application.php:67:13: InvalidArgument: Incompatible types found for T (OCA\Files\Event\LoadSidebar is not in OCP\EventDispatcher\Event) (see https://psalm.dev/004)
InvalidArgument: apps/contactsinteraction/lib/AppInfo/Application.php#L44
apps/contactsinteraction/lib/AppInfo/Application.php:44:13: InvalidArgument: Incompatible types found for T (OCP\Contacts\Events\ContactInteractedWithEvent is not in OCP\EventDispatcher\Event) (see https://psalm.dev/004)
InvalidArgument: apps/dav/lib/AppInfo/Application.php#L147
apps/dav/lib/AppInfo/Application.php:147:13: InvalidArgument: Incompatible types found for T (OCA\DAV\Events\CalendarDeletedEvent is not in OCP\EventDispatcher\Event) (see https://psalm.dev/004)
InvalidArgument: apps/dav/lib/AppInfo/Application.php#L148
apps/dav/lib/AppInfo/Application.php:148:13: InvalidArgument: Incompatible types found for T (OCA\DAV\Events\CalendarDeletedEvent is not in OCP\EventDispatcher\Event) (see https://psalm.dev/004)
InvalidArgument: apps/dav/lib/AppInfo/Application.php#L150
apps/dav/lib/AppInfo/Application.php:150:13: InvalidArgument: Incompatible types found for T (OCA\DAV\Events\CalendarMovedToTrashEvent is not in OCP\EventDispatcher\Event) (see https://psalm.dev/004)
InvalidArgument: apps/dav/lib/AppInfo/Application.php#L151
apps/dav/lib/AppInfo/Application.php:151:13: InvalidArgument: Incompatible types found for T (OCA\DAV\Events\CalendarMovedToTrashEvent is not in OCP\EventDispatcher\Event) (see https://psalm.dev/004)
InvalidArgument: apps/dav/lib/AppInfo/Application.php#L152
apps/dav/lib/AppInfo/Application.php:152:13: InvalidArgument: Incompatible types found for T (OCA\DAV\Events\CalendarUpdatedEvent is not in OCP\EventDispatcher\Event) (see https://psalm.dev/004)
InvalidArgument: apps/dav/lib/AppInfo/Application.php#L153
apps/dav/lib/AppInfo/Application.php:153:13: InvalidArgument: Incompatible types found for T (OCA\DAV\Events\CalendarRestoredEvent is not in OCP\EventDispatcher\Event) (see https://psalm.dev/004)
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)
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)
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#L201
lib/base.php:201:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
TaintedHeader: lib/base.php#L201
lib/base.php:201:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
static-code-analysis-ocp
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
static-code-analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/