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/Mail. #38987

Merged
merged 1 commit into from Jun 25, 2023

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/Mail namespace.

The improvements in this PRs include but are not limited to:

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

Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
@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 bennet0496, come-nc, a team, ArtificialOwl and Fenn-CS and removed request for a team June 25, 2023 11:09
@Fenn-CS Fenn-CS merged commit 2de859d into nextcloud:master Jun 25, 2023
39 checks passed
fsamapoor added a commit to fsamapoor/server that referenced this pull request Jun 26, 2023
Based on: nextcloud#38987 (comment)

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
artonge pushed a commit to fsamapoor/server that referenced this pull request Jun 27, 2023
Based on: nextcloud#38987 (comment)

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
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

5 participants