From 06fff2e66784e0757c78520a675ce089037c9a23 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Tue, 14 Nov 2023 12:57:34 +0000 Subject: [PATCH 1/2] [Dependencies] Updating Philips.CodeAnalysis.MaintainabilityAnalyzers (Code analysis) to 1.4.0 --- CHANGELOG.md | 1 + src/BuildBot.Discord/BuildBot.Discord.csproj | 2 +- src/BuildBot.Json/BuildBot.Json.csproj | 2 +- src/BuildBot.ServiceModel/BuildBot.ServiceModel.csproj | 2 +- src/BuildBot.Tests/BuildBot.Tests.csproj | 2 +- src/BuildBot/BuildBot.csproj | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57927b1fd..d2d0295e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ Please ADD ALL Changes to the UNRELEASED SECTION and not a specific release ### Changed - Dependencies - Updated FunFair.Test.Common to 6.1.17.224 - Dependencies - Updated Meziantou.Analyzer to 2.0.109 +- Dependencies - Updated Philips.CodeAnalysis.MaintainabilityAnalyzers to 1.4.0 ### Removed ### Deployment Changes diff --git a/src/BuildBot.Discord/BuildBot.Discord.csproj b/src/BuildBot.Discord/BuildBot.Discord.csproj index 6e55197b5..6d395b6bc 100644 --- a/src/BuildBot.Discord/BuildBot.Discord.csproj +++ b/src/BuildBot.Discord/BuildBot.Discord.csproj @@ -56,7 +56,7 @@ - + diff --git a/src/BuildBot.Json/BuildBot.Json.csproj b/src/BuildBot.Json/BuildBot.Json.csproj index 04eb472aa..d06975798 100644 --- a/src/BuildBot.Json/BuildBot.Json.csproj +++ b/src/BuildBot.Json/BuildBot.Json.csproj @@ -51,7 +51,7 @@ - + diff --git a/src/BuildBot.ServiceModel/BuildBot.ServiceModel.csproj b/src/BuildBot.ServiceModel/BuildBot.ServiceModel.csproj index 6d85ced96..551df1497 100644 --- a/src/BuildBot.ServiceModel/BuildBot.ServiceModel.csproj +++ b/src/BuildBot.ServiceModel/BuildBot.ServiceModel.csproj @@ -48,7 +48,7 @@ - + diff --git a/src/BuildBot.Tests/BuildBot.Tests.csproj b/src/BuildBot.Tests/BuildBot.Tests.csproj index a33c5c297..b56a1f1bb 100644 --- a/src/BuildBot.Tests/BuildBot.Tests.csproj +++ b/src/BuildBot.Tests/BuildBot.Tests.csproj @@ -62,7 +62,7 @@ - + diff --git a/src/BuildBot/BuildBot.csproj b/src/BuildBot/BuildBot.csproj index 8132a38b7..d193df2fd 100644 --- a/src/BuildBot/BuildBot.csproj +++ b/src/BuildBot/BuildBot.csproj @@ -87,7 +87,7 @@ - + From 01c05fb4e07119c52553213a776e7f271eb4c5bf Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Tue, 14 Nov 2023 13:47:27 +0000 Subject: [PATCH 2/2] Fixed code analysis error on test code --- src/BuildBot.Tests/AssemblySettings.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/BuildBot.Tests/AssemblySettings.cs b/src/BuildBot.Tests/AssemblySettings.cs index 94c43b990..f9b1e40d1 100644 --- a/src/BuildBot.Tests/AssemblySettings.cs +++ b/src/BuildBot.Tests/AssemblySettings.cs @@ -1,3 +1,7 @@ using System.Diagnostics.CodeAnalysis; +[assembly: + SuppressMessage(category: "Philips.CodeAnalysis.MaintainabilityAnalyzers", + checkId: "PH2140: Avoid ExcludeFromCodeCoverage", + Justification = "This is a unit test assembly - no need for coverage of the test code itself")] [assembly: ExcludeFromCodeCoverage] \ No newline at end of file