From 8a6cfe1b1313b75c8a880949fdd0037c4445663b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 01:25:45 +0000 Subject: [PATCH] fix(deps): update dependency sonaranalyzer.csharp to v9.20.0.85982 (#723) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [SonarAnalyzer.CSharp](https://redirect.sonarsource.com/doc/sonar-visualstudio.html) ([source](https://togithub.com/SonarSource/sonar-dotnet)) | `9.19.0.84025` -> `9.20.0.85982` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/SonarAnalyzer.CSharp/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/SonarAnalyzer.CSharp/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/SonarAnalyzer.CSharp/9.19.0.84025/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/SonarAnalyzer.CSharp/9.19.0.84025/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
SonarSource/sonar-dotnet (SonarAnalyzer.CSharp) ### [`v9.20.0.85982`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.20.0.85982): 9.20 [Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.19.0.84025...9.20.0.85982) Hey everyone! This release brings a vast number of improvements. The main focus lies on improving the capabilities of our Symbolic Execution engine, which results in much more accurate findings. The biggest visible impact is a significant reduction in false positives around loops for the rules S2583 and S2589. And a big thank you to [@​rcatley](https://togithub.com/rcatley) for their external contribution! ##### Bug Fixes - [8642](https://togithub.com/SonarSource/sonar-dotnet/issues/8642) - \[C#] Exception in `SonarAnalyzer.Rules.CSharp.SymbolicExecutionRunner` ##### False Positive - [8678](https://togithub.com/SonarSource/sonar-dotnet/issues/8678) - \[C#, VB.NET] Fix S2583 FP: Variable Updated in Catch Block - [8028](https://togithub.com/SonarSource/sonar-dotnet/issues/8028) - \[C#, VB.NET] Fix S2583 FP: Loop with manually incremented counter - [8449](https://togithub.com/SonarSource/sonar-dotnet/issues/8449) - \[C#, VB.NET] Fix S2589 FP: Change this condition so that it does not always evaluate to 'True' - [8495](https://togithub.com/SonarSource/sonar-dotnet/issues/8495) - \[C#, VB.NET] Fix S2583/S2589 FP: Return inside lock and using causes FP after the block - [8428](https://togithub.com/SonarSource/sonar-dotnet/issues/8428) - \[C#, VB.NET] Fix S2583/S2589 FP: For loop with Array.Length - [8483](https://togithub.com/SonarSource/sonar-dotnet/issues/8483) - \[C#, VB.NET] Fix S4158 FP: Should not report on HashSet.UnionWith for readonly fields. - [8739](https://togithub.com/SonarSource/sonar-dotnet/issues/8739) - \[C#] Fix S4049 FP: Do not raise on methods with generic parameters - [8638](https://togithub.com/SonarSource/sonar-dotnet/issues/8638) - \[C#] Fix S2386 & S3887 FP: should not be raised for FrozenDictionary and FrozenSet - [8611](https://togithub.com/SonarSource/sonar-dotnet/issues/8611) - \[C#] Fix S2372 FP: Add support for method invocations ([@​rcatley](https://togithub.com/rcatley)) - [8567](https://togithub.com/SonarSource/sonar-dotnet/issues/8567) - \[C#] Fix S2325 FP: Primary Constructor Support ##### False Negative - [8486](https://togithub.com/SonarSource/sonar-dotnet/issues/8486) - \[C#] Fix S2589 FN: Tuple binary operations (comparison) ##### Improvements - [8010](https://togithub.com/SonarSource/sonar-dotnet/issues/8010) - \[C#, VB.NET] S2589: Improve message in the case of null propagating operator - [7866](https://togithub.com/SonarSource/sonar-dotnet/issues/7866) - \[C#, VB.NET] SE: Allow collection tracking even when S4158 is not active - [8499](https://togithub.com/SonarSource/sonar-dotnet/issues/8499) - \[C#] SE: Learn number constraints from relational pattern - [8651](https://togithub.com/SonarSource/sonar-dotnet/issues/8651) - Update RSPEC before 9.20 release
--- ### Configuration 📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/buehler/dotnet-operator-sdk). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- src/Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index db4d4a6f..edd3521c 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -41,7 +41,7 @@ Condition="$(MSBuildProjectExtension) == '.csproj'" />