diff --git a/src/TaskRunner/Commands/LintCommands.php b/src/TaskRunner/Commands/LintCommands.php index ed492dddd..b3256fc35 100644 --- a/src/TaskRunner/Commands/LintCommands.php +++ b/src/TaskRunner/Commands/LintCommands.php @@ -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(); } }