Skip to content

Bump NUnit.Analyzers from 4.6.0 to 4.7.0 in /src #761

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

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 2, 2025

Bumps NUnit.Analyzers from 4.6.0 to 4.7.0.

Release notes

Sourced from NUnit.Analyzers's releases.

NUnit Analyzers 4.7 - April 1, 2025

The release primarily add another diagnostic NUnit4002 - and associated codefix - to help simplify EqualTo constraints when the expected value is a simple constant - e.g. true, false, 0, or default. The release also removes some false positives for Nunit1029.

As tooling contributions the analyzers now build using .NET8.0 and also analyzers and codefixes are now split into separate projects as only editors should load codefixes.

The release contains contributions from the following users (in alphabetical order):

Issues Resolved

Features and Enhancements

  • #828 Replace Is.EqualTo(default) with Is.Default
  • #826 Suggest to use Is.Null instead of Is.EqualTo(null)
  • #824 Use Is.False / Is.True instead of Is.EqualTo

Bugs

  • #832 False positive for Nunit1029 when only a type argument is use

Tooling, Process, and Documentation

  • #853 chore: Add NUnit4002.md solution file
  • #846 chore: Bump NUnit3TestAdapter to version 5
  • #843 chore(deps): Bump Microsoft.NET.Test.Sdk and Microsoft.NETFramework.ReferenceAssemblies
  • #838 chore: bump version
  • #677 Build using .NET8.0 SDK
Commits
  • 7e0869a Merge pull request #854 from nunit/release4.7
  • 3d3c826 chore: Update release notes
  • 9a9ec96 Merge pull request #853 from nunit/chore/add-nunit4002-sln
  • a6e6386 chore: Add NUnit4002.md solution file
  • f15cbb5 Merge pull request #846 from nunit/chore/bump-nunit-adapter
  • 14baaa1 chore: Bump NUnit3TestAdapter to version 5
  • eb356c8 Merge pull request #843 from nunit/dependabot/nuget/src/multi-45dc7e4dae
  • 744b471 chore(deps): Bump Microsoft.NET.Test.Sdk and Microsoft.NETFramework.Reference...
  • ac3a370 Add rule to convert EqualTo(xxx) into Is.XXX
  • 60d45bf Split NUnitFrameworkConstants into separate classes.
  • Additional commits viewable in compare view

Dependabot compatibility score

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 will merge this PR once CI passes on it, as requested by @particularbot.


Dependabot commands and options

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)

Bumps [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/nunit/nunit.analyzers/releases)
- [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md)
- [Commits](nunit/nunit.analyzers@4.6.0...4.7.0)

---
updated-dependencies:
- dependency-name: NUnit.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Apr 2, 2025
@particularbot
Copy link
Contributor

@dependabot merge

@dependabot dependabot bot merged commit 5ae4bed into master Apr 2, 2025
4 checks passed
@dependabot dependabot bot deleted the dependabot/nuget/src/NUnit.Analyzers-4.7.0 branch April 2, 2025 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Dependency dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant