diff --git a/its/plugin/tests/src/integrationTest/java/com/sonar/it/php/FrameworkDetectionPHPTest.java b/its/plugin/tests/src/integrationTest/java/com/sonar/it/php/FrameworkDetectionPHPTest.java index db0a945f8..be576b9e4 100644 --- a/its/plugin/tests/src/integrationTest/java/com/sonar/it/php/FrameworkDetectionPHPTest.java +++ b/its/plugin/tests/src/integrationTest/java/com/sonar/it/php/FrameworkDetectionPHPTest.java @@ -32,7 +32,7 @@ class FrameworkDetectionPHPTest { @RegisterExtension - public static OrchestratorExtension orchestrator = Tests.ORCHESTRATOR; + public static final OrchestratorExtension orchestrator = Tests.ORCHESTRATOR; @Test void shouldNotDetectIssueWhenFrameworkDetectionDisabled() { @@ -46,7 +46,7 @@ void shouldDetectIssueWhenFrameworkDetectionEnabled() { assertThat(issues).hasSize(1); } - List scanDrupalProject(String name, String key, boolean frameworkDetetionEnabled) { + List scanDrupalProject(String name, String key, boolean frameworkDetectionEnabled) { Tests.provisionProject(key, name, "php", "drupal-profile"); SonarScanner build = createScanner() .setProjectDir(Tests.projectDirectoryFor("drupal_project")) @@ -54,7 +54,7 @@ List scanDrupalProject(String name, String key, boolean frameworkD .setProjectName(name) .setSourceEncoding("UTF-8") .setSourceDirs(".") - .setProperty("sonar.php.frameworkDetection", "" + frameworkDetetionEnabled); + .setProperty("sonar.php.frameworkDetection", "" + frameworkDetectionEnabled); Tests.executeBuildWithExpectedWarnings(orchestrator, build); return Tests.issuesForComponent(key); }