Skip to content

Commit 8b0f33e

Browse files
committed
Codestyle fixes
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
1 parent 8e9d4cb commit 8b0f33e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

administrator/components/com_patchtester/src/Extension/PatchtesterComponent.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
*
2323
* @since 4.0.0
2424
*/
25-
class PatchtesterComponent extends MVCComponent
26-
implements BootableExtensionInterface
25+
class PatchtesterComponent extends MVCComponent implements BootableExtensionInterface
2726
{
2827
/**
2928
* Booting the extension. This is the function to set up the environment of the extension like

administrator/components/com_patchtester/src/Model/PullModel.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
class PullModel extends BaseDatabaseModel
4141
{
4242
use GithubCredentialsTrait;
43+
4344
/**
4445
* Array containing top level non-production folders
4546
*
@@ -54,6 +55,7 @@ class PullModel extends BaseDatabaseModel
5455
'tests',
5556
'.github',
5657
];
58+
5759
/**
5860
* Array containing non-production files
5961
*
@@ -172,6 +174,7 @@ private function applyWithCIServer(int $id): bool
172174
'userAgent',
173175
$version->getUserAgent('Joomla', true, false)
174176
);
177+
175178
// Try to download the zip file
176179
try {
177180
$http = HttpFactory::getHttp($httpOption);
@@ -275,6 +278,7 @@ private function applyWithCIServer(int $id): bool
275278
} catch (RuntimeException $exception) {
276279
Folder::delete($tempPath);
277280
Folder::move($backupsPath, $backupsPath . '_failed');
281+
278282
throw new RuntimeException(
279283
Text::sprintf(
280284
'COM_PATCHTESTER_FAILED_APPLYING_PATCH',

0 commit comments

Comments
 (0)