Skip to content

Update dependency Meziantou.Analyzer to v2 #503

Update dependency Meziantou.Analyzer to v2

Update dependency Meziantou.Analyzer to v2 #503

Triggered via pull request July 17, 2024 01:29
Status Success
Total duration 5m 12s
Artifacts

build.yml

on: pull_request
Matrix: SonarCloud
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
SonarCloud (Debug)
The following actions uses node12 which is deprecated and will be forced to run on node16: microsoft/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
SonarCloud (Debug)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/[email protected], actions/checkout@v3, actions/setup-dotnet@v2, microsoft/[email protected], actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
SonarCloud (Debug): Serilog.Sinks.RichTextWinForm/Sinks.RichTextWinForm/Output/LevelTokenRenderer.cs#L49
Possible null reference argument for parameter 'format' in 'string LevelOutputFormat.GetLevelMoniker(LogEventLevel value, string format)'.
SonarCloud (Debug): Serilog.Sinks.RichTextWinForm/Sinks.RichTextWinForm/Rendering/ThemedMessageTemplateRenderer.cs#L46
Possible null reference argument for parameter 'format' in 'void ThemedMessageTemplateRenderer.RenderValue(RichTextTheme richTextTheme, ThemedValueFormatter themedValueFormatter, LogEventPropertyValue propertyValue, RichTextBox output, string format)'.
SonarCloud (Debug): Serilog.Sinks.RichTextWinForm/Sinks.RichTextWinForm/Rendering/ThemedMessageTemplateRenderer.cs#L62
Possible null reference argument for parameter 'format' in 'void ThemedMessageTemplateRenderer.RenderValue(RichTextTheme richTextTheme, ThemedValueFormatter themedValueFormatter, LogEventPropertyValue propertyValue, RichTextBox output, string format)'.
SonarCloud (Debug): Serilog.Sinks.RichTextWinForm/Sinks.RichTextWinForm/Formatting/ThemedJsonValueFormatter.cs#L59
Possible null reference argument for parameter 'str' in 'void JsonValueFormatter.WriteQuotedJsonString(string str, TextWriter output)'.
SonarCloud (Debug): Serilog.Sinks.RichTextWinForm/Sinks.RichTextWinForm/Formatting/ThemedJsonValueFormatter.cs#L300
Possible null reference argument for parameter 'str' in 'void JsonValueFormatter.WriteQuotedJsonString(string str, TextWriter output)'.
SonarCloud (Debug): Serilog.Sinks.RichTextWinForm/Sinks.RichTextWinForm/Rendering/Casing.cs#L36
Do not suppress issues. (https://rules.sonarsource.com/csharp/RSPEC-1309)
SonarCloud (Debug): Serilog.Sinks.RichTextWinForm/obj/x64/Debug/net6.0-windows/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs#L3
Remove this unnecessary 'using'. (https://rules.sonarsource.com/csharp/RSPEC-1128)
SonarCloud (Debug): Serilog.Sinks.RichTextWinForm/RichTextWinFormLoggerConfigurationExtensions.cs#L32
Refactor this method to add validation of parameter 'loggerSinkConfiguration' before using it. (https://rules.sonarsource.com/csharp/RSPEC-3900)
SonarCloud (Debug): Serilog.Sinks.RichTextWinForm/RichTextWinFormLoggerConfigurationExtensions.cs#L56
Refactor this method to add validation of parameter 'loggerSinkConfiguration' before using it. (https://rules.sonarsource.com/csharp/RSPEC-3900)
SonarCloud (Debug): Serilog.Sinks.RichTextWinForm/Sinks.RichTextWinForm/Formatting/ThemedJsonValueFormatter.cs#L33
As the implementation is relatively long, change this into a standard method implementation. (https://geeksltd.github.io/GCop/#/Rules/GCop436)
SonarCloud (Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
SonarCloud (Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
SonarCloud (Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
SonarCloud (Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/