Skip to content

Fix add allowed types #18

Fix add allowed types

Fix add allowed types #18

Triggered via pull request January 19, 2024 09:53
Status Failure
Total duration 2m 21s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
tests
Process completed with exit code 1.
tests: src/Transactions/MongoTransactionDatabase.cs#L224
All 'DropCollection' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
tests: src/Transactions/MongoTransactionDatabase.cs#L247
All 'DropCollectionAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
tests: src/Transactions/MongoTransactionCollection.cs#L685
Rename parameter 'cancellationToken' to '_cancellationToken' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
tests: src/Transactions/MongoTransactionDatabase.cs#L224
All 'DropCollection' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
tests: src/Transactions/MongoTransactionDatabase.cs#L247
All 'DropCollectionAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
tests: src/Transactions/MongoTransactionCollection.cs#L685
Rename parameter 'cancellationToken' to '_cancellationToken' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
tests: src/Context/MongoOptions.cs#L12
Non-nullable property 'ConnectionString' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
tests: src/Context/MongoOptions.cs#L13
Non-nullable property 'DatabaseName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
tests: src/Context/Extensions/TypeExtensions.cs#L22
Possible null reference return.
tests: src/Context/Internal/DependencyTypesResolver.cs#L9
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)