Skip to content

Commit

Permalink
DQA-6996: Fix regression with php lint (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
crgomes authored May 12, 2023
1 parent c6a7c08 commit c66bb3f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/TaskRunner/Commands/LintCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,12 @@ public function toolkitLintPhp(array $options = [
}
}

return $this->collectionBuilder()->addTask($task->rawArg('.'));
$result = $task->rawArg('.')->run();
if ($result->getExitCode() === 254) {
return ResultData::EXITCODE_OK;
}

return $result->getExitCode();
}

}

0 comments on commit c66bb3f

Please sign in to comment.