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

Fix static analysis in ci #278

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

leonhusmann
Copy link

This PR fixes #275, the first commit upgrades pslam so that psalm can be run from a subdirectory again. And the second commit fixes all currently occurring errors.

@@ -42,7 +42,7 @@ function allThrows(iterable $value, $class): iterable
* @param iterable<Closure|null> $value
* @param class-string<Throwable> $class
*
* @return iterable<Closure>
* @return iterable<Closure|null>
Copy link
Contributor

Choose a reason for hiding this comment

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

What does this test test after this change?

@boesing
Copy link

boesing commented Feb 3, 2023

FYI: This does not fix #275 - the problem in my issue is, that the checks are not executed in the CI pipeline of this project and thus errors are not properly detected in builds.

These changes here are only fixing issues which would be detected if static analysis would be properly added to the CI pipeline but not the problem itself, that checks are not executed.

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.

Static Code Analysis in CI does not actually check any file
3 participants