From bf2b6d27bc1cfad78e85cad26f591dd06b56d78a Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Sat, 9 May 2015 11:52:53 -0400 Subject: [PATCH] Fix PHPCS issues --- .../components/com_patchtester/PatchTester/Model/PullModel.php | 3 ++- .../com_patchtester/PatchTester/Model/PullsModel.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/administrator/components/com_patchtester/PatchTester/Model/PullModel.php b/administrator/components/com_patchtester/PatchTester/Model/PullModel.php index aa6afb1..2a57012 100644 --- a/administrator/components/com_patchtester/PatchTester/Model/PullModel.php +++ b/administrator/components/com_patchtester/PatchTester/Model/PullModel.php @@ -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; } diff --git a/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php b/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php index af90b37..c73271c 100644 --- a/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php +++ b/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php @@ -64,7 +64,7 @@ class PullsModel extends \JModelDatabase $db = $this->getDb(); $db->setQuery( - $db->getQuery(true) + $db->getQuery(true) ->select('*') ->from($db->quoteName('#__patchtester_tests')) ->where($db->quoteName('applied') . ' = 1')