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

Uses PHP8's constructor property promotion in remaining /core classes #38975

Conversation

fsamapoor
Copy link
Member

Following previously merged PRs, I have also made the required adjustments to the remaining classes in /core/ namespace.

This PR refactors the remaining classes in /core/ namespace using PHP8's constructor property promotion to remove redundant lines and make the code cleaner.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
@szaimen szaimen added the 3. to review Waiting for reviews label Jun 23, 2023
@szaimen szaimen added this to the Nextcloud 28 milestone Jun 23, 2023
@szaimen szaimen requested review from MorrisJobke, CarlSchwan, a team, ArtificialOwl, icewind1991 and Fenn-CS and removed request for a team June 23, 2023 22:43
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

😍

@icewind1991 icewind1991 merged commit a8e2256 into nextcloud:master Jul 4, 2023
38 of 39 checks passed
@fsamapoor fsamapoor deleted the constructor_property_promotion_in_remaining_core_classes branch March 8, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants