Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Update dotnet monorepo (patch) #144

Update dotnet monorepo (patch)

Update dotnet monorepo (patch) #144

Triggered via pull request October 15, 2024 22:14
Status Failure
Total duration 1m 36s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build-and-test
Process completed with exit code 1.
build-and-test: Dfe.Identifiers.Domain/Query/EstablishmentQueryResult.cs#L7
Non-nullable field 'Establishment' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-and-test: Dfe.Identifiers.Domain/Query/EstablishmentQueryResult.cs#L8
Non-nullable field 'LocalAuthority' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build-and-test: Dfe.Identifiers.Domain/Helpers/IdentifierMapping.cs#L11
Dereference of a possibly null reference.
build-and-test: Dfe.Identifiers.Domain/Query/EstablishmentQueryResult.cs#L8
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
build-and-test: Dfe.Identifiers.Domain/Query/EstablishmentQueryResult.cs#L7
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
build-and-test: Dfe.Identifiers.Domain/Query/EstablishmentQueryResult.cs#L9
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
build-and-test: Dfe.Identifiers.Infrastructure/Repositories/EstablishmentRepository.cs#L17
Possible null reference argument for parameter 'value' in 'bool string.StartsWith(string value)'.
build-and-test: Dfe.Identifiers.Infrastructure/Repositories/EstablishmentRepository.cs#L17
Possible null reference argument for parameter 'value' in 'bool string.EndsWith(string value)'.
build-and-test: Dfe.Identifiers.Infrastructure/Migrations/Academisation/20240423142452_InitialCreate.cs#L14
Define a constant instead of using this literal 'academisation' 9 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
build-and-test: Dfe.Identifiers.Infrastructure/Migrations/Academisation/20240423142452_InitialCreate.cs#L23
Define a constant instead of using this literal 'nvarchar(max)' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)