33
0
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:
Michael Babker 2015-05-09 11:52:53 -04:00
parent f479a355c3
commit bf2b6d27bc
2 changed files with 3 additions and 2 deletions

View File

@ -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;
} }