mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-02-10 23:48:25 +00:00
Fix PHPCS issues
This commit is contained in:
parent
f479a355c3
commit
bf2b6d27bc
@ -193,7 +193,8 @@ class PullModel extends \JModelBase
|
||||
throw new \RuntimeException(sprintf(\JText::_('COM_PATCHTESTER_FILE_MODIFIED_DOES_NOT_EXIST_S'), $file->old));
|
||||
}
|
||||
|
||||
$url = 'https://raw.github.com/' . urlencode($pull->head->user->login) . '/' . urlencode($pull->head->repo->name) . '/' . urlencode($pull->head->ref) . '/' . $file->new;
|
||||
$url = 'https://raw.github.com/' . urlencode($pull->head->user->login) . '/' . urlencode($pull->head->repo->name)
|
||||
. '/' . urlencode($pull->head->ref) . '/' . $file->new;
|
||||
|
||||
$file->body = $transport->get($url)->body;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user