Skip to content

Commit

Permalink
fix php cs
Browse files Browse the repository at this point in the history
  • Loading branch information
heelc29 committed Aug 13, 2023
1 parent a30d83b commit 428ac86
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,10 @@ public function requestFromGithub(int $page): array
$pulls = json_decode($pullsResponse->body);
} catch (UnexpectedResponse $exception) {
throw new RuntimeException(
Text::sprintf('COM_PATCHTESTER_ERROR_GITHUB_FETCH', $exception->getMessage()), $exception->getCode(), $exception);
Text::sprintf('COM_PATCHTESTER_ERROR_GITHUB_FETCH', $exception->getMessage()),
$exception->getCode(),
$exception
);
}

// If this is page 1, let's check to see if we need to paginate
Expand Down Expand Up @@ -390,7 +393,10 @@ public function requestFromGithub(int $page): array
$this->getDatabase()->execute();
} catch (RuntimeException $exception) {
throw new RuntimeException(
Text::sprintf('COM_PATCHTESTER_ERROR_INSERT_DATABASE', $exception->getMessage()), $exception->getCode(), $exception);
Text::sprintf('COM_PATCHTESTER_ERROR_INSERT_DATABASE', $exception->getMessage()),
$exception->getCode(),
$exception
);
}

if ($labels) {
Expand Down

0 comments on commit 428ac86

Please sign in to comment.