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 SonarC#: Parameterized rules are not read properly #791

Closed
Evangelink opened this issue Sep 21, 2017 · 0 comments
Closed

Fix SonarC#: Parameterized rules are not read properly #791

Evangelink opened this issue Sep 21, 2017 · 0 comments
Assignees
Labels
Type: Bug Exceptions and blocking issues during analysis.
Milestone

Comments

@Evangelink
Copy link
Contributor

Description

Parameterized rules are no longer working properly, the default value is always used (regardless of the configuration on the server).

Expected behavior

warning S1067: Reduce the number of conditional operators (4) used in the expression (maximum allowed 1).

Actual behavior

warning S1067: Reduce the number of conditional operators (4) used in the expression (maximum allowed 3).
Which is the default value of the rule.

Known workarounds

Rollback to previous versions.

Related information

  • SonarC# Version: 6.4
@Evangelink Evangelink added Area: Rules Type: Bug Exceptions and blocking issues during analysis. labels Sep 21, 2017
@Evangelink Evangelink self-assigned this Sep 21, 2017
@Evangelink Evangelink added this to the 6.4.1 milestone Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Exceptions and blocking issues during analysis.
Projects
None yet
Development

No branches or pull requests

1 participant