GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — develop (#322)
by
unknown
01:57
created

Feeds   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 19
rs 10
c 0
b 0
f 0
wmc 1
lcom 1
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFeeds() 0 9 1
1
<?php
2
/**
3
 * Part of the Joomla Framework Github Package
4
 *
5
 * @copyright  Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
6
 * @license    GNU General Public License version 2 or later; see LICENSE
7
 */
8
9
namespace Joomla\Github\Package\Activity;
10
11
use Joomla\Github\AbstractPackage;
12
13
/**
14
 * GitHub API Activity Feeds class for the Joomla Framework.
15
 *
16
 * @documentation https://developer.github.com/v3/activity/feeds/
17
 *
18
 * @since  1.4.0
19
 */
20
class Feeds extends AbstractPackage
21
{
22
	/**
23
	 * List Feeds.
24
	 *
25
	 * @return  object
26
	 *
27
	 * @since   1.4.0
28
	 */
29
	public function getFeeds()
30
	{
31
		// Build the request path.
32
		$path = '/feeds';
33
34
		return $this->processResponse(
35
			$this->client->get($this->fetchUrl($path))
36
		);
37
	}
38
}
39