Skip to content

refactor: Removing all dependency to Guard.NET. #162

refactor: Removing all dependency to Guard.NET.

refactor: Removing all dependency to Guard.NET. #162

Re-run triggered January 14, 2025 13:57
Status Success
Total duration 2m 46s
Artifacts

code-coverage.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Analyze (csharp)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (csharp): src/Arcus.WebApi.Tests.Unit/Hosting/Formatting/MvcOptionsExtensionsTests.cs#L16
'MvcOptionsExtensions.ConfigureJsonFormatting(MvcOptions, Action<JsonSerializerOptions>)' is obsolete: 'Use the MvcCoreMvcBuilderExtensions.AddJsonOptions instead to configure the JSON formatters'
Analyze (csharp): src/Arcus.WebApi.Tests.Unit/Logging/IServiceCollectionExtensionsTests.cs#L20
'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.'
Analyze (csharp): src/Arcus.WebApi.Tests.Unit/Logging/IServiceCollectionExtensionsTests.cs#L38
'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.'
Analyze (csharp): src/Arcus.WebApi.Tests.Unit/Security/Authentication/CertificateAuthenticationFilterTests.cs#L13
'CertificateAuthenticationFilter.CertificateAuthenticationFilter(CertificateAuthenticationOptions)' is obsolete: 'Use the new constructor with the certificate authentication filter instead'
Analyze (csharp): src/Arcus.WebApi.Tests.Integration/Fixture/TestApiServer.cs#L72
'ApplicationInsightsServiceOptions.InstrumentationKey' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
Analyze (csharp): src/Arcus.WebApi.Tests.Integration/Logging/AzureFunctionsCorrelationTests.cs#L175
'ApplicationInsightsServiceOptions.InstrumentationKey' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
Analyze (csharp): src/Arcus.WebApi.Tests.Integration/Logging/AzureFunctionsCorrelationTests.cs#L180
'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.'
Analyze (csharp): src/Arcus.WebApi.Tests.Integration/Security/Authentication/Fixture/SelfSignedCertificate.cs#L74
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)