Skip to content

Conversation

@PVince81
Copy link
Member

@PVince81 PVince81 commented Jan 16, 2023

Backport of #36089 to stable23

  • conflicts resolved
  • ⚠️ needs testing, please help! especially that there were conflicts.

stable23 only runs on php < 8.1 and I don't have this available, please help testing as follows:

  1. enable ext storage
  2. select "FTP"
  3. see that "secure" is ticked by default
  4. that's it

Extend the external storage configuration parameters definition to allow
to specify a default value

Signed-off-by: Vincent Petry <[email protected]>
return $result;
}

public function isOptional() {

Check notice

Code scanning / Psalm

InvalidReturnStatement

The inferred type 'array{defaultValue?: non-empty-mixed, flags: int, tooltip: string, type: int, value: string}' does not match the declared return type 'string' for OCA\Files_External\Lib\DefinitionParameter::jsonSerialize
@nickvergessen
Copy link
Member

stable23 only runs on php < 8.1 and I don't have this available, please help testing as follows:

Works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants