Update dependency Moq to 4.20.72 (main) #5477
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build solution, test and run SonarCloud scanner:
ConcernsCaseWork/ConcernsCaseWork.UserContext/UserInfo.cs#L41
Possible null reference return.
|
Build solution, test and run SonarCloud scanner:
ConcernsCaseWork/ConcernsCaseWork.UserContext/UserInfo.cs#L8
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build solution, test and run SonarCloud scanner:
ConcernsCaseWork/ConcernsCaseWork.UserContext/UserInfo.cs#L9
Non-nullable property 'Roles' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build solution, test and run SonarCloud scanner:
ConcernsCaseWork/ConcernsCaseWork.UserContext/ClientUserInfoService.cs#L14
Non-nullable property 'UserInfo' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build solution, test and run SonarCloud scanner:
ConcernsCaseWork/ConcernsCaseWork.UserContext/ClientUserInfoService.cs#L24
All 'SetPrincipal' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Build solution, test and run SonarCloud scanner:
ConcernsCaseWork/ConcernsCaseWork.UserContext/ServerUserInfoService.cs#L21
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
Build solution, test and run SonarCloud scanner:
ConcernsCaseWork/ConcernsCaseWork.UserContext/ClientUserInfoService.cs#L65
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
Build solution, test and run SonarCloud scanner:
ConcernsCaseWork/ConcernsCaseWork.UserContext/ClientUserInfoService.cs#L61
Make 'GetPrincipalName' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
Build solution, test and run SonarCloud scanner:
ConcernsCaseWork/ConcernsCaseWork.Logging/CorrelationContext.cs#L5
Non-nullable property 'CorrelationId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build solution, test and run SonarCloud scanner:
ConcernsCaseWork/ConcernsCaseWork.Logging/LoggerExtensions.cs#L13
Move 'filePath' to the end of the parameter list. (https://rules.sonarsource.com/csharp/RSPEC-3343)
|
Loading