Skip to content

cleaning

cleaning #277

Triggered via push June 30, 2024 15:49
Status Success
Total duration 44s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: Serverless/AzureFunctions.Webhook/Startup.cs#L13
In externally visible method 'void Startup.Configure(IFunctionsHostBuilder builder)', validate parameter 'builder' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build: Serverless/AwsLambda.Webhook/lambda-bot/Function.cs#L21
In externally visible method 'Task<string> LambdaFunction.FunctionHandler(JsonElement request, ILambdaContext context)', validate parameter 'context' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build: Webhook.Controllers/Program.cs#L45
Dereference of a possibly null reference.
build: Webhook.Controllers/Controllers/BotController.cs#L17
In externally visible method 'Task<IActionResult> BotController.Post(Update update, UpdateHandlers handleUpdateService, CancellationToken cancellationToken)', validate parameter 'handleUpdateService' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build: Webhook.Controllers/Services/ConfigureWebhook.cs#L19
In externally visible method 'ConfigureWebhook.ConfigureWebhook(ILogger<ConfigureWebhook> logger, IServiceProvider serviceProvider, IOptions<BotConfiguration> botOptions)', validate parameter 'botOptions' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build: Webhook.Controllers/Services/ConfigureWebhook.cs#L33
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Webhook.Controllers/Services/UpdateHandlers.cs#L32
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Webhook.Controllers/Services/ConfigureWebhook.cs#L47
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Webhook.Controllers/Services/UpdateHandlers.cs#L59
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Webhook.Controllers/Services/UpdateHandlers.cs#L74
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)