Skip to content

Commit

Permalink
Merge pull request #356 from heelc29/php-cs
Browse files Browse the repository at this point in the history
fix php cs
  • Loading branch information
roland-d authored Aug 14, 2023
2 parents 274fa44 + 428ac86 commit 81089ae
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 81089ae

Please sign in to comment.