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

refactor(theming): Replace security annotations with respective attributes #46819

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

provokateurin
Copy link
Member

Summary

Follow-up to #46606

Checklist

@provokateurin provokateurin added 3. to review Waiting for reviews technical debt ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Jul 27, 2024
@provokateurin provokateurin added this to the Nextcloud 30 milestone Jul 27, 2024
@provokateurin provokateurin force-pushed the refactor/theming/security-attributes branch from 9be6257 to fbe83f5 Compare July 27, 2024 19:35
…butes

Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin provokateurin force-pushed the refactor/theming/security-attributes branch from fbe83f5 to 79d9f2e Compare July 27, 2024 20:40
@provokateurin provokateurin merged commit 20e054c into master Jul 29, 2024
169 checks passed
@provokateurin provokateurin deleted the refactor/theming/security-attributes branch July 29, 2024 06:57
@@ -420,6 +421,9 @@ public function getThemeStylesheet(string $themeId, bool $plain = false, bool $w
* 200: Manifest returned
* 404: App not found
*/
#[PublicPage]
#[NoCSRFRequired]
#[BruteForceProtection('manifest')]
Copy link
Member

Choose a reason for hiding this comment

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

This is causing PSALM to fail on master.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops, I thought I had fixed all of them. Let me quickly fix this

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 ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants