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

Refactors lib/private/SystemTag #38995

Merged

Conversation

fsamapoor
Copy link
Member

Following previous PRs taking advantage of PHP8's constructor property promotion in /core/ namespace, I have also made the required adjustments to the classes in /lib/private/SystemTag namespace.

The improvements in this PRs include:

  • Using PHP8's constructor property promotion
  • Using early returns
  • Adding return types
  • Adding types to properties
  • Removing redundant docblocks

@szaimen szaimen added 3. to review Waiting for reviews technical debt labels Jun 25, 2023
@szaimen szaimen added this to the Nextcloud 28 milestone Jun 25, 2023
@szaimen szaimen requested review from blizzz, a team, ArtificialOwl and Fenn-CS and removed request for a team June 25, 2023 19:36
Copy link
Contributor

@Fenn-CS Fenn-CS left a comment

Choose a reason for hiding this comment

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

Looks okay, thank you!

@ChristophWurst
Copy link
Member

Apps acceptance tests fail. It's probably unrelated. But maybe let's rebase the branch later for another CI run or check if other recent PRs show the same error?

@fsamapoor
Copy link
Member Author

Apps acceptance tests fail. It's probably unrelated. But maybe let's rebase the branch later for another CI run or check if other recent PRs show the same error?

Sure. Thank you for taking the time.

@fsamapoor fsamapoor force-pushed the refactor_lib_private_systemtag branch from 9850ef4 to 5d4e1a1 Compare October 19, 2023 05:31
@skjnldsv skjnldsv mentioned this pull request Nov 1, 2023
@blizzz blizzz mentioned this pull request Nov 6, 2023
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <[email protected]>
@fsamapoor fsamapoor force-pushed the refactor_lib_private_systemtag branch from 5d4e1a1 to a988754 Compare November 7, 2023 06:11
@fsamapoor
Copy link
Member Author

@ChristophWurst Finally, no acceptance failure!

@ChristophWurst ChristophWurst merged commit 2aa8e9d into nextcloud:master Nov 7, 2023
46 of 50 checks passed
@fsamapoor fsamapoor deleted the refactor_lib_private_systemtag branch November 8, 2023 06:46
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.

5 participants