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/FullTextSearch #38996

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/FullTextSearch 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, icewind1991 and nfebe and removed request for a team June 25, 2023 19:59
@fsamapoor fsamapoor force-pushed the refactor_lib_private_fulltextsearch branch from 629e918 to b920fb1 Compare October 3, 2023 05:45
@fsamapoor fsamapoor requested a review from come-nc October 3, 2023 05:48
@fsamapoor fsamapoor force-pushed the refactor_lib_private_fulltextsearch branch 2 times, most recently from 93c565c to 217101a Compare October 10, 2023 06:46
@fsamapoor fsamapoor requested a review from come-nc October 10, 2023 07:42
@skjnldsv skjnldsv mentioned this pull request Nov 1, 2023
@blizzz blizzz mentioned this pull request Nov 6, 2023
@fsamapoor fsamapoor force-pushed the refactor_lib_private_fulltextsearch branch from 217101a to a7beea1 Compare November 7, 2023 06:12
@fsamapoor
Copy link
Member Author

@come-nc Anything I need to change in this PR?

I believe the integration workflow may have timed out.

@fsamapoor fsamapoor force-pushed the refactor_lib_private_fulltextsearch branch from a7beea1 to e03294a Compare November 9, 2023 07:55
@come-nc
Copy link
Contributor

come-nc commented Nov 9, 2023

@fsamapoor autoloaders are not up to date, probably because of the new Exception class, please run build/autoloaderchecker.sh and commit the files with new classes.

@nickvergessen nickvergessen removed their request for review November 9, 2023 10:03
@fsamapoor
Copy link
Member Author

fsamapoor commented Nov 9, 2023

@fsamapoor autoloaders are not up to date, probably because of the new Exception class, please run build/autoloaderchecker.sh and commit the files with new classes.

@come-nc Done.

@fsamapoor fsamapoor force-pushed the refactor_lib_private_fulltextsearch branch from 4312e2d to 82d2ddf Compare November 9, 2023 11:04
This was referenced Nov 10, 2023
@fsamapoor fsamapoor force-pushed the refactor_lib_private_fulltextsearch branch from 82d2ddf to 05e043b Compare November 15, 2023 05:55
@blizzz blizzz mentioned this pull request Nov 20, 2023
5 tasks
@blizzz blizzz modified the milestones: Nextcloud 28, Nextcloud 29 Nov 23, 2023
@fsamapoor fsamapoor force-pushed the refactor_lib_private_fulltextsearch branch from 05e043b to ece1e78 Compare December 1, 2023 12:25
@fsamapoor fsamapoor force-pushed the refactor_lib_private_fulltextsearch branch from ece1e78 to 1e76d5e Compare January 3, 2024 06:53
@fsamapoor fsamapoor force-pushed the refactor_lib_private_fulltextsearch branch from 1e76d5e to 144e809 Compare January 11, 2024 11:18
fsamapoor and others added 2 commits January 15, 2024 10:36
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <[email protected]>
Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: Faraz Samapoor <[email protected]>
Co-authored-by: Côme Chilliet <[email protected]>
@fsamapoor fsamapoor force-pushed the refactor_lib_private_fulltextsearch branch from 144e809 to cdf9d94 Compare January 15, 2024 07:06
@skjnldsv skjnldsv merged commit 1629b41 into nextcloud:master Feb 23, 2024
49 checks passed
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Feb 23, 2024
@fsamapoor fsamapoor deleted the refactor_lib_private_fulltextsearch branch February 23, 2024 20:47
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants