diff --git a/CHANGELOG.md b/CHANGELOG.md index 0703fd96..4b723016 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ Please ADD ALL Changes to the UNRELEASED SECTION and not a specific release - Dependencies - Updated FunFair.Test.Common to 6.1.18.233 - Dependencies - Updated Meziantou.Analyzer to 2.0.110 - Dependencies - Updated Microsoft.VisualStudio.Threading.Analyzers to 17.8.14 +- Dependencies - Updated Philips.CodeAnalysis.MaintainabilityAnalyzers to 1.4.0 ### Removed ### Deployment Changes diff --git a/src/Credfeto.Package.Test/AssemblySettings.cs b/src/Credfeto.Package.Test/AssemblySettings.cs new file mode 100644 index 00000000..f9b1e40d --- /dev/null +++ b/src/Credfeto.Package.Test/AssemblySettings.cs @@ -0,0 +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 diff --git a/src/Credfeto.Package.Test/Credfeto.Package.Test.csproj b/src/Credfeto.Package.Test/Credfeto.Package.Test.csproj index 2e1ae70c..3ea75bad 100644 --- a/src/Credfeto.Package.Test/Credfeto.Package.Test.csproj +++ b/src/Credfeto.Package.Test/Credfeto.Package.Test.csproj @@ -59,7 +59,7 @@ - + diff --git a/src/Credfeto.Package.Update/Credfeto.Package.Update.csproj b/src/Credfeto.Package.Update/Credfeto.Package.Update.csproj index eb3eb5f3..21128c65 100644 --- a/src/Credfeto.Package.Update/Credfeto.Package.Update.csproj +++ b/src/Credfeto.Package.Update/Credfeto.Package.Update.csproj @@ -76,7 +76,7 @@ - + diff --git a/src/Credfeto.Package/Credfeto.Package.csproj b/src/Credfeto.Package/Credfeto.Package.csproj index b8f53707..002932d5 100644 --- a/src/Credfeto.Package/Credfeto.Package.csproj +++ b/src/Credfeto.Package/Credfeto.Package.csproj @@ -74,7 +74,7 @@ - + diff --git a/src/Credfeto.Package/PackageUpdaterSetup.cs b/src/Credfeto.Package/PackageUpdaterSetup.cs index 6a45450c..8b20d211 100644 --- a/src/Credfeto.Package/PackageUpdaterSetup.cs +++ b/src/Credfeto.Package/PackageUpdaterSetup.cs @@ -1,10 +1,8 @@ -using System.Diagnostics.CodeAnalysis; using Credfeto.Package.Services; using Microsoft.Extensions.DependencyInjection; namespace Credfeto.Package; -[ExcludeFromCodeCoverage] public static class PackageUpdaterSetup { public static IServiceCollection AddPackageUpdater(this IServiceCollection services)