Skip to content

chore: fix strict psalm and rector - #60012

Merged
susnux merged 4 commits into
masterfrom
chore/rector-psalm
Apr 30, 2026
Merged

chore: fix strict psalm and rector#60012
susnux merged 4 commits into
masterfrom
chore/rector-psalm

Conversation

@susnux

@susnuxsusnux commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • As cherry picked psalm changes to also cover tests and make use of the phpunit plugin.
  • Fix the strict rector rules to properly autoload OCP otherwise it does not know about those interface¹
  • Fix the strict psalm rules for the same reason to make them aware of our OC and OCP code
  • Apply the changes and committed the results

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@susnux
susnux requested a review from a team as a code ownerApril 30, 2026 09:34
@susnuxsusnux added 3. to review Waiting for reviews ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Apr 30, 2026
@susnuxsusnux added this to the Nextcloud 34 milestone Apr 30, 2026
@susnux
susnux requested review from Altahrim, ArtificialOwl, leftybournes, nickvergessen, provokateurin and salmart-dev and removed request for a teamApril 30, 2026 09:34
Comment threadvendor-bin/psalm/composer.json
provokateurinand others added 4 commits April 30, 2026 12:35
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnux merged commit fdbd39a into masterApr 30, 2026
237 of 245 checks passed
@susnux
susnux deleted the chore/rector-psalm branch April 30, 2026 12:00
This was referenced May 5, 2026
This was referenced May 12, 2026
@nextcloud-botnextcloud-bot mentioned this pull request May 20, 2026
@nextcloud-botnextcloud-bot mentioned this pull request May 27, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews♻️ refactorRefactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@susnux@nickvergessen@CarlSchwan@provokateurin