-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Run rector on lib/private #56496
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?
Run rector on lib/private #56496
Conversation
fe8cd31 to
22cc35c
Compare
|
We were always a bit hesitant to do this, but I guess we just have to do it at some point. I'm fine with doing it now, if there is anything wrong we hopefully have enough time until 33. |
We do need to bit the bullet at some point :) |
miaulalala
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.
First batch
miaulalala
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.
First batch
fd76274 to
71342b0
Compare
ce62cda to
95fbaeb
Compare
miaulalala
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.
Batch 2 🥇
miaulalala
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.
Batch 2 🥇
66dbebd to
3a009c9
Compare
53888a4 to
dbe79cf
Compare
salmart-dev
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.
Besides the small issues in the comments I noticed many changes in constructor parameter names. Those would be breaking changes since PHP has named parameters support, but I assume that we don't use that internally. I think all classes I saw with this kind of change were all internal.
miaulalala
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.
didn't check the rest of the test files, I assume they could also be strongly typed.
Last batch 🥳
8e9a599 to
bca103f
Compare
Signed-off-by: Carl Schwan <[email protected]>
Signed-off-by: Carl Schwan <[email protected]>
OC\ServerContainer is not inherinting from IServerContainer so expose the most near type. Signed-off-by: Carl Schwan <[email protected]>
Signed-off-by: Carl Schwan <[email protected]>
Signed-off-by: Carl Schwan <[email protected]>
Signed-off-by: Carl Schwan <[email protected]>
Signed-off-by: Carl Schwan <[email protected]>
Signed-off-by: Carl Schwan <[email protected]>
- repairs job - database - redis And remove Helpertest which was unused outside of some tests. Signed-off-by: Carl Schwan <[email protected]>
bca103f to
cc09afe
Compare
Summary
Seems to work fine locally and the CI is also happy
I ended up doing some manual changes to lib/private/Group/Group.php, to lib/private/Server.php and to lib/private/AppFramework/DependencyInjection/DIContainer.php to make it work
TODO
Checklist
3. to review, feature component)stable32)