chore(legacy): Introduce public version class and drop version methods from OC_Util #48910
Triggered via pull request
September 17, 2024 23:16
Status
Failure
Total duration
10m 55s
Artifacts
–
static-code-analysis.yml
on: pull_request
static-code-analysis
5m 6s
static-code-analysis-security
10m 19s
static-code-analysis-ocp
2m 38s
Annotations
22 errors
InvalidDocblock:
lib/public/ServerVersion.php#L19
lib/public/ServerVersion.php:19:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
|
static-code-analysis-ocp
Process completed with exit code 2.
|
TooFewArguments:
core/Controller/OCJSController.php#L54
core/Controller/OCJSController.php:54:19: TooFewArguments: Too few arguments for OC\Template\JSConfigHelper::__construct - expecting filenameValidator to be passed (see https://psalm.dev/025)
|
InvalidArgument:
core/Controller/OCJSController.php#L55
core/Controller/OCJSController.php:55:4: InvalidArgument: Argument 1 of OC\Template\JSConfigHelper::__construct expects OCP\ServerVersion, but OCP\IL10N provided (see https://psalm.dev/004)
|
InvalidArgument:
core/Controller/OCJSController.php#L56
core/Controller/OCJSController.php:56:4: InvalidArgument: Argument 2 of OC\Template\JSConfigHelper::__construct expects OCP\IL10N, but OCP\Defaults provided (see https://psalm.dev/004)
|
InvalidArgument:
core/Controller/OCJSController.php#L57
core/Controller/OCJSController.php:57:4: InvalidArgument: Argument 3 of OC\Template\JSConfigHelper::__construct expects OCP\Defaults, but OCP\App\IAppManager provided (see https://psalm.dev/004)
|
InvalidArgument:
core/Controller/OCJSController.php#L58
core/Controller/OCJSController.php:58:4: InvalidArgument: Argument 4 of OC\Template\JSConfigHelper::__construct expects OCP\App\IAppManager, but OCP\ISession provided (see https://psalm.dev/004)
|
InvalidArgument:
core/Controller/OCJSController.php#L59
core/Controller/OCJSController.php:59:4: InvalidArgument: Argument 5 of OC\Template\JSConfigHelper::__construct expects OCP\ISession, but OCP\IUser|null provided (see https://psalm.dev/004)
|
InvalidArgument:
core/Controller/OCJSController.php#L60
core/Controller/OCJSController.php:60:4: InvalidArgument: Argument 6 of OC\Template\JSConfigHelper::__construct expects OCP\IUser|null, but OCP\IConfig provided (see https://psalm.dev/004)
|
InvalidArgument:
core/Controller/OCJSController.php#L61
core/Controller/OCJSController.php:61:4: InvalidArgument: Argument 7 of OC\Template\JSConfigHelper::__construct expects OCP\IConfig, but OCP\IGroupManager provided (see https://psalm.dev/004)
|
InvalidArgument:
core/Controller/OCJSController.php#L62
core/Controller/OCJSController.php:62:4: InvalidArgument: Argument 8 of OC\Template\JSConfigHelper::__construct expects OCP\IGroupManager, but bantu\IniGetWrapper\IniGetWrapper provided (see https://psalm.dev/004)
|
InvalidArgument:
core/Controller/OCJSController.php#L63
core/Controller/OCJSController.php:63:4: InvalidArgument: Argument 9 of OC\Template\JSConfigHelper::__construct expects bantu\IniGetWrapper\IniGetWrapper, but OCP\IURLGenerator provided (see https://psalm.dev/004)
|
TaintedHtml:
apps/admin_audit/lib/Actions/Action.php#L42
apps/admin_audit/lib/Actions/Action.php:42:16: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
|
TaintedCallable:
apps/files_external/lib/Config/ConfigAdapter.php#L51
apps/files_external/lib/Config/ConfigAdapter.php:51:50: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|
TaintedFile:
apps/files_external/lib/Lib/Storage/SFTP.php#L384
apps/files_external/lib/Lib/Storage/SFTP.php:384:22: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
|
TaintedCookie:
apps/files_sharing/lib/Controller/ShareController.php#L431
apps/files_sharing/lib/Controller/ShareController.php:431:35: TaintedCookie: Detected tainted cookie (see https://psalm.dev/257)
|
TaintedFile:
apps/theming/lib/IconBuilder.php#L116
apps/theming/lib/IconBuilder.php:116:40: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
|
TaintedFile:
apps/theming/lib/IconBuilder.php#L209
apps/theming/lib/IconBuilder.php:209:28: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
|
TaintedHeader:
lib/base.php#L144
lib/base.php:144:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
|
TaintedHeader:
lib/base.php#L226
lib/base.php:226:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
|
TaintedFile:
lib/private/App/InfoParser.php#L38
lib/private/App/InfoParser.php:38:50: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
|
TaintedCallable:
lib/private/AppFramework/Utility/SimpleContainer.php#L104
lib/private/AppFramework/Utility/SimpleContainer.php:104:33: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|