chore(deps): update dependency sonaranalyzer.csharp to 10.31.0.145097 #220

Merged
panda merged 2 commits from renovate/sonaranalyzer.csharp-10.x into main 2026-08-02 01:15:38 +02:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
SonarAnalyzer.CSharp (source) 10.29.0.14377410.31.0.145097 age confidence

Release Notes

SonarSource/sonar-dotnet (SonarAnalyzer.CSharp)

v10.31.0.145097

Compare Source

Release notes - .NET Analyzers - 10.31

Feature

NET-3865 Implement S8733: Potential Cartesian Explosion
NET-3875 Implement rule S8718: Client-evaluated default values should use database functions
NET-4087 Use shared secret exclusion patterns in hardcoded secrets rules
NET-4211 Update RSPEC before 10.31 release

False Positive

NET-1922 S1144 FP: When registering a service with Microsoft.Extensions.DependencyInjecion framework
NET-3928 Fix S3267 FP: Should not raise on EntityFramework IQueryables
NET-4205 Fix S1244 FP: should not raise on NaN check via x.Equals(double.NaN)

v10.30.0.144632

Compare Source

Release notes - .NET Analyzers - 10.30

Feature

NET-1536 Implement rule S8970: Null-forgiving operators should not be used when nullable warnings are disabled
NET-3436 Implement rule S8949: Use the overload that accepts a CancellationToken
NET-3810 Fix: Protobuf Importer logs debug on excluded files
NET-3877 Implement rule S8747: Migrations should not narrow column types without converting existing data
NET-4091 Implement rule S8969: Null-forgiving operators should not be redundant
NET-4120 Update RSPEC before 10.30 release

False Positive

NET-1541 Fix S3459 FP: support classes marked with [AutoConstructor] attribute
NET-1583 Fix S6967 FP: Raises when model has no validation attributes
NET-1840 Fix S3903 FP: top-level statements and partial Program in separate file
NET-4059 Improve precision of S8949 (CancellationTokenShouldBeUsed) - umbrella
NET-4191 Fix S3169 FP: Should not raise in Azure Cosmos

False Negative

NET-3819 Fix S1244 FN: Should report on Double.Equals

Bug

NET-4107 Fix S4026 Race Condition


Configuration

📅 Schedule: (in timezone Europe/Rome)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [SonarAnalyzer.CSharp](https://redirect.sonarsource.com/doc/sonar-visualstudio.html) ([source](https://github.com/SonarSource/sonar-dotnet)) | `10.29.0.143774` → `10.31.0.145097` | ![age](https://developer.mend.io/api/mc/badges/age/nuget/SonarAnalyzer.CSharp/10.31.0.145097?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/SonarAnalyzer.CSharp/10.29.0.143774/10.31.0.145097?slim=true) | --- ### Release Notes <details> <summary>SonarSource/sonar-dotnet (SonarAnalyzer.CSharp)</summary> ### [`v10.31.0.145097`](https://github.com/SonarSource/sonar-dotnet/releases/tag/10.31.0.145097) [Compare Source](https://github.com/SonarSource/sonar-dotnet/compare/10.30.0.144632...10.31.0.145097) ### Release notes - .NET Analyzers - 10.31 ##### Feature [NET-3865](https://sonarsource.atlassian.net/browse/NET-3865) Implement S8733: Potential Cartesian Explosion [NET-3875](https://sonarsource.atlassian.net/browse/NET-3875) Implement rule S8718: Client-evaluated default values should use database functions [NET-4087](https://sonarsource.atlassian.net/browse/NET-4087) Use shared secret exclusion patterns in hardcoded secrets rules [NET-4211](https://sonarsource.atlassian.net/browse/NET-4211) Update RSPEC before 10.31 release ##### False Positive [NET-1922](https://sonarsource.atlassian.net/browse/NET-1922) S1144 FP: When registering a service with Microsoft.Extensions.DependencyInjecion framework [NET-3928](https://sonarsource.atlassian.net/browse/NET-3928) Fix S3267 FP: Should not raise on EntityFramework IQueryables [NET-4205](https://sonarsource.atlassian.net/browse/NET-4205) Fix S1244 FP: should not raise on NaN check via x.Equals(double.NaN) ### [`v10.30.0.144632`](https://github.com/SonarSource/sonar-dotnet/releases/tag/10.30.0.144632) [Compare Source](https://github.com/SonarSource/sonar-dotnet/compare/10.29.0.143774...10.30.0.144632) ### Release notes - .NET Analyzers - 10.30 ##### Feature [NET-1536](https://sonarsource.atlassian.net/browse/NET-1536) Implement rule S8970: Null-forgiving operators should not be used when nullable warnings are disabled [NET-3436](https://sonarsource.atlassian.net/browse/NET-3436) Implement rule S8949: Use the overload that accepts a CancellationToken [NET-3810](https://sonarsource.atlassian.net/browse/NET-3810) Fix: Protobuf Importer logs debug on excluded files [NET-3877](https://sonarsource.atlassian.net/browse/NET-3877) Implement rule S8747: Migrations should not narrow column types without converting existing data [NET-4091](https://sonarsource.atlassian.net/browse/NET-4091) Implement rule S8969: Null-forgiving operators should not be redundant [NET-4120](https://sonarsource.atlassian.net/browse/NET-4120) Update RSPEC before 10.30 release ##### False Positive [NET-1541](https://sonarsource.atlassian.net/browse/NET-1541) Fix S3459 FP: support classes marked with \[AutoConstructor] attribute [NET-1583](https://sonarsource.atlassian.net/browse/NET-1583) Fix S6967 FP: Raises when model has no validation attributes [NET-1840](https://sonarsource.atlassian.net/browse/NET-1840) Fix S3903 FP: top-level statements and partial Program in separate file [NET-4059](https://sonarsource.atlassian.net/browse/NET-4059) Improve precision of S8949 (CancellationTokenShouldBeUsed) - umbrella [NET-4191](https://sonarsource.atlassian.net/browse/NET-4191) Fix S3169 FP: Should not raise in Azure Cosmos ##### False Negative [NET-3819](https://sonarsource.atlassian.net/browse/NET-3819) Fix S1244 FN: Should report on Double.Equals ##### Bug [NET-4107](https://sonarsource.atlassian.net/browse/NET-4107) Fix S4026 Race Condition </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Rome) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4wLjAiLCJ1cGRhdGVkSW5WZXIiOiI0NC4zLjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImNob3JlIiwiZGVwcyJdfQ==-->
chore(deps): update dependency sonaranalyzer.csharp to 10.31.0.145097
Some checks failed
ci / Lua content lint (pull_request) Successful in 9s
ci / Lint & Test (pull_request) Failing after 1m59s
b24d8221b6
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from b24d8221b6
Some checks failed
ci / Lua content lint (pull_request) Successful in 9s
ci / Lint & Test (pull_request) Failing after 1m59s
to 71649e284c
Some checks failed
ci / Lua content lint (pull_request) Successful in 15s
ci / Lint & Test (pull_request) Failing after 6m16s
2026-07-31 11:00:49 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from 71649e284c
Some checks failed
ci / Lua content lint (pull_request) Successful in 15s
ci / Lint & Test (pull_request) Failing after 6m16s
to 0c477fb595
Some checks failed
ci / Lua content lint (pull_request) Successful in 24s
ci / Lint & Test (pull_request) Failing after 6m5s
2026-07-31 13:00:46 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from 0c477fb595
Some checks failed
ci / Lua content lint (pull_request) Successful in 24s
ci / Lint & Test (pull_request) Failing after 6m5s
to 30ceb19b48
Some checks failed
ci / Lua content lint (pull_request) Successful in 20s
ci / Lint & Test (pull_request) Failing after 6m25s
2026-07-31 21:00:58 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from 30ceb19b48
Some checks failed
ci / Lua content lint (pull_request) Successful in 20s
ci / Lint & Test (pull_request) Failing after 6m25s
to 07bfd5212d
Some checks failed
ci / Lua content lint (pull_request) Successful in 23s
ci / Lint & Test (pull_request) Failing after 6m43s
2026-08-01 09:00:56 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from 07bfd5212d
Some checks failed
ci / Lua content lint (pull_request) Successful in 23s
ci / Lint & Test (pull_request) Failing after 6m43s
to 8f90d251af
Some checks failed
ci / Lua content lint (pull_request) Successful in 16s
ci / Lint & Test (pull_request) Failing after 8m6s
2026-08-01 11:00:55 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from 8f90d251af
Some checks failed
ci / Lua content lint (pull_request) Successful in 16s
ci / Lint & Test (pull_request) Failing after 8m6s
to 8f9bdfb9fe
Some checks failed
ci / Lua content lint (pull_request) Successful in 18s
ci / Lint & Test (pull_request) Failing after 7m14s
2026-08-01 12:00:58 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from 8f9bdfb9fe
Some checks failed
ci / Lua content lint (pull_request) Successful in 18s
ci / Lint & Test (pull_request) Failing after 7m14s
to d8e9465e37
Some checks failed
ci / Lua content lint (pull_request) Successful in 17s
ci / Lint & Test (pull_request) Failing after 6m55s
2026-08-01 13:00:50 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from d8e9465e37
Some checks failed
ci / Lua content lint (pull_request) Successful in 17s
ci / Lint & Test (pull_request) Failing after 6m55s
to 5cd78903bc
Some checks failed
ci / Lua content lint (pull_request) Successful in 17s
ci / Lint & Test (pull_request) Failing after 6m20s
2026-08-01 14:00:46 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from 5cd78903bc
Some checks failed
ci / Lua content lint (pull_request) Successful in 17s
ci / Lint & Test (pull_request) Failing after 6m20s
to 69735875cf
Some checks failed
ci / Lua content lint (pull_request) Successful in 16s
ci / Lint & Test (pull_request) Failing after 7m0s
2026-08-01 18:00:51 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from 69735875cf
Some checks failed
ci / Lua content lint (pull_request) Successful in 16s
ci / Lint & Test (pull_request) Failing after 7m0s
to 6263744925
Some checks failed
ci / Lua content lint (pull_request) Successful in 19s
ci / Lint & Test (pull_request) Failing after 6m25s
2026-08-01 19:00:48 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from 6263744925
Some checks failed
ci / Lua content lint (pull_request) Successful in 19s
ci / Lint & Test (pull_request) Failing after 6m25s
to 57487d71e5
Some checks failed
ci / Lua content lint (pull_request) Successful in 20s
ci / Lint & Test (pull_request) Failing after 5m59s
2026-08-01 20:00:47 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from 57487d71e5
Some checks failed
ci / Lua content lint (pull_request) Successful in 20s
ci / Lint & Test (pull_request) Failing after 5m59s
to fe16ded925
Some checks failed
ci / Lua content lint (pull_request) Successful in 18s
ci / Lint & Test (pull_request) Failing after 6m41s
2026-08-01 22:00:57 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from fe16ded925
Some checks failed
ci / Lua content lint (pull_request) Successful in 18s
ci / Lint & Test (pull_request) Failing after 6m41s
to d7dce3a7f6
Some checks failed
ci / Lua content lint (pull_request) Successful in 15s
ci / Lint & Test (pull_request) Failing after 6m23s
2026-08-01 23:00:54 +02:00
Compare
renovate force-pushed renovate/sonaranalyzer.csharp-10.x from d7dce3a7f6
Some checks failed
ci / Lua content lint (pull_request) Successful in 15s
ci / Lint & Test (pull_request) Failing after 6m23s
to 9a72a7b364
Some checks failed
ci / Lua content lint (pull_request) Successful in 35s
ci / Lint & Test (pull_request) Has been cancelled
2026-08-02 01:01:48 +02:00
Compare
Collaborator

Rebased on main and fixed the new SonarAnalyzer 10.31 findings (this is issue #164): 23× S8969 (redundant null-forgiving ! in tests, removed) + 1× S8949 (GameConnection now passes _cts.Token to Task.Run). Whole solution builds 0 warnings, 792 tests green, CSharpier clean. Supersedes #176 (older 10.30 bump) — that one can be closed.

Rebased on `main` and fixed the **new SonarAnalyzer 10.31 findings** (this is issue #164): 23× **S8969** (redundant null-forgiving `!` in tests, removed) + 1× **S8949** (`GameConnection` now passes `_cts.Token` to `Task.Run`). Whole solution builds **0 warnings**, **792 tests** green, CSharpier clean. Supersedes #176 (older 10.30 bump) — that one can be closed.
fix: drop redundant null-forgiving operators + pass CancellationToken (SonarAnalyzer 10.31 findings; #164)
All checks were successful
ci / Lua content lint (pull_request) Successful in 55s
ci / Lint & Test (pull_request) Successful in 8m31s
7e4f6a4fd7
panda merged commit e185eb46eb into main 2026-08-02 01:15:38 +02:00
panda deleted branch renovate/sonaranalyzer.csharp-10.x 2026-08-02 01:15:38 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marco/IsoMmo!220
No description provided.