From afc2b136635039e4e9417df6d85e92cde35a9b80 Mon Sep 17 00:00:00 2001 From: Rudy Regazzoni <110470341+rudy-regazzoni-sonarsource@users.noreply.github.com> Date: Fri, 8 Nov 2024 10:47:50 +0100 Subject: [PATCH] more --- .../java/com/sonar/it/php/FrameworkDetectionPHPTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }