Add use import statements for PHP Snippets #3104
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
4m 36s
Annotations
10 warnings
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PhpGenerator.cs#L122
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PhpGenerator.cs#L267
Remove this unused method parameter 'childPosition'. (https://rules.sonarsource.com/csharp/RSPEC-1172)
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PhpGenerator.cs#L267
Method has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PhpGenerator.cs#L423
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PhpGenerator.cs#L488
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PhpGenerator.cs#L489
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PhpGenerator.cs#L544
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
Build:
GraphWebApi/Startup.cs#L43
'ApplicationInsightsServiceOptions.InstrumentationKey' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PhpGenerator.cs#L122
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PhpGenerator.cs#L267
Remove this unused method parameter 'childPosition'. (https://rules.sonarsource.com/csharp/RSPEC-1172)
|