dotpcap / sharppcap

Official repository - Fully managed, cross platform (Windows, Mac, Linux) .NET library for capturing packets
1.35k stars 267 forks source link

Update dependency NUnit.Analyzers to v4.2.0 #510

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
NUnit.Analyzers 4.0.1 -> 4.2.0 age adoption passing confidence

Release Notes

nunit/nunit.analyzers (NUnit.Analyzers) ### [`v4.2.0`](https://togithub.com/nunit/nunit.analyzers/releases/tag/4.2.0): NUnit Analyzers 4.2 - April 24, 2024 [Compare Source](https://togithub.com/nunit/nunit.analyzers/compare/4.1.0...4.2.0) NUnit Analyzers 4.2 - April 24, 2024 This release of the Analyzers extends NUnit2050 to also cover `Assume` and Nunit1032 to consider dispose of a type having explicit interface implementation. Furthermore, named parameters are now handled correctly codefixes for classical asserts, and NUnit2010 improves the logic for determining `Equals` methods. The release contains contributions from the following users (in alphabetical order): - [@​Bartleby2718](https://togithub.com/Bartleby2718) - [@​hazzik](https://togithub.com/hazzik) - [@​maettu-this](https://togithub.com/maettu-this) - [@​manfred-brands](https://togithub.com/manfred-brands) - [@​matode](https://togithub.com/matode) - [@​mikkelbu](https://togithub.com/mikkelbu) Issues Resolved Features and Enhancements - [#​731](https://togithub.com/nunit/nunit.analyzers/issues/731) Add test for wrapping conditional expression in parenthesis for NUnit2050 - [#​720](https://togithub.com/nunit/nunit.analyzers/issues/720) Replace UpdateStringFormatToFormattableString with String.Format - [#​719](https://togithub.com/nunit/nunit.analyzers/issues/719) NUnit2050 should cover Assume - [#​710](https://togithub.com/nunit/nunit.analyzers/issues/710) Nunit1032 - consider dispose of a type having explicit interface implementation Bugs - [#​728](https://togithub.com/nunit/nunit.analyzers/issues/728) NUnit2010 - do not consider Equals call if it doesn't override Object.Equals - [#​712](https://togithub.com/nunit/nunit.analyzers/issues/712) \[bug] Code fix for NUnit2005 does not correctly fix Assert.AreEqual if named parameters are used in unexpected order Tooling, Process, and Documentation - [#​733](https://togithub.com/nunit/nunit.analyzers/issues/733) Missing full stops added to NUnit2050 - [#​722](https://togithub.com/nunit/nunit.analyzers/issues/722) Use Markdown for CHANGES - [#​708](https://togithub.com/nunit/nunit.analyzers/issues/708) chore: bump-version ### [`v4.1.0`](https://togithub.com/nunit/nunit.analyzers/releases/tag/4.1.0): NUnit Analyzers 4.1 - March 16, 2024 [Compare Source](https://togithub.com/nunit/nunit.analyzers/compare/4.0.1...4.1.0) NUnit Analyzers 4.1 - March 16, 2024 This release of the Analyzers extends the suppression of nullable warnings to also respect assumptions - expressed via `Assume.That`. Also nullable warnings are suppressed even in the context of the null-forgiving operator `!`, and NUnit2010 is extended to also cover `is` pattern expressions - e.g. `is null` and more general integer patterns as `is < 0 or >= 1`. The release contains contributions from the following users (in alphabetical order): - [@​lahma](https://togithub.com/lahma) - [@​manfred-brands](https://togithub.com/manfred-brands) - [@​mikkelbu](https://togithub.com/mikkelbu) - [@​RenderMichael](https://togithub.com/RenderMichael) - [@​TheBigNeo](https://togithub.com/TheBigNeo) - [@​verdie-g](https://togithub.com/verdie-g) Issues Resolved Features and Enhancements - [#​693](https://togithub.com/nunit/nunit.analyzers/issues/693) Possibly Null Reference Warning should be suppressed for Assume - [#​691](https://togithub.com/nunit/nunit.analyzers/issues/691) Extent rule NUnit2010 to detect 'is null' - [#​679](https://togithub.com/nunit/nunit.analyzers/issues/679) Null suppression doesn't work when the body has a null suppression Bugs - [#​700](https://togithub.com/nunit/nunit.analyzers/issues/700) CodeFix for Assert with null message causes ambiguous code. - [#​689](https://togithub.com/nunit/nunit.analyzers/issues/689) Incorrect constraint model transformation for named parameters Tooling, Process, and Documentation - [#​697](https://togithub.com/nunit/nunit.analyzers/issues/697) chore: Bump NUnit to version 4.1.0 - [#​694](https://togithub.com/nunit/nunit.analyzers/issues/694) Switch to using license expression - [#​690](https://togithub.com/nunit/nunit.analyzers/issues/690) chore(deps): Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 - [#​687](https://togithub.com/nunit/nunit.analyzers/issues/687) chore: Update release notes

Configuration

πŸ“… Schedule: 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 becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.21%. Comparing base (72c338d) to head (e85b79d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #510 +/- ## ========================================== - Coverage 82.25% 82.21% -0.04% ========================================== Files 51 51 Lines 2823 2823 Branches 312 312 ========================================== - Hits 2322 2321 -1 - Misses 380 382 +2 + Partials 121 120 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.