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

Improve e2e tests with bashunit 0.17 #3533

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

Chemaclass
Copy link
Contributor

On the latest bashunit 0.17 version we have a better way to handle the stdout of an executed script, so you dont need to append an || true syntax, while validating the exit code and you are even able to redirect the stderr if needed.

Blog post notes:

@phpstan-bot
Copy link
Collaborator

You've opened the pull request against the latest branch 2.0.x. PHPStan 2.0 is not going to be released for months. If your code is relevant on 1.12.x and you want it to be released sooner, please rebase your pull request and change its target to 1.12.x.

and defer the execution call inside bashunit
@ondrejmirtes ondrejmirtes merged commit 728ae75 into phpstan:2.0.x Oct 11, 2024
7 of 8 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

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