Merge pull request #1472 from DFE-Digital/obfuscate-postcode #3591
Annotations
10 warnings
sonarcloud:
GetIntoTeachingApi/Attributes/PrivateShortTermResponseCacheAttribute.cs#L5
Specify AttributeUsage on 'PrivateShortTermResponseCacheAttribute' to improve readability, even though it inherits it from its base type. (https://rules.sonarsource.com/csharp/RSPEC-3993)
|
sonarcloud:
GetIntoTeachingApi/Jobs/LocationSyncJob.cs#L24
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
|
sonarcloud:
GetIntoTeachingApi/Models/Location.cs#L22
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
|
sonarcloud:
GetIntoTeachingApi/Models/Location.cs#L24
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
|
sonarcloud:
GetIntoTeachingApi/Services/CrmService.cs#L29
Remove this unread private field '_env' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
sonarcloud:
GetIntoTeachingApi/Middleware/RequestResponseLoggingMiddleware.cs#L34
Remove the unused private method 'ReadStream'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
|
sonarcloud:
GetIntoTeachingApi/Services/CrmService.cs#L87
Define a constant instead of using this literal 'dfe_starttime' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
sonarcloud:
GetIntoTeachingApi/Services/CrmService.cs#L185
Define a constant instead of using this literal 'contact' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
sonarcloud:
GetIntoTeachingApi/Migrations/20200810073833_UpdateEventSchema.cs#L11
Define a constant instead of using this literal 'TeachingEventBuildings' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
sonarcloud:
GetIntoTeachingApi/Migrations/20200812092655_TeachingEventBuildingOnDeleteNullify.cs#L10
Define a constant instead of using this literal 'FK_TeachingEvents_TeachingEventBuildings_BuildingId' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|