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

chore(deps): Update psalm to v6 #3566

Merged
merged 2 commits into from
Jan 27, 2025
Merged

chore(deps): Update psalm to v6 #3566

merged 2 commits into from
Jan 27, 2025

Conversation

provokateurin
Copy link
Member

The two new entries to the baseline are false positives IMO, because psalm has the wrong signature without the callable that can be seen in the docs: https://www.php.net/manual/en/function.array-udiff.php

Copy link
Contributor

Choose a reason for hiding this comment

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

Can't we have the exception in the code instead of in the baseline?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think the baseline is a better fit, in case this false positive gets fixed in a later psalm version. Otherwise we have an ignore in the code which would become useless. It's not like we intentionally want to ignore it because it is correct, we ignore it because psalm is broken.

@provokateurin provokateurin merged commit 395b6af into master Jan 27, 2025
50 checks passed
@provokateurin provokateurin deleted the chore/deps/psalm-v6 branch January 27, 2025 09:45
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.

2 participants