Update dependency NetEscapades.AspNetCore.SecurityHeaders to v0.22.0 … #4126
continuous-integration-dotnet.yml
on: push
appsettings
3s
build-test
3m 57s
Annotations
10 warnings
build-test:
ConcernsCaseWork/ConcernsCaseWork.UserContext/ClientUserInfoService.cs#L14
Non-nullable property 'UserInfo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build-test:
ConcernsCaseWork/ConcernsCaseWork.UserContext/UserInfo.cs#L41
Possible null reference return.
|
build-test:
ConcernsCaseWork/ConcernsCaseWork.UserContext/UserInfo.cs#L8
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build-test:
ConcernsCaseWork/ConcernsCaseWork.UserContext/UserInfo.cs#L9
Non-nullable property 'Roles' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build-test:
ConcernsCaseWork/ConcernsCaseWork.UserContext/ClientUserInfoService.cs#L24
All 'SetPrincipal' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
build-test:
ConcernsCaseWork/ConcernsCaseWork.UserContext/ClientUserInfoService.cs#L65
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
build-test:
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-test:
ConcernsCaseWork/ConcernsCaseWork.UserContext/UserInfo.cs#L32
"Array.Find" static method should be used instead of the "FirstOrDefault" extension method. (https://rules.sonarsource.com/csharp/RSPEC-6602)
|
build-test:
ConcernsCaseWork/ConcernsCasework.UserContext.Tests/UserInfoServiceTests.cs#L14
Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699)
|
build-test:
ConcernsCaseWork/ConcernsCaseWork.API.Contracts/Case/ActiveCaseSummaryResponse.cs#L24
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|