Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update psalm baseline to remove obsolete stuff #25087

Merged

Conversation

PVince81
Copy link
Member

As seen in CI static checks, some blocks in the baseline were not needed any
more.

This will fix static checks in CI which were failing in multiple PRs, like https://github.com/nextcloud/server/pull/25086/checks?check_run_id=1685442983 and https://github.com/nextcloud/server/pull/24606/checks?check_run_id=1682178510

This is the result of running locally composer run psalm -- --update-baseline --threads=1

Signed-off-by: Vincent Petry vincent@nextcloud.com

As seen in CI static checks, some blocks in the baseline were not needed any
more.

This will fix static checks in CI.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@PVince81
Copy link
Member Author

okay, there's an extra error:

 /home/runner/work/server/server/apps/settings/lib/SetupChecks/SupportedDatabase.php:64:9:error - InvalidClass: Class or interface Doctrine\DBAL\Platforms\MySqlPlatform has wrong casing

fixing...

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@MorrisJobke
Copy link
Member

@PVince81 In general there should be updates to the baseline every day (if there are any) automatically: https://github.com/nextcloud/server/blob/master/.github/workflows/update-psalm-baseline.yml

@MorrisJobke MorrisJobke merged commit 15924b8 into master Jan 12, 2021
@MorrisJobke MorrisJobke deleted the techdebt/noid/update-psalm-baseline-as-recommended.xml branch January 12, 2021 09:14
@rullzer rullzer mentioned this pull request Jan 12, 2021
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants