-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add some missing attributes #55474
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
base: master
Are you sure you want to change the base?
Add some missing attributes #55474
Conversation
2ad338e to
0fdd21f
Compare
|
Please add them to https://github.com/nextcloud-libraries/rector in a similar way to https://github.com/nextcloud-libraries/rector/blob/main/config/nextcloud-27/nextcloud-27-deprecations.php. Then everyone can migrate automatically 😁 |
|
Rector rule nextcloud-libraries/rector#66 |
0fdd21f to
a2639cb
Compare
|
@CarlSchwan what about the other annotations/attributes pairs? |
a2639cb to
473345f
Compare
Are there more missing? |
susnux
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code wise makes sense!
473345f to
340edce
Compare
Sorry, I was talking about the rector rules for these. |
lib/public/AppFramework/Http/Attribute/NoSameSiteCookieRequired.php
Outdated
Show resolved
Hide resolved
lib/private/AppFramework/Http/Attributes/TwoFactorSetUpDoneRequired.php
Outdated
Show resolved
Hide resolved
It's in our documentation but was never implemented. Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
Allow to replace the old annotation. Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
340edce to
e90adb9
Compare
Summary
Add alternative attribute for the following annotations:
Checklist
3. to review, feature component)stable32)