PM-31920 adding the whole report endpoints v2 #17753
Annotations
2 errors and 10 warnings
|
Run tests
Failed test were found and 'fail-on-error' option is set to true
|
|
Run tests
Process completed with exit code 1.
|
|
Run tests:
src/Core/Utilities/JsonHelpers.cs#L127
The behavior of 'long.ToString()' could vary based on the current user's locale settings. Replace this call in 'MsEpochConverter.Write(Utf8JsonWriter, DateTime?, JsonSerializerOptions)' with a call to 'long.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
src/Core/AdminConsole/Models/Mail/DeviceApprovalRequestedViewModel.cs#L13
The behavior of 'string.Format(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'DeviceApprovalRequestedViewModel.Url.get' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
src/Core/Models/Mail/BaseMailModel.cs#L26
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'BaseMailModel.CurrentYear.get' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
src/Core/Models/Mail/Provider/ProviderInitiateDeleteModel.cs#L8
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'ProviderInitiateDeleteModel.Url.get' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
src/Core/Models/Mail/Provider/ProviderSetupInviteViewModel.cs#L11
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'ProviderSetupInviteViewModel.Url.get' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
src/Core/Models/Mail/Provider/ProviderUserInvitedViewModel.cs#L14
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'ProviderUserInvitedViewModel.Url.get' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
src/Core/Billing/Pricing/Organizations/Purchasable.cs#L79
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'FreeOrScalableJsonConverter._typePropertyName' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run tests:
src/Core/Billing/Pricing/Organizations/Purchasable.cs#L30
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'PurchasableJsonConverter._typePropertyName' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run tests:
util/Server/Startup.cs#L102
The behavior of 'DateTime.ToString()' could vary based on the current user's locale settings. Replace this call in 'Startup.Configure(IApplicationBuilder, IConfiguration, ILogger<Startup>)' with a call to 'DateTime.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Server/Startup.cs#L43
The behavior of 'DateTime.ToString()' could vary based on the current user's locale settings. Replace this call in 'Startup.Configure(IApplicationBuilder, IConfiguration, ILogger<Startup>)' with a call to 'DateTime.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|