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 tests/app.php to improve code readability. #36742

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

fsamapoor
Copy link
Member

Summary

Improves the readability of the "loadDirectory" function by extending guard clauses and early returns and reducing the code indentation.

@fsamapoor fsamapoor changed the title Refactors tests/app.php to improve readaibility. Refactors tests/app.php to improve code readability. Feb 16, 2023
@szaimen szaimen added the 3. to review Waiting for reviews label Feb 16, 2023
@szaimen szaimen added this to the Nextcloud 26 milestone Feb 16, 2023
@szaimen szaimen requested review from a team, ArtificialOwl, icewind1991 and blizzz and removed request for a team February 16, 2023 11:00
@skjnldsv skjnldsv mentioned this pull request Feb 23, 2023
@blizzz blizzz mentioned this pull request Mar 7, 2023
@blizzz blizzz modified the milestones: Nextcloud 26, Nextcloud 27 Mar 7, 2023
This was referenced May 3, 2023
@blizzz blizzz mentioned this pull request May 17, 2023
@blizzz blizzz modified the milestones: Nextcloud 27, Nextcloud 28 May 23, 2023
@fsamapoor fsamapoor force-pushed the patch-1 branch 2 times, most recently from 4299b15 to b6df4ed Compare August 7, 2023 06:13
@fsamapoor
Copy link
Member Author

Hello @come-nc,

This has been going unnoticed for 6 months!
Please give your thoughts about the changes that I've made.

@fsamapoor fsamapoor requested a review from come-nc August 15, 2023 06:35
@fsamapoor
Copy link
Member Author

@artonge Sorry to bother. This has been around for a very long time. Could you please review it?

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

Nice

@ChristophWurst ChristophWurst merged commit 0a20b5d into nextcloud:master Sep 27, 2023
34 of 38 checks passed
@fsamapoor fsamapoor deleted the patch-1 branch March 8, 2024 07:42
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