From df702062230896306c995a3fcad1ee2b97877e95 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 03:02:44 +0000 Subject: [PATCH 1/2] Bump the analyzers group across 9 directories with 1 update Bumps the analyzers group with 1 update in the /src directory: [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet). Bumps the analyzers group with 1 update in the /src/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy directory: [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet). Bumps the analyzers group with 1 update in the /src/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.Tests directory: [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet). Bumps the analyzers group with 1 update in the /src/Objectivity.AutoFixture.XUnit2.AutoMoq directory: [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet). Bumps the analyzers group with 1 update in the /src/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests directory: [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet). Bumps the analyzers group with 1 update in the /src/Objectivity.AutoFixture.XUnit2.AutoNSubstitute directory: [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet). Bumps the analyzers group with 1 update in the /src/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.Tests directory: [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet). Bumps the analyzers group with 1 update in the /src/Objectivity.AutoFixture.XUnit2.Core directory: [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet). Bumps the analyzers group with 1 update in the /src/Objectivity.AutoFixture.XUnit2.Core.Tests directory: [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet). Updates `SonarAnalyzer.CSharp` from 9.32.0.97167 to 10.3.0.106239 - [Release notes](https://github.com/SonarSource/sonar-dotnet/releases) - [Commits](https://github.com/SonarSource/sonar-dotnet/commits) Updates `SonarAnalyzer.CSharp` from 9.32.0.97167 to 10.3.0.106239 - [Release notes](https://github.com/SonarSource/sonar-dotnet/releases) - [Commits](https://github.com/SonarSource/sonar-dotnet/commits) Updates `SonarAnalyzer.CSharp` from 9.32.0.97167 to 10.3.0.106239 - [Release notes](https://github.com/SonarSource/sonar-dotnet/releases) - [Commits](https://github.com/SonarSource/sonar-dotnet/commits) Updates `SonarAnalyzer.CSharp` from 9.32.0.97167 to 10.3.0.106239 - [Release notes](https://github.com/SonarSource/sonar-dotnet/releases) - [Commits](https://github.com/SonarSource/sonar-dotnet/commits) Updates `SonarAnalyzer.CSharp` from 9.32.0.97167 to 10.3.0.106239 - [Release notes](https://github.com/SonarSource/sonar-dotnet/releases) - [Commits](https://github.com/SonarSource/sonar-dotnet/commits) Updates `SonarAnalyzer.CSharp` from 9.32.0.97167 to 10.3.0.106239 - [Release notes](https://github.com/SonarSource/sonar-dotnet/releases) - [Commits](https://github.com/SonarSource/sonar-dotnet/commits) Updates `SonarAnalyzer.CSharp` from 9.32.0.97167 to 10.3.0.106239 - [Release notes](https://github.com/SonarSource/sonar-dotnet/releases) - [Commits](https://github.com/SonarSource/sonar-dotnet/commits) Updates `SonarAnalyzer.CSharp` from 9.32.0.97167 to 10.3.0.106239 - [Release notes](https://github.com/SonarSource/sonar-dotnet/releases) - [Commits](https://github.com/SonarSource/sonar-dotnet/commits) Updates `SonarAnalyzer.CSharp` from 9.32.0.97167 to 10.3.0.106239 - [Release notes](https://github.com/SonarSource/sonar-dotnet/releases) - [Commits](https://github.com/SonarSource/sonar-dotnet/commits) --- updated-dependencies: - dependency-name: SonarAnalyzer.CSharp dependency-type: direct:production update-type: version-update:semver-major dependency-group: analyzers - dependency-name: SonarAnalyzer.CSharp dependency-type: direct:production update-type: version-update:semver-major dependency-group: analyzers - dependency-name: SonarAnalyzer.CSharp dependency-type: direct:production update-type: version-update:semver-major dependency-group: analyzers - dependency-name: SonarAnalyzer.CSharp dependency-type: direct:production update-type: version-update:semver-major dependency-group: analyzers - dependency-name: SonarAnalyzer.CSharp dependency-type: direct:production update-type: version-update:semver-major dependency-group: analyzers - dependency-name: SonarAnalyzer.CSharp dependency-type: direct:production update-type: version-update:semver-major dependency-group: analyzers - dependency-name: SonarAnalyzer.CSharp dependency-type: direct:production update-type: version-update:semver-major dependency-group: analyzers - dependency-name: SonarAnalyzer.CSharp dependency-type: direct:production update-type: version-update:semver-major dependency-group: analyzers - dependency-name: SonarAnalyzer.CSharp dependency-type: direct:production update-type: version-update:semver-major dependency-group: analyzers ... Signed-off-by: dependabot[bot] --- .../Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.Tests.csproj | 2 +- .../Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.csproj | 2 +- .../Objectivity.AutoFixture.XUnit2.AutoMoq.Tests.csproj | 2 +- .../Objectivity.AutoFixture.XUnit2.AutoMoq.csproj | 2 +- .../Objectivity.AutoFixture.XUnit2.AutoNSubstitute.Tests.csproj | 2 +- .../Objectivity.AutoFixture.XUnit2.AutoNSubstitute.csproj | 2 +- .../Objectivity.AutoFixture.XUnit2.Core.Tests.csproj | 2 +- .../Objectivity.AutoFixture.XUnit2.Core.csproj | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.Tests/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.Tests.csproj b/src/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.Tests/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.Tests.csproj index bf3d5bd..6730513 100644 --- a/src/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.Tests/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.Tests.csproj +++ b/src/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.Tests/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.Tests.csproj @@ -80,7 +80,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.csproj b/src/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.csproj index 191a42a..5e13c3b 100644 --- a/src/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.csproj +++ b/src/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy/Objectivity.AutoFixture.XUnit2.AutoFakeItEasy.csproj @@ -105,7 +105,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests.csproj b/src/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests.csproj index 141534b..d41041a 100644 --- a/src/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests.csproj +++ b/src/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests.csproj @@ -81,7 +81,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Objectivity.AutoFixture.XUnit2.AutoMoq/Objectivity.AutoFixture.XUnit2.AutoMoq.csproj b/src/Objectivity.AutoFixture.XUnit2.AutoMoq/Objectivity.AutoFixture.XUnit2.AutoMoq.csproj index 3f2d917..5e886ea 100644 --- a/src/Objectivity.AutoFixture.XUnit2.AutoMoq/Objectivity.AutoFixture.XUnit2.AutoMoq.csproj +++ b/src/Objectivity.AutoFixture.XUnit2.AutoMoq/Objectivity.AutoFixture.XUnit2.AutoMoq.csproj @@ -105,7 +105,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.Tests/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.Tests.csproj b/src/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.Tests/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.Tests.csproj index e0e8207..2cf2ad3 100644 --- a/src/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.Tests/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.Tests.csproj +++ b/src/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.Tests/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.Tests.csproj @@ -80,7 +80,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Objectivity.AutoFixture.XUnit2.AutoNSubstitute/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.csproj b/src/Objectivity.AutoFixture.XUnit2.AutoNSubstitute/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.csproj index 6c01c70..0415654 100644 --- a/src/Objectivity.AutoFixture.XUnit2.AutoNSubstitute/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.csproj +++ b/src/Objectivity.AutoFixture.XUnit2.AutoNSubstitute/Objectivity.AutoFixture.XUnit2.AutoNSubstitute.csproj @@ -105,7 +105,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Objectivity.AutoFixture.XUnit2.Core.Tests.csproj b/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Objectivity.AutoFixture.XUnit2.Core.Tests.csproj index b03d056..172efb9 100644 --- a/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Objectivity.AutoFixture.XUnit2.Core.Tests.csproj +++ b/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Objectivity.AutoFixture.XUnit2.Core.Tests.csproj @@ -79,7 +79,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Objectivity.AutoFixture.XUnit2.Core/Objectivity.AutoFixture.XUnit2.Core.csproj b/src/Objectivity.AutoFixture.XUnit2.Core/Objectivity.AutoFixture.XUnit2.Core.csproj index d0f963a..308bfcf 100644 --- a/src/Objectivity.AutoFixture.XUnit2.Core/Objectivity.AutoFixture.XUnit2.Core.csproj +++ b/src/Objectivity.AutoFixture.XUnit2.Core/Objectivity.AutoFixture.XUnit2.Core.csproj @@ -86,7 +86,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive From 0f69ca5612c749d5fd202a524f6af1a56affa262 Mon Sep 17 00:00:00 2001 From: Piotr Zajac Date: Wed, 4 Dec 2024 10:14:36 +0100 Subject: [PATCH 2/2] Simplify test code --- .../Common/EnumerableExtensionsTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Common/EnumerableExtensionsTests.cs b/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Common/EnumerableExtensionsTests.cs index cbc4bd3..6ab7751 100644 --- a/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Common/EnumerableExtensionsTests.cs +++ b/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Common/EnumerableExtensionsTests.cs @@ -25,7 +25,7 @@ public void GivenUninitializedArgument_WhenTryGetEnumerableSingleTypeArgumentIsI Type enumerableType = null; // Act - Func act = () => enumerableType.TryGetEnumerableSingleTypeArgument(out var itemType); + Func act = () => enumerableType.TryGetEnumerableSingleTypeArgument(out _); // Assert act.Should().Throw()