Merge pull request #2320 from microsoft/docs/upgrade-guide-catch-up #1910
sonarcloud.yml
on: push
check if SONAR_TOKEN is set in github secrets
0s
Build
5m 37s
Annotations
10 warnings
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)
|
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:
src/Microsoft.OpenApi/IsExternalInit.cs#L1
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/Reader/V2/OpenApiSecuritySchemeDeserializer.cs#L110
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
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/Writers/OpenApiYamlWriter.cs#L76
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
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/JsonPointer.cs#L51
Refactor 'ParentPointer' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
|
Build:
src/Microsoft.OpenApi/Attributes/TrimmingAttributes.cs#L340
Remove the 'FlagsAttribute' from this enum. (https://rules.sonarsource.com/csharp/RSPEC-4070)
|