We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Adopt the following code
https://github.com/ikappas/vscode-phpcs/blob/5ec0314d0187f8cedd004a453b6859ff948664bd/phpcs-server/src/linter.ts#L187-L206
Since stderr is always an error, we can switch to STREAM_BOTH mode (which is the default) and will get some automatic handling for SL >4.3
Parsing fatal errors within stdin, is marked 'needs help'
The text was updated successfully, but these errors were encountered:
Switch back to STREAM_BOTH
a295d69
Partially tackles #33 Switching to STREAM_BOTH means SL can handle stderr output automatically (SL version >4.3 required).
Basically the implementation could be
def find_errors(self, stdout): if SOME_ERROR_REGEX.matches(stdout): logger.warning('Dada') self.notify_failure() return return super().find_errors(stdout)
But you need to write the regexes and test this, I don't have phpcs installed. 😢
Sorry, something went wrong.
any updates from this?
Na, you can implement this, @skeeith.
No branches or pull requests
Adopt the following code
https://github.com/ikappas/vscode-phpcs/blob/5ec0314d0187f8cedd004a453b6859ff948664bd/phpcs-server/src/linter.ts#L187-L206
Since stderr is always an error, we can switch to STREAM_BOTH mode (which is the default) and will get some automatic handling for SL >4.3
Parsing fatal errors within stdin, is marked 'needs help'
The text was updated successfully, but these errors were encountered: