-
Notifications
You must be signed in to change notification settings - Fork 660
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
Deprecation message breaks JSON output #9034
Comments
@orklah please hold off doing the new release for now, until this is resolved one way or another. |
I am looking into it. |
@jack-worman please wait, the PR you submitted is not the right solution @weirdan Currently the warning is output to STDERR, which is where we also output other non-json output like the progress bar, this is a misconfiguration of codeception, it really shouldn't parse JSON from STDERR too |
Correct. But that is either out of the happy path or suppressed with
Well, it's either that or STDERR is completely lost (Codeception CLI module uses |
What is the status of this? I would like to have a new release, what can I do to help? |
What's needed here is a change to the codeception psalm plugin to avoid parsing output from stderr, or otherwise ignore deprecation warnings outputted to stderr. |
How about hiding this PS: On my setup this |
I created psalm/codeception-psalm-module#45 to hopefully solve the issue |
@orklah releases are no longer blocked. |
https://github.com/psalm/codeception-psalm-module/actions/runs/3810538569/jobs/6482681536#step:10:283
This has the potential to break tests for most of the plugins. The Codeception module used for testing redirects STDERR to STDOUT, so the JSON it then tries to read won't be valid.
/cc: @jack-worman
The text was updated successfully, but these errors were encountered: