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

Remove shell execute and validate executable commands #84

Merged
merged 5 commits into from
May 27, 2023

Conversation

sirbrillig
Copy link
Owner

This removes the executeCommand and validateExecutableExists functions from ShellOperator, instead making them implementation details of the shell. This will allow for more diverse shells since these functions both assumed a UNIX-like environment.

In their place, this PR adds two new functions to ShellOperator: getPhpcsVersion which is needed by the XmlReporter, and validateShellIsReady which can be used as a general function to perform any necessary validation.

This is part of #73

@sirbrillig sirbrillig merged commit 4506b8f into trunk May 27, 2023
@sirbrillig sirbrillig deleted the remove-shell-execute-command branch May 27, 2023 15:54
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.

1 participant