Skip to content

use PHP8's constructor property promotion#793

Merged
binsky08 merged 2 commits intonextcloud:masterfrom
shdehnavi:constructor_property_promotion
Jul 16, 2023
Merged

use PHP8's constructor property promotion#793
binsky08 merged 2 commits intonextcloud:masterfrom
shdehnavi:constructor_property_promotion

Conversation

@shdehnavi
Copy link
Contributor

All class fields, constructor definition, and variable assignments are updated using constructor property promotion

Co-authored-by: binsky <[email protected]>
Signed-off-by: Hamid Dehnavi <[email protected]>
Copy link
Collaborator

@binsky08 binsky08 left a comment

Choose a reason for hiding this comment

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

thanks for the pr :)

@binsky08 binsky08 added this to the 2.4.7 milestone Jul 6, 2023
@shdehnavi
Copy link
Contributor Author

@binsky08 The Scrutinizer shows a time-out warning, shall I do anything else?

@binsky08
Copy link
Collaborator

binsky08 commented Jul 6, 2023

@binsky08 The Scrutinizer shows a time-out warning, shall I do anything else?

The problem isn't you :D
it's just broken right now

@animalillo
Copy link
Collaborator

Thanks for the pr! Code definitely looks better and now we don't need backwards compatibility with older php versions, so ❤️

@binsky08 binsky08 merged commit ca3966e into nextcloud:master Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants