Merge pull request #2349 from microsoft/dependabot/nuget/Verify.Xunit… #1971
sonarcloud.yml
on: push
check if SONAR_TOKEN is set in github secrets
2s
Build
5m 5s
Annotations
10 warnings
|
Build:
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L89
Define a constant instead of using this literal 'double' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
Build:
src/Microsoft.OpenApi/Extensions/OpenAPIWriterExtensions.cs#L5
Rename class 'OpenAPIWriterExtensions' to match pascal case naming rules, consider using 'OpenApiWriterExtensions'. (https://rules.sonarsource.com/csharp/RSPEC-101)
|
|
Build:
src/Microsoft.OpenApi/Writers/OpenApiYamlWriter.cs#L76
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Build:
src/Microsoft.OpenApi/Attributes/TrimmingAttributes.cs#L340
Remove the 'FlagsAttribute' from this enum. (https://rules.sonarsource.com/csharp/RSPEC-4070)
|
|
Build:
src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L23
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
|
|
Build:
src/Microsoft.OpenApi/Reader/V2/OpenApiSecuritySchemeDeserializer.cs#L110
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiRequestBody.cs#L140
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi/IsExternalInit.cs#L1
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
performance/resultsComparer/policies/PercentageMemoryUsagePolicy.cs#L54
Parameters to 'GetPercentageDifference' have the same names but not the same order as the method arguments. (https://rules.sonarsource.com/csharp/RSPEC-2234)
|
|
Build:
performance/resultsComparer/Program.cs#L9
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|