server icon indicating copy to clipboard operation
server copied to clipboard

Uses PHP8's constructor property promotion in core/Command/Log, /Security, and /SystemTag

Open fsamapoor opened this issue 2 years ago • 0 comments

Following https://github.com/nextcloud/server/pull/38636, https://github.com/nextcloud/server/pull/38637, and https://github.com/nextcloud/server/pull/38638 PRs, I have made the required adjustments to the /core/Command/ namespace as well.

I figured I should split the changes into multiple PRs to make reviewing the changes easier.

This PR refactors /core/Command/Log, /core/Command/Security, and /core/Command/SystemTag classes by using PHP8's constructor property promotion to remove redundant lines and make the code cleaner.

fsamapoor avatar Jun 12 '23 15:06 fsamapoor