Fix more Testdata path casing errors (#1219) #3202
build-and-analyze.yml
on: push
Build and Test
1m 2s
Analyze
4m 25s
Annotations
20 warnings
Build and Test:
src/Authorization/Exceptions/PlatformHttpException.cs#L45
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
Build and Test:
src/Authorization/Repositories/DelegationMetadataRepository.cs#L43
'NpgsqlConnection.GlobalTypeMapper' is obsolete: 'Global-level type mapping has been replaced with data source mapping, see the 7.0 release notes.'
|
Build and Test:
src/Authorization/Helpers/EventLogHelper.cs#L193
Converting null literal or possible null value to non-nullable type.
|
Build and Test:
src/Authorization/Helpers/EventLogHelper.cs#L194
Possible null reference return.
|
Build and Test
Found version-specific or distribution-specific runtime identifier(s): win7-x64. Affected libraries: Microsoft.Azure.DocumentDB.Core. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
|
Build and Test:
test/IntegrationTests/Util/PrincipalUtil.cs#L50
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build and Test:
test/IntegrationTests/Util/PrincipalUtil.cs#L50
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build and Test:
test/IntegrationTests/Util/PrincipalUtil.cs#L59
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build and Test:
test/IntegrationTests/Util/PrincipalUtil.cs#L59
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build and Test:
test/IntegrationTests/ContextHandlerTest.cs#L56
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
Analyze:
src/Altinn.Authorization.ABAC/Constants/Xacml30Constants.cs#L11
Add a 'private' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
Analyze:
src/Altinn.Authorization.ABAC/Constants/XmlConstants.cs#L11
Add a 'private' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
Analyze:
src/Altinn.Authorization.ABAC/Constants/XacmlConstants.cs#L11
Add a 'private' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
Analyze:
src/Functions/Factories/CustomQueueProcessorFactory.cs#L35
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
|
Analyze:
src/Altinn.Authorization.ABAC/Xacml/XacmlAnyOf.cs#L50
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
|
Analyze:
src/Functions/Services/EventReplayService.cs#L66
Logging in a catch clause should pass the caught exception as a parameter. (https://rules.sonarsource.com/csharp/RSPEC-6667)
|
Analyze:
src/Altinn.Authorization.ABAC/Utils/XacmlJsonXmlConverter.cs#L13
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
Analyze:
src/Functions/Services/AccessTokenProvider.cs#L62
Remove this set, which updates a 'static' field from an instance method. (https://rules.sonarsource.com/csharp/RSPEC-2696)
|
Analyze:
src/Functions/Services/EventReplayService.cs#L42
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
|
Analyze:
src/Altinn.Authorization.ABAC/Xacml/XacmlAttributeAssignment.cs#L93
Refactor this getter so that it actually refers to the field 'value'. (https://rules.sonarsource.com/csharp/RSPEC-4275)
|