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
This leads to severity "blocker" when generating Gitlab-CodeQuality-Json documents which leads to false information in the Gitlab UI.
A better severity may be "info" in these cases (if not being configurable) - or the default level "major" albeit this is even too much for my liking.
For more context: I create a PHP CodeSniffer Checkstyle Report which has warnings as severity "warning" where warnings do not fail the CI job but errors do.
The text was updated successfully, but these errors were encountered:
Uh, thanks for the report. I haven't had much experience with Gitlab-CodeQuality-Json. I did the integration based on documentation a long time ago. Maybe their spec has improved and there are new features.
Do you have any sample files for me to play around with?
While importing a checkstyle report the severity is ignored.
Every checkstyle error is mapped to failure, see
CI-Report-Converter/src/Converters/CheckStyleConverter.php
Line 65 in 18ff76a
This leads to severity "blocker" when generating Gitlab-CodeQuality-Json documents which leads to false information in the Gitlab UI.
A better severity may be "info" in these cases (if not being configurable) - or the default level "major" albeit this is even too much for my liking.
For more context: I create a PHP CodeSniffer Checkstyle Report which has warnings as severity "warning" where warnings do not fail the CI job but errors do.
The text was updated successfully, but these errors were encountered: