Skip to content

Commit

Permalink
Bump SonarAnalyzer.CSharp from 9.32.0.97167 to 10.4.0.108396 (#288)
Browse files Browse the repository at this point in the history
Bumps
[SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet) from
9.32.0.97167 to 10.4.0.108396.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/SonarSource/sonar-dotnet/releases">SonarAnalyzer.CSharp's
releases</a>.</em></p>
<blockquote>
<h2>10.4</h2>
<h3>Improvements</h3>
<p>In this release, we have added support for test density and metrics
at the individual file level. You can now view the number of unit tests,
as well as details on skipped tests, failed tests, and test duration,
from all supported coverage tools (xUnit, MsTest, and nUnit).</p>
<p>Additionally, we have significantly optimized memory allocation,
resulting in memory usage reduction during registration.</p>
<h3>False Positive</h3>
<ul>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-868">NET-868</a> -
Fix S1854 FP: Don't raise when inner finally assignment is used to outer
block</li>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-865">NET-865</a> -
Fix S1172 FP: Parameter used as extension delegate target</li>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-863">NET-863</a> -
Fix S1172 FP: Don't report on partial method parameters</li>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-862">NET-862</a> -
Fix S1854 FP: Don't raise in catch when variable is used in following
catch</li>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-857">NET-857</a> -
Fix S3655 FP: Types with implicit conversion operator</li>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-836">NET-836</a> -
Fix S1854 FP: Value used after catch</li>
</ul>
<h3>False Negative</h3>
<ul>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-798">NET-798</a> -
Fix S1854 FN: Support &amp;&amp;, ||, ?? and ??=</li>
</ul>
<h3>Task</h3>
<ul>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-763">NET-763</a> -
Update RSPEC before 10.4 release</li>
</ul>
<h2>10.3</h2>
<p></p>
<h3>False Positive</h3>
<ul>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-675">NET-675</a> -
Fix S1144 FP: support struct constructor calls</li>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-499">NET-499</a>
Telemetry: Report Language version and target framework</li>
</ul>
<h3>Other</h3>
<ul>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-622">NET-622</a> -
Update license files to <a
href="https://www.sonarsource.com/license/ssal/">SSAL</a></li>
</ul>
<h2>10.2</h2>
<p></p>
<h3>New Rules</h3>
<ul>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-635">NET-635</a> -
[C#] New rule S6418 for C#: Hard-coded secrets are
security-sensitive</li>
</ul>
<h3>Improvement</h3>
<ul>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-567">NET-567</a> -
Remove S6605 from SonarWay profile and update the RSPEC to mention that
the rule makes sense only for .NET versions &lt;9</li>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-566">NET-566</a> -
Remove S6603 from SonarWay profile and update the RSPEC to mention that
the rule makes sense only for .NET versions &lt;9</li>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-407">NET-407</a> -
S2551: Improve RSpec recommendation</li>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-226">NET-226</a> -
S3878: Improve RSPEC to include collection expressions</li>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-528">NET-528</a> -
MetricAnalyzer: Line numbers does not respect ExcludeFromCodeCoverage
for partial properties</li>
<li><a
href="https://sonarsource.atlassian.net/browse/NET-527">NET-527</a> -
MetricAnalyzer: Function count should not count partial property
declaration parts</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/SonarSource/sonar-dotnet/commit/6e42b501e2d0f6e52762e4bf702f2091afc3dedb"><code>6e42b50</code></a>
NET-891 Unit test import: add import support for nunit projects logging
trx</li>
<li><a
href="https://github.com/SonarSource/sonar-dotnet/commit/8acb7aa9c389c833d022cf921cf74504e1bf762e"><code>8acb7aa</code></a>
NET-763 Update RSPEC before 10.4 release</li>
<li><a
href="https://github.com/SonarSource/sonar-dotnet/commit/d00f9510dc7835aced263835dc08be824bfbe3b9"><code>d00f951</code></a>
NET-808 Update NuGet packages description for the analyzers</li>
<li><a
href="https://github.com/SonarSource/sonar-dotnet/commit/44b2f5e4fa92b3688a6870007d83dab2e64d8f47"><code>44b2f5e</code></a>
NET-887 Unit test import: fix mapping in case of wrong casing</li>
<li><a
href="https://github.com/SonarSource/sonar-dotnet/commit/02ed338286c87a8fc48020afd96454919578f6d9"><code>02ed338</code></a>
NET-886 XUnit fix mapping issue on explicit DisplayName</li>
<li><a
href="https://github.com/SonarSource/sonar-dotnet/commit/831d94fd5602c0776cf074c4f5521ef8e6aff934"><code>831d94f</code></a>
NET-878 Rename Helper classes</li>
<li><a
href="https://github.com/SonarSource/sonar-dotnet/commit/af3f528dfbd9d055199c9e5120565d155b2f88e1"><code>af3f528</code></a>
NET-868 Fix S1854 FP: Don't raise when inner finally assignment is used
to ou...</li>
<li><a
href="https://github.com/SonarSource/sonar-dotnet/commit/852b0eebe982af396d1eaf3e334ae53c123e2b29"><code>852b0ee</code></a>
NET-881 Log debug message on failed test mapping in
XmlTestReportParser</li>
<li><a
href="https://github.com/SonarSource/sonar-dotnet/commit/00ecc1edf20fb699ded3ffb09d03bd0d28f7d108"><code>00ecc1e</code></a>
NET-879 Cleanup EditorConfigGenerator</li>
<li><a
href="https://github.com/SonarSource/sonar-dotnet/commit/e02c25d6145187517d1a5dd02c8789276bd15acf"><code>e02c25d</code></a>
NET-865 S1172 FP: Parameter used as extension delegate target</li>
<li>Additional commits viewable in <a
href="https://github.com/SonarSource/sonar-dotnet/compare/9.32.0.97167...10.4.0.108396">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=SonarAnalyzer.CSharp&package-manager=nuget&previous-version=9.32.0.97167&new-version=10.4.0.108396)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt Kotsenas <[email protected]>
  • Loading branch information
dependabot[bot] and MattKotsenas authored Dec 21, 2024
1 parent 128cb44 commit 2cec952
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 91 deletions.
2 changes: 1 addition & 1 deletion build/targets/codeanalysis/Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PackageVersion Include="Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers" Version="3.11.0-beta1.24527.2" />
<PackageVersion Include="Roslynator.Analyzers" Version="4.12.10" />
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" />
<PackageVersion Include="SonarAnalyzer.CSharp" Version="9.32.0.97167" />
<PackageVersion Include="SonarAnalyzer.CSharp" Version="10.4.0.108396" />
<PackageVersion Include="SquiggleCop.Tasks" Version="1.0.26" />
<PackageVersion Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.12.19" />
<PackageVersion Include="ExhaustiveMatching.Analyzer" Version="0.5.0" />
Expand Down
Loading

0 comments on commit 2cec952

Please sign in to comment.