mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-11-15 17:47:10 +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));
|
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;
|
$file->body = $transport->get($url)->body;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user