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:46
created

Emojis::getList()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 8
rs 9.4285
c 0
b 0
f 0
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;
10
11
use Joomla\Github\AbstractPackage;
12
13
/**
14
 * GitHub API Emojis class for the Joomla Framework.
15
 *
16
 * @since  1.0
17
 *
18
 * @documentation  http://developer.github.com/v3/emojis/
19
 */
20
class Emojis extends AbstractPackage
21
{
22
	/**
23
	 * Lists all the emojis available to use on GitHub.
24
	 *
25
	 * @return  array
26
	 *
27
	 * @since   1.1
28
	 * @throws  \DomainException
29
	 */
30
	public function getList()
31
	{
32
		// Build the request path.
33
		$path = '/emojis';
34
35
		// Send the request.
36
		return $this->processResponse($this->client->get($this->fetchUrl($path)));
37
	}
38
}
39