mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-06-04 06:30:47 +00:00
Codestyle
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
parent
06750d7e97
commit
cf35adf97a
|
@ -348,14 +348,23 @@ class PullsModel extends AbstractModel
|
|||
$batchSize = 100;
|
||||
|
||||
$pullsResponse = Helper::initializeGithub()->getOpenIssues(
|
||||
$this->getState()->get('github_user'), $this->getState()->get('github_repo'), $page, $batchSize
|
||||
$this->getState()->get('github_user'),
|
||||
$this->getState()->get('github_repo'),
|
||||
$page,
|
||||
$batchSize
|
||||
);
|
||||
|
||||
$pulls = json_decode($pullsResponse->body);
|
||||
}
|
||||
catch (UnexpectedResponse $exception)
|
||||
{
|
||||
throw new \RuntimeException(Text::sprintf('COM_PATCHTESTER_ERROR_GITHUB_FETCH', $exception->getMessage()), $exception->getCode(), $exception);
|
||||
throw new \RuntimeException(
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user