nextcloud / files_antivirus

👾 Antivirus app for Nextcloud Files
https://apps.nextcloud.com/apps/files_antivirus
GNU Affero General Public License v3.0
81 stars 33 forks source link

psalm analysis and fixes #218

Closed icewind1991 closed 2 years ago

icewind1991 commented 2 years ago

Adds psalm for static analyses and fixes the existing issues.

This will also catch accidental bumping of supported core versions.

Large diff, not much interesting :see_no_evil:

icewind1991 commented 2 years ago

See https://github.com/nextcloud/files_antivirus/actions/runs/1592797257 for an example of it catching the accidental <=22 break

CarlSchwan commented 2 years ago

@icewind1991 I rebased this PR, I suppose it's best to merge it just after the next release?