Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that some interface are not meant to be implemented #31447

Merged
merged 2 commits into from
Mar 6, 2022

Conversation

CarlSchwan
Copy link
Member

@CarlSchwan CarlSchwan commented Mar 4, 2022

This make sure that apps don't implement these interfaces and give us
more liberty to add new methods to them (as long as it is compatible
from a usage point of view). This just documents something we were already
doing before.

Signed-off-by: Carl Schwan carl@carlschwan.eu

@CarlSchwan CarlSchwan added the 3. to review Waiting for reviews label Mar 4, 2022
@CarlSchwan CarlSchwan added this to the Nextcloud 24 milestone Mar 4, 2022
@CarlSchwan CarlSchwan self-assigned this Mar 4, 2022
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍 as discussed, see suggestion

lib/public/Share/IManager.php Outdated Show resolved Hide resolved
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

We could even go with must not

@CarlSchwan CarlSchwan changed the title RFC: Clarify that some interface are not meant to be implemented Clarify that some interface are not meant to be implemented Mar 4, 2022
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

@PVince81
Copy link
Member

PVince81 commented Mar 4, 2022

nice!

please make phpcs happy

This make sure that apps don't implement this interfaces and gives us
more liberty to add new methods to them (as long as it is compatible
from an usage point of view)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: Vincent Petry <vincent@nextcloud.com>
lib/public/DB/IResult.php Outdated Show resolved Hide resolved
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 5, 2022
@MichaIng MichaIng merged commit 89e2eac into master Mar 6, 2022
@MichaIng MichaIng deleted the doc/manager-interface branch March 6, 2022 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants