-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add rules for all annotations replaced by attributes in 27 #40
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
Conversation
tests/Set/Nextcloud27/Fixture/controller_use_session_annotation.php.inc
Outdated
Show resolved
Hide resolved
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
Either we wait for a fix or write our own Rector based on AnnotationToAttribute. |
|
And many other annotation/attribute pairs also work slightly different, so a custom solution is probably required. |
This fixes migration for most annotations to attribute. Commented out AuthorizedAdminSetting because it’s a more complex case. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
de718b2 to
1dd2ef0
Compare
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
Let’s merge as-is and note AuthorizedAdminSetting as a todo for later? |
provokateurin
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.
Not too knowledgable about the internals of rector, but the result looks great 👍
Fix #17
Description
Add rules in 27 set to migrate all annotations to attributes.
Types of changes
PR checklist