Blurhash generation #33036
static-code-analysis.yml
on: pull_request
static-code-analysis
4m 17s
static-code-analysis-security
7m 48s
static-code-analysis-ocp
2m 41s
Annotations
31 errors
InvalidDocblock:
lib/public/FilesMetadata/Event/MetadataBackgroundEvent.php#L33
lib/public/FilesMetadata/Event/MetadataBackgroundEvent.php:33:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/FilesMetadata/Event/MetadataBackgroundEvent.php#L34
lib/public/FilesMetadata/Event/MetadataBackgroundEvent.php:34:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/FilesMetadata/Event/MetadataLiveEvent.php#L33
lib/public/FilesMetadata/Event/MetadataLiveEvent.php:33:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/FilesMetadata/Event/MetadataLiveEvent.php#L36
lib/public/FilesMetadata/Event/MetadataLiveEvent.php:36:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/FilesMetadata/Exceptions/FilesMetadataException.php#L9
lib/public/FilesMetadata/Exceptions/FilesMetadataException.php:9:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/FilesMetadata/Exceptions/FilesMetadataNotFoundException.php#L7
lib/public/FilesMetadata/Exceptions/FilesMetadataNotFoundException.php:7:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/FilesMetadata/Exceptions/FilesMetadataTypeException.php#L7
lib/public/FilesMetadata/Exceptions/FilesMetadataTypeException.php:7:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/FilesMetadata/IFilesMetadataManager.php#L12
lib/public/FilesMetadata/IFilesMetadataManager.php:12:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/FilesMetadata/IFilesMetadataManager.php#L16
lib/public/FilesMetadata/IFilesMetadataManager.php:16:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/FilesMetadata/IFilesMetadataManager.php#L22
lib/public/FilesMetadata/IFilesMetadataManager.php:22:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
|
static-code-analysis
unable to access 'https://github.com/nextcloud/server/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
|
MissingTemplateParam:
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php#L16
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php:16:43: MissingTemplateParam: OC\Blurhash\Listener\GenerateBlurhashMetadata has missing template params when extending OCP\EventDispatcher\IEventListener, expecting 1 (see https://psalm.dev/182)
|
ParseError:
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php#L17
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php:17:2: ParseError: Syntax error, unexpected T_STRING on line 17 (see https://psalm.dev/173)
|
InvalidReturnType:
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php#L48
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php:48:53: InvalidReturnType: The declared return type 'GdImage' for OC\Blurhash\Listener\GenerateBlurhashMetadata::resizedImageFromFile is incorrect, got 'false|resource' (see https://psalm.dev/011)
|
InvalidReturnStatement:
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php#L61
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php:61:10: InvalidReturnStatement: The inferred type 'false|resource' does not match the declared return type 'GdImage' for OC\Blurhash\Listener\GenerateBlurhashMetadata::resizedImageFromFile (see https://psalm.dev/128)
|
FalsableReturnStatement:
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php#L61
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php:61:10: FalsableReturnStatement: The declared return type 'GdImage' for OC\Blurhash\Listener\GenerateBlurhashMetadata::resizedImageFromFile does not allow false, but the function returns 'false|resource' (see https://psalm.dev/137)
|
InvalidArgument:
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php#L65
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php:65:20: InvalidArgument: Argument 1 of imagesx expects resource, but GdImage provided (see https://psalm.dev/004)
|
InvalidArgument:
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php#L66
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php:66:21: InvalidArgument: Argument 1 of imagesy expects resource, but GdImage provided (see https://psalm.dev/004)
|
InvalidArgument:
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php#L72
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php:72:27: InvalidArgument: Argument 1 of imagecolorat expects resource, but GdImage provided (see https://psalm.dev/004)
|
InvalidArgument:
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php#L73
lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php:73:35: InvalidArgument: Argument 1 of imagecolorsforindex expects resource, but GdImage provided (see https://psalm.dev/004)
|
InvalidScalarArgument:
lib/private/Blurhash/PhpBlurhash/Base83.php#L26
lib/private/Blurhash/PhpBlurhash/Base83.php:26:39: InvalidScalarArgument: Argument 2 of intdiv expects int, but float|int provided (see https://psalm.dev/012)
|
TaintedHtml:
apps/admin_audit/lib/Actions/Action.php#L62
apps/admin_audit/lib/Actions/Action.php:62: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#L463
apps/files_sharing/lib/Controller/ShareController.php:463: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)
|