Skip to content

chore(deps): update nuget non-major dependencies #419

chore(deps): update nuget non-major dependencies

chore(deps): update nuget non-major dependencies #419

Triggered via pull request September 24, 2024 13:41
Status Failure
Total duration 13m 15s
Artifacts

build-and-analyze.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Build and Test
Process completed with exit code 1.
Analyze
Process completed with exit code 1.
Analyze: src/Altinn.Swashbuckle/src/Altinn.Swashbuckle.Abstractions/Examples/ExampleDataProvider.cs#L8
Convert this 'abstract' class to an interface. (https://rules.sonarsource.com/csharp/RSPEC-1694)
Analyze: src/Altinn.Swashbuckle/src/Altinn.Swashbuckle.Abstractions/Examples/Providers/NullableExampleDataProvider.cs#L31
Remove unused constructor of private type 'Provider'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Analyze: src/Altinn.Swashbuckle/src/Altinn.Swashbuckle.Abstractions/Examples/Providers/NumberExampleDataProvider.cs#L14
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
Analyze: src/Altinn.Swashbuckle/src/Altinn.Swashbuckle.Abstractions/Examples/Providers/ExampleDataProviderProvider.cs#L10
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
Analyze: src/Altinn.Swashbuckle/src/Altinn.Swashbuckle.Abstractions/Examples/DefaultExampleDataProviderResolver.cs#L31
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Analyze: src/Altinn.Swashbuckle/src/Altinn.Swashbuckle.Abstractions/Examples/DefaultExampleDataProviderResolver.cs#L61
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
Analyze: src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/ProblemExtensionData.cs#L534
Remove unused constructor of private type 'ProblemExtensionDataDebuggerProxy'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Analyze: src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/ErrorCode.cs#L17
'ISpanFormattable' implements 'IFormattable' so 'IFormattable' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
Analyze: src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/ProblemExtensionData.cs#L19
'IReadOnlyCollection<KeyValuePair<string, string>>' implements 'IEnumerable<KeyValuePair<string, string>>' so 'IEnumerable<KeyValuePair<string, string>>' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
Analyze: src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/ProblemExtensionData.cs#L20
'IReadOnlyDictionary<string, string>' implements 'IReadOnlyCollection<KeyValuePair<string, string>>' so 'IReadOnlyCollection<KeyValuePair<string, string>>' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)