Skip to content

feat(controllers): Migrate server annotations to attributes - #9377

Merged
nickvergessen merged 2 commits into
masterfrom
techdebt/noid/update-to-server-attributes
Apr 26, 2023
Merged

nickvergessen merged 2 commits into
masterfrom
techdebt/noid/update-to-server-attributes

Conversation

@nickvergessen

Copy link
Copy Markdown
Member

☑️ Resolves

🏁 Checklist

@nickvergessen nickvergessen added 3. to review feature: api 🛠️ OCS API for conversations, chats and participants technical debt labels Apr 25, 2023
@nickvergessen nickvergessen added this to the 💙 Next Major (27) milestone Apr 25, 2023
@nickvergessen nickvergessen self-assigned this Apr 25, 2023
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen
nickvergessen force-pushed the techdebt/noid/update-to-server-attributes branch from cb6776e to 092b5aa Compare April 26, 2023 07:18
@nickvergessen
nickvergessen marked this pull request as ready for review April 26, 2023 07:41
Comment on lines +178 to +179
#[NoCSRFRequired]
#[PublicPage]

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.

Maybe would be good put all ordered.

@vitormattos vitormattos Apr 26, 2023

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.

We also can verify if possible create a rule at nextcloud/coding-standard about this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

it's alphabetically ordered?

We also can verify if possible create a rule at nextcloud/coding-standard about this.

I guess that would be cool

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.

Yes, because under this, have the attribute BruteForceProtection, unordered.
I did a fast look at friendsofphp/php-cs-fixer and didn't found a specific rule to do this.

@nickvergessen
nickvergessen merged commit 9aed218 into master Apr 26, 2023
@nickvergessen
nickvergessen deleted the techdebt/noid/update-to-server-attributes branch April 26, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: api 🛠️ OCS API for conversations, chats and participants technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants