refactor: move to office.vue component #2742
Annotations
10 errors
Run coding standards check:
lib/Listener/LoadPublicViewerListener.php#L38
lib/Listener/LoadPublicViewerListener.php:38:43: MissingTemplateParam: OCA\Richdocuments\Listener\LoadPublicViewerListener has missing template params when extending OCP\EventDispatcher\IEventListener, expecting 1 (see https://psalm.dev/182)
|
Run coding standards check:
lib/Preview/EMF.php#L28
lib/Preview/EMF.php:28:7: MethodSignatureMismatch: Method OCA\Richdocuments\Preview\Office::getThumbnail with return type 'OCP\Image|null' is different to return type 'OCP\IImage|null' of inherited method OCP\Preview\IProviderV2::getThumbnail (see https://psalm.dev/042)
|
Run coding standards check:
lib/Preview/MSExcel.php#L24
lib/Preview/MSExcel.php:24:7: MethodSignatureMismatch: Method OCA\Richdocuments\Preview\Office::getThumbnail with return type 'OCP\Image|null' is different to return type 'OCP\IImage|null' of inherited method OCP\Preview\IProviderV2::getThumbnail (see https://psalm.dev/042)
|
Run coding standards check:
lib/Preview/MSWord.php#L24
lib/Preview/MSWord.php:24:7: MethodSignatureMismatch: Method OCA\Richdocuments\Preview\Office::getThumbnail with return type 'OCP\Image|null' is different to return type 'OCP\IImage|null' of inherited method OCP\Preview\IProviderV2::getThumbnail (see https://psalm.dev/042)
|
Run coding standards check:
lib/Preview/OOXML.php#L24
lib/Preview/OOXML.php:24:7: MethodSignatureMismatch: Method OCA\Richdocuments\Preview\Office::getThumbnail with return type 'OCP\Image|null' is different to return type 'OCP\IImage|null' of inherited method OCP\Preview\IProviderV2::getThumbnail (see https://psalm.dev/042)
|
Run coding standards check:
lib/Preview/Office.php#L32
lib/Preview/Office.php:32:16: MethodSignatureMismatch: Method OCA\Richdocuments\Preview\Office::getThumbnail with return type 'OCP\Image|null' is different to return type 'OCP\IImage|null' of inherited method OCP\Preview\IProviderV2::getThumbnail (see https://psalm.dev/042)
|
Run coding standards check:
lib/Preview/Office.php#L49
lib/Preview/Office.php:49:66: MissingDependency: OCP\Image depends on class or interface oc_image that does not exist (see https://psalm.dev/157)
|
Run coding standards check:
lib/Preview/OpenDocument.php#L25
lib/Preview/OpenDocument.php:25:7: MethodSignatureMismatch: Method OCA\Richdocuments\Preview\Office::getThumbnail with return type 'OCP\Image|null' is different to return type 'OCP\IImage|null' of inherited method OCP\Preview\IProviderV2::getThumbnail (see https://psalm.dev/042)
|
Run coding standards check:
lib/Preview/Pdf.php#L25
lib/Preview/Pdf.php:25:7: MethodSignatureMismatch: Method OCA\Richdocuments\Preview\Office::getThumbnail with return type 'OCP\Image|null' is different to return type 'OCP\IImage|null' of inherited method OCP\Preview\IProviderV2::getThumbnail (see https://psalm.dev/042)
|
Run coding standards check:
lib/Template/CollaboraTemplateProvider.php#L58
lib/Template/CollaboraTemplateProvider.php:58:19: ImplementedReturnTypeMismatch: The inherited return type 'array<array-key, OCP\Files\File>' for OCP\Files\Template\ICustomTemplateProvider::getCustomTemplates is different to the implemented return type for OCA\Richdocuments\Template\CollaboraTemplateProvider::getcustomtemplates 'array<array-key, OCP\Files\Template\Template>' (see https://psalm.dev/123)
|
Loading