mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-05-29 03:50:46 +00:00
fix php cs
This commit is contained in:
parent
a30d83b243
commit
428ac867e0
|
@ -301,7 +301,10 @@ class PullsModel extends ListModel
|
||||||
$pulls = json_decode($pullsResponse->body);
|
$pulls = json_decode($pullsResponse->body);
|
||||||
} catch (UnexpectedResponse $exception) {
|
} catch (UnexpectedResponse $exception) {
|
||||||
throw new RuntimeException(
|
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
|
// If this is page 1, let's check to see if we need to paginate
|
||||||
|
@ -390,7 +393,10 @@ class PullsModel extends ListModel
|
||||||
$this->getDatabase()->execute();
|
$this->getDatabase()->execute();
|
||||||
} catch (RuntimeException $exception) {
|
} catch (RuntimeException $exception) {
|
||||||
throw new RuntimeException(
|
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) {
|
if ($labels) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user