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: output for tool command to also contain error output #22

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

stickeepaul
Copy link
Collaborator

PHP CS Fixer doesn't always output something afterwards (for some reason) so this changes the test for the fix command to ensure it contains expected output (that is always there).

To do this I've had to change the output for a ToolCommand to also output the "error output" - which PHP CS Fixer uses to display verbose output.

@stickeepaul stickeepaul force-pushed the fix/output-for-tool-command branch from 2883e6e to dd9bb5b Compare January 3, 2023 12:38
@stickeepaul stickeepaul changed the base branch from main to release/2023-01-03 January 3, 2023 12:55
@stickeepaul stickeepaul merged commit ef9585d into release/2023-01-03 Jan 3, 2023
@stickeepaul stickeepaul deleted the fix/output-for-tool-command branch January 3, 2023 12:56
stickeepaul added a commit that referenced this pull request Jan 3, 2023
* chore: PHP CS Fixer should check test files too. (#23)

* chore: PHP CS Fixer should check test files too.

* style: PHP CS Fixer

Co-authored-by: stickeeoliver <[email protected]>

* fix: output for tool command to also contain error output (#22)

Co-authored-by: Oliver Earl <[email protected]>
Co-authored-by: stickeeoliver <[email protected]>
stickeepaul pushed a commit that referenced this pull request Mar 16, 2023
## [2.0.6](v2.0.5...v2.0.6) (2023-03-16)

### Bug Fixes

* output for tool command to also contain error output ([#22](#22)) ([ef9585d](ef9585d))
@stickeepaul
Copy link
Collaborator Author

🎉 This PR is included in version 2.0.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants