Implement direct editing API #3398
Annotations
10 errors
Run coding standards check:
lib/DirectEditing/DirectEditor.php#L85
lib/DirectEditing/DirectEditor.php:85:32: InvalidPropertyAssignmentValue: $this->initialStateService with declared type 'OCP\IInitialStateService' cannot be assigned type 'OCA\Richdocuments\Service\InitialStateService' (see https://psalm.dev/145)
|
Run coding standards check:
lib/DirectEditing/DirectEditor.php#L119
lib/DirectEditing/DirectEditor.php:119:13: LessSpecificImplementedReturnType: The inherited return type 'array<array-key, string>' for OCP\DirectEditing\IEditor::getMimetypes is more specific than the implemented return type for OCA\Richdocuments\DirectEditing\DirectEditor::getmimetypes 'array<array-key, mixed>' (see https://psalm.dev/166)
|
Run coding standards check:
lib/DirectEditing/DirectEditor.php#L128
lib/DirectEditing/DirectEditor.php:128:13: LessSpecificImplementedReturnType: The inherited return type 'array<array-key, string>' for OCP\DirectEditing\IEditor::getMimetypesOptional is more specific than the implemented return type for OCA\Richdocuments\DirectEditing\DirectEditor::getmimetypesoptional 'array<array-key, mixed>' (see https://psalm.dev/166)
|
Run coding standards check:
lib/DirectEditing/DirectEditor.php#L137
lib/DirectEditing/DirectEditor.php:137:13: LessSpecificImplementedReturnType: The inherited return type 'array<array-key, OCP\DirectEditing\ACreateEmpty>' for OCP\DirectEditing\IEditor::getCreators is more specific than the implemented return type for OCA\Richdocuments\DirectEditing\DirectEditor::getcreators 'array<array-key, mixed>' (see https://psalm.dev/166)
|
Run coding standards check:
lib/DirectEditing/DirectEditor.php#L142
lib/DirectEditing/DirectEditor.php:142:4: TooFewArguments: Too few arguments for OCA\Richdocuments\DirectEditing\PresentationCreator::__construct - expecting config to be passed (see https://psalm.dev/025)
|
Run coding standards check:
lib/DirectEditing/DirectEditor.php#L143
lib/DirectEditing/DirectEditor.php:143:4: TooFewArguments: Too few arguments for OCA\Richdocuments\DirectEditing\SpreadsheetCreator::__construct - expecting config to be passed (see https://psalm.dev/025)
|
Run coding standards check:
lib/DirectEditing/DirectEditor.php#L144
lib/DirectEditing/DirectEditor.php:144:4: TooFewArguments: Too few arguments for OCA\Richdocuments\DirectEditing\TextCreator::__construct - expecting config to be passed (see https://psalm.dev/025)
|
Run coding standards check:
lib/DirectEditing/DirectEditor.php#L174
lib/DirectEditing/DirectEditor.php:174:52: UndefinedMethod: Method OCA\Richdocuments\TokenManager::getToken does not exist (see https://psalm.dev/022)
|
Run coding standards check:
lib/DirectEditing/DirectEditor.php#L189
lib/DirectEditing/DirectEditor.php:189:32: UndefinedInterfaceMethod: Method OCP\IInitialStateService::provideDocument does not exist (see https://psalm.dev/181)
|
Run coding standards check
Process completed with exit code 2.
|
Loading