File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
administrator/components/com_patchtester/src Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 4040class 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 ' ,
You can’t perform that action at this time.
0 commit comments