Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Mar 15, 2023

  • typed properties
  • add missing type hints and return type hints
  • add missing return
  • use match instead of switch
  • use str_starts_with instead of strpos
  • remove unused code and properties
  • remove duplicated condition
  • solve deprecations, avoid using private classes
  • fix jsonSerialize signature

editing a config is currently broken on server master+26 and requires nextcloud/server#37520. Blocks a release, but not merging.

P.S.: Even not release blocking, as adding and deleting configs still works.

- typed properties
- add missing type hints and return type hints
- add missing return
- use match instead of switch
- use str_starts_with instead of strpos
- remove unused code and properties
- remove duplicated condition
- solve deprecations, avoid using private classes
- fix jsonSerialize signature

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz requested a review from come-nc March 31, 2023 14:50
@blizzz
Copy link
Member Author

blizzz commented Mar 31, 2023

/backport to stable26

Copy link
Collaborator

@come-nc come-nc left a comment

Choose a reason for hiding this comment

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

🧹

blizzz and others added 2 commits April 3, 2023 15:45
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz requested a review from come-nc April 3, 2023 13:52
Copy link
Collaborator

@come-nc come-nc left a comment

Choose a reason for hiding this comment

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

👍

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@come-nc come-nc merged commit e0ac4e0 into master Apr 4, 2023
@delete-merged-branch delete-merged-branch bot deleted the td/noid/cleanup branch April 4, 2023 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants