Skip to content

Commit

Permalink
Update src/Phing/Task/Ext/Analyzer/Sonar/SonarTask.php
Browse files Browse the repository at this point in the history
Accepted suggestion

Co-authored-by: Dan Wallis <[email protected]>
  • Loading branch information
feamsr00 and fredden authored Sep 5, 2024
1 parent b507aa9 commit 886c04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Phing/Task/Ext/Analyzer/Sonar/SonarTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ private function validateExecutable()

$isOk = false;
foreach ($output as $line) {
if (preg_match('/Sonar(Qube )?Scanner CLI \d+\\.\d+/', $line) === 1) {
if (preg_match('/Sonar(Qube )?Scanner( CLI)? \d+\\.\d+/', $line) === 1) {
$isOk = true;
break;
}
Expand Down

0 comments on commit 886c04e

Please sign in to comment.