Skip to content

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 a team, ArtificialOwl, blizzz and nfebe and removed request for a team June 25, 2023 19:36
Copy link
Contributor

@nfebe nfebe 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!

@fsamapoor fsamapoor force-pushed the refactor_lib_private_systemtag branch from dac222c to 6b5dc11 Compare September 27, 2023 05:59
@fsamapoor fsamapoor force-pushed the refactor_lib_private_systemtag branch from 6b5dc11 to 9850ef4 Compare October 11, 2023 06:14
@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
@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