You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To integrate phpstan and sonarcloud we have to create a file containing json with the phpstan result.
PhpStan itself doesn't have an option to save the result directly to a file, and so the action doesn't. As a result, it's impossible to use the action for such integration (have to use a more talkative action).
I suggest adding an option to save the output to a defined (via the option) file.
The text was updated successfully, but these errors were encountered:
The content is the result (stdout) of phpstan execution. The exact result depends on the command arguments, but we are talking about automatization, so we use the argument '--error-format=json' and then get a json string.
Example of the raw command:
'php vendor/bin/phpstan analyse --no-progress --error-format=json > phpstan-report.json'
To integrate phpstan and sonarcloud we have to create a file containing json with the phpstan result.
PhpStan itself doesn't have an option to save the result directly to a file, and so the action doesn't. As a result, it's impossible to use the action for such integration (have to use a more talkative action).
I suggest adding an option to save the output to a defined (via the option) file.
The text was updated successfully, but these errors were encountered: