Skip to content

👮 Integrated sonar cloud #20

👮 Integrated sonar cloud

👮 Integrated sonar cloud #20

Triggered via pull request February 16, 2025 00:05
Status Failure
Total duration 6m 18s
Artifacts

build_test_analyze.yml

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

Annotations

1 error and 10 warnings
build_test_analyze (8.0.x, 21)
Process completed with exit code 255.
build_test_analyze (8.0.x, 21): NETCore.Keycloak.Client/Exceptions/KcException.cs#L7
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'KcException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build_test_analyze (8.0.x, 21): NETCore.Keycloak.Client/Exceptions/KcSessionClosedException.cs#L7
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'KcSessionClosedException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build_test_analyze (8.0.x, 21): NETCore.Keycloak.Client/Exceptions/KcUserNotFoundException.cs#L7
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'KcUserNotFoundException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
build_test_analyze (8.0.x, 21): NETCore.Keycloak.Client/Authorization/Store/KcRealmAdminConfigurationStore.cs#L8
Convert this 'abstract' class to an interface. (https://rules.sonarsource.com/csharp/RSPEC-1694)
build_test_analyze (8.0.x, 21): NETCore.Keycloak.Client/Authorization/Store/KcProtectedResourceStore.cs#L12
Convert this 'abstract' class to an interface. (https://rules.sonarsource.com/csharp/RSPEC-1694)
build_test_analyze (8.0.x, 21): NETCore.Keycloak.Client/HttpClients/Implementation/KcAuth.cs#L47
Define a constant instead of using this literal 'client_id' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
build_test_analyze (8.0.x, 21): NETCore.Keycloak.Client/HttpClients/Implementation/KcAuth.cs#L50
Define a constant instead of using this literal 'client_secret' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
build_test_analyze (8.0.x, 21): NETCore.Keycloak.Client/HttpClients/Implementation/KcAuth.cs#L53
Define a constant instead of using this literal 'grant_type' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
build_test_analyze (8.0.x, 21): NETCore.Keycloak.Client/Utils/KcLoggerMessages.cs#L14
Define a constant instead of using this literal '{Message}' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
build_test_analyze (8.0.x, 21): NETCore.Keycloak.Client/Authorization/Requirements/KcAuthorizationRequirement.cs#L54
Remove this argument from the method call; it hides the caller information. (https://rules.sonarsource.com/csharp/RSPEC-3236)