当前位置:Gxlcms > PHP教程 > SonarQubePHP2.8发布

SonarQubePHP2.8发布

时间:2021-07-01 10:21:17 帮助过:20人阅读

SonarQube PHP 2.8 发布了。

改进日志:

Bug

  • [ SONARPHP-598 ] - False Positive SelfKeywordUsage (S2037): methods which cannot be overridden

  • [ SONARPHP-599 ] - NullPointerException in PhpUnitResultParser for report with empty "testsuites"

  • [ SONARPHP-600 ] - False Positive UnusedFunctionParameters: parameter is used in "compact" call

  • [ SONARPHP-602 ] - False Positive UnusedLocalVariableCheck (S1481): "::class" impact

  • [ SONARPHP-611 ] - False Positive FormattingStandard (S1808): multi-line arguments

  • [ SONARPHP-612 ] - Support yield without value

  • [ SONARPHP-614 ] - PhpUnitResultParser fails for unknown tags in report

  • [ SONARPHP-615 ] - False Positive ArgumentWithDefaultValueNotLast (S1788): variable number of arguments

Improvement

  • [ SONARPHP-429 ] - Update description of rule "Files should not contain inline HTML"/S1997

  • [ SONARPHP-451 ] - Add parameter for (S107) "Functions should not have too many parameters"

  • [ SONARPHP-482 ] - Ignore data of coverage report with invalid lines

  • [ SONARPHP-503 ] - Merge AssignementByReferenceTree and AssignmentExpressionTree interfaces

  • [ SONARPHP-597 ] - Update description in POM

  • [ SONARPHP-603 ] - Improve LocalVariableShadowsClassField (S1117): do not take into account method parameters

New Feature

  • [ SONARPHP-595 ] - Add support of parsing of PHP7

  • [ SONARPHP-613 ] - Update existing rules to check anonymous classes

更多相关改进信息,请点 这里 。

下载地址: http://sonarsource.bintray.com/Distribution/sonar-php-plugin/sonar-php-plugin-2.8.jar

人气教程排行