feat(snowflake): extend Entity class to support snowflakes #70816
static-code-analysis.yml
on: pull_request
static-code-analysis
2m 0s
static-code-analysis-security
5m 37s
static-code-analysis-ocp
48s
static-code-analysis-ncu
35s
Annotations
13 errors
|
static-code-analysis
Process completed with exit code 1.
|
|
static-code-analysis
Process completed with exit code 2.
|
|
InvalidReturnStatement:
apps/dav/lib/Controller/OutOfOfficeController.php#L158
apps/dav/lib/Controller/OutOfOfficeController.php:158:10: InvalidReturnStatement: The inferred type 'OCP\AppFramework\Http\DataResponse<200, array{firstDay: string, id: int|null, lastDay: string, message: string, replacementUserDisplayName: string, replacementUserId: string, status: string, userId: string}, array<never, never>>' does not match the declared return type 'OCP\AppFramework\Http\DataResponse<200|400, array{error?: 'firstDay'|'statusLength', firstDay?: string, id?: int, lastDay?: string, message?: string, replacementUserDisplayName?: null|string, replacementUserId?: null|string, status?: string, userId?: string}, array<never, never>>|OCP\AppFramework\Http\DataResponse<401|404, null, array<never, never>>' for OCA\DAV\Controller\OutOfOfficeController::setOutOfOffice (see https://psalm.dev/128)
|
|
MoreSpecificReturnType:
apps/dav/lib/Controller/OutOfOfficeController.php#L110
apps/dav/lib/Controller/OutOfOfficeController.php:110:13: MoreSpecificReturnType: The declared return type 'OCP\AppFramework\Http\DataResponse<200|400, array{error?: 'firstDay'|'statusLength', firstDay?: string, id?: int, lastDay?: string, message?: string, replacementUserDisplayName?: null|string, replacementUserId?: null|string, status?: string, userId?: string}, array<never, never>>|OCP\AppFramework\Http\DataResponse<401|404, null, array<never, never>>' for OCA\DAV\Controller\OutOfOfficeController::setOutOfOffice is more specific than the inferred return type 'OCP\AppFramework\Http\DataResponse<200|400, array{error?: 'firstDay'|'statusLength', firstDay?: string, id?: int|null, lastDay?: string, message?: string, replacementUserDisplayName?: string, replacementUserId?: string, status?: string, userId?: string}, array<never, never>>|OCP\AppFramework\Http\DataResponse<401|404, null, array<never, never>>' (see https://psalm.dev/070)
|
|
LessSpecificReturnStatement:
apps/dav/lib/Controller/OutOfOfficeController.php#L90
apps/dav/lib/Controller/OutOfOfficeController.php:90:10: LessSpecificReturnStatement: The type 'OCP\AppFramework\Http\DataResponse<200, array{firstDay: string, id: int|null, lastDay: string, message: string, replacementUserDisplayName: string, replacementUserId: string, status: string, userId: string}, array<never, never>>' is more general than the declared return type 'OCP\AppFramework\Http\DataResponse<200, array{firstDay: string, id: int, lastDay: string, message: string, replacementUserDisplayName: null|string, replacementUserId: null|string, status: string, userId: string}, array<never, never>>|OCP\AppFramework\Http\DataResponse<404, null, array<never, never>>' for OCA\DAV\Controller\OutOfOfficeController::getOutOfOffice (see https://psalm.dev/129)
|
|
MoreSpecificReturnType:
apps/dav/lib/Controller/OutOfOfficeController.php#L74
apps/dav/lib/Controller/OutOfOfficeController.php:74:13: MoreSpecificReturnType: The declared return type 'OCP\AppFramework\Http\DataResponse<200, array{firstDay: string, id: int, lastDay: string, message: string, replacementUserDisplayName: null|string, replacementUserId: null|string, status: string, userId: string}, array<never, never>>|OCP\AppFramework\Http\DataResponse<404, null, array<never, never>>' for OCA\DAV\Controller\OutOfOfficeController::getOutOfOffice is more specific than the inferred return type 'OCP\AppFramework\Http\DataResponse<200, array{firstDay: string, id: int|null, lastDay: string, message: string, replacementUserDisplayName: string, replacementUserId: string, status: string, userId: string}, array<never, never>>|OCP\AppFramework\Http\DataResponse<404, null, array<never, never>>' (see https://psalm.dev/070)
|
|
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#L227
lib/private/Mail/Mailer.php:227:72: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
|
|
TaintedHtml:
lib/private/Mail/Mailer.php#L207
lib/private/Mail/Mailer.php:207:83: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
|
|
TaintedCallable:
lib/private/AppFramework/Utility/SimpleContainer.php#L129
lib/private/AppFramework/Utility/SimpleContainer.php:129:33: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|
|
TaintedCallable:
apps/workflowengine/lib/Manager.php#L501
apps/workflowengine/lib/Manager.php:501:39: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|
|
TaintedCallable:
apps/workflowengine/lib/Manager.php#L468
apps/workflowengine/lib/Manager.php:468:38: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|
|
TaintedCallable:
apps/workflowengine/lib/Manager.php#L426
apps/workflowengine/lib/Manager.php:426:38: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
|