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

Drop Psalm baseline #457

Merged
merged 3 commits into from
Jan 4, 2025
Merged

Drop Psalm baseline #457

merged 3 commits into from
Jan 4, 2025

Conversation

spaze
Copy link
Owner

@spaze spaze commented Jan 4, 2025

Removed psalm-baseline.xml by adding some checks, or asserts, or by refactoring the code.

Also un-suppress some errors that are not reported anymore, and remove version number from composer.json so that composer validate doesn't complain anymore.

spaze added 3 commits January 4, 2025 04:01
In other words, stop using the baseline.
Either the bug has been fixed in Psalm, or I have refactored my code.
`composer validate` now throws a general warning:
"The version field is present, it is recommended to leave it out if the package is published on Packagist."

Although the package is not published on Packagist, but here we are. Composer was throwing a different error before, and that's why the version number was added.

Reverts commit a705191 #296
@spaze spaze self-assigned this Jan 4, 2025
@spaze spaze merged commit a80820c into main Jan 4, 2025
59 checks passed
@spaze spaze deleted the spaze/smaller-psalm-baseline branch January 4, 2025 03:38
@spaze spaze mentioned this pull request Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant