Skip to content

Update dependency StyleCop.Analyzers to 1.2.0-beta.556 #42

Update dependency StyleCop.Analyzers to 1.2.0-beta.556

Update dependency StyleCop.Analyzers to 1.2.0-beta.556 #42

Triggered via pull request December 20, 2023 21:48
Status Failure
Total duration 36s
Artifacts

pull-requests.yml

on: pull_request
build-test-pull-request
27s
build-test-pull-request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build-test-pull-request: src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L20
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
build-test-pull-request: src/Cake.Buildah/GenericBuildahRunner.cs#L39
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
build-test-pull-request: src/Cake.Buildah/GenericBuildahRunner.cs#L44
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
build-test-pull-request: src/Cake.Buildah/ArgumentsBuilderExtension.cs#L32
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
build-test-pull-request: src/Cake.Buildah/ArgumentsBuilderExtension.cs#L37
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
build-test-pull-request: src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L58
Use 'string.IndexOf(char)' instead of 'string.IndexOf(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865)
build-test-pull-request: src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L38
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
build-test-pull-request: src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L43
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
build-test-pull-request: src/Cake.Buildah/GenericBuildahRunner.cs#L72
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
build-test-pull-request: src/Cake.Buildah/GenericBuildahRunner.cs#L77
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)