Skip to content

Fix typo 'shared' - #23378

Merged
MorrisJobke merged 2 commits into
nextcloud:masterfrom
R0Wi:bugfix/registration_typo
Oct 12, 2020
Merged

Fix typo 'shared'#23378
MorrisJobke merged 2 commits into
nextcloud:masterfrom
R0Wi:bugfix/registration_typo

Conversation

@R0Wi

@R0WiR0Wi commented Oct 12, 2020

Copy link
Copy Markdown
Member

The current implementation of RegistrationContext.registerService does not recognize the $shared-parameter correctly because of a typo.
image

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arrrr 🏴‍☠️

@ChristophWurst

Copy link
Copy Markdown
Member

/backport to stable20

Signed-off-by: Morris Jobke <hey@morrisjobke.de>

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just pushed the code style fix 👍

@MorrisJobkeMorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 12, 2020
@MorrisJobkeMorrisJobke added this to the Nextcloud 21 milestone Oct 12, 2020
]);
}

public function dataProvider_TrueFalse() {

@kesselbkesselbOct 12, 2020

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming is a bit uncommon but might be okay for tests.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just the way i name it in my app tests. What would be your suggestion for data provider functions?

@ChristophWurstChristophWurstOct 12, 2020

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

registerServiceData?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any convention how to name data providers right now. I would prefer to not mix snake_case and camelCase but we can also merge this.

@MorrisJobke

Copy link
Copy Markdown
Member

CI failures are unrelated and are broken on master as well 🙈

@backportbot-nextcloud

Copy link
Copy Markdown

The backport to stable20 failed. Please do this backport manually.

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

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugregression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@R0Wi@ChristophWurst@MorrisJobke@kesselb