diff --git a/administrator/components/com_patchtester/helpers/patchtester.php b/administrator/components/com_patchtester/helpers/patchtester.php index 62c8589..4be5990 100644 --- a/administrator/components/com_patchtester/helpers/patchtester.php +++ b/administrator/components/com_patchtester/helpers/patchtester.php @@ -8,6 +8,8 @@ defined('_JEXEC') or die; +use Joomla\Registry\Registry; + /** * Helper class for the patch tester component * @@ -27,7 +29,7 @@ abstract class PatchtesterHelper { $params = JComponentHelper::getParams('com_patchtester'); - $options = new JRegistry; + $options = new Registry; // If an API token is set in the params, use it for authentication if ($params->get('gh_token', '')) diff --git a/administrator/components/com_patchtester/models/pull.php b/administrator/components/com_patchtester/models/pull.php index 2bf6b37..c61c422 100644 --- a/administrator/components/com_patchtester/models/pull.php +++ b/administrator/components/com_patchtester/models/pull.php @@ -8,6 +8,8 @@ defined('_JEXEC') or die; +use Joomla\Registry\Registry; + /** * Methods supporting pull requests. * @@ -154,7 +156,7 @@ class PatchtesterModelPull extends JModelLegacy } // Set up the JHttp object - $options = new JRegistry; + $options = new Registry; $options->set('userAgent', 'JPatchTester/2.0'); $options->set('timeout', 120); diff --git a/administrator/components/com_patchtester/views/pulls/view.html.php b/administrator/components/com_patchtester/views/pulls/view.html.php index 3984248..14da85d 100644 --- a/administrator/components/com_patchtester/views/pulls/view.html.php +++ b/administrator/components/com_patchtester/views/pulls/view.html.php @@ -35,7 +35,7 @@ class PatchtesterViewPulls extends JViewLegacy /** * State object * - * @var JRegistry + * @var \Joomla\Registry\Registry * @since 1.0 */ protected $state;