Skip to content

Use separate exit code to indicate Psalm finding issues#5087

Merged
muglug merged 3 commits intovimeo:masterfrom
weirdan:use-separate-exit-code-for-issues
Jan 24, 2021
Merged

Use separate exit code to indicate Psalm finding issues#5087
muglug merged 3 commits intovimeo:masterfrom
weirdan:use-separate-exit-code-for-issues

Conversation

@weirdan
Copy link
Copy Markdown
Collaborator

@weirdan weirdan commented Jan 22, 2021

This will allow to distinguish successful run that found some issues from crash (that results in exit code=1).

This will allow to distinguish successful run that found some issues
from crashes.
@ohader
Copy link
Copy Markdown
Contributor

ohader commented Jan 23, 2021

Looks good. What do you think about documenting the different exit codes e.g. at https://github.com/vimeo/psalm/blob/master/docs/running_psalm/command_line_usage.md?

@weirdan
Copy link
Copy Markdown
Collaborator Author

weirdan commented Jan 23, 2021

@ohader good point, done.

@muglug muglug merged commit 0489dd1 into vimeo:master Jan 24, 2021
@muglug
Copy link
Copy Markdown
Collaborator

muglug commented Jan 24, 2021

Thanks!

danog pushed a commit to danog/psalm that referenced this pull request Jan 29, 2021
* Use separate exit code to indicate Psalm finding issues

This will allow to distinguish successful run that found some issues
from crashes.

* Fix e2e test expectations

* Documented exit statuses
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.

3 participants