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
Push — 2.9 ( 0ec496...bdebac )
by Thorsten
14:49
created

PMF_Instance_Elasticsearch   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 18
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
 * The phpMyFAQ instances basic Elasticsearch class.
5
 *
6
 * PHP Version 5.5
7
 *
8
 * This Source Code Form is subject to the terms of the Mozilla Public License,
9
 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
 * obtain one at http://mozilla.org/MPL/2.0/
11
 *
12
 * @category  phpMyFAQ
13
 * @author    Thorsten Rinne <[email protected]>
14
 * @copyright 2015 phpMyFAQ Team
15
 * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
16
 * @link      http://www.phpmyfaq.de
17
 * @since     2015-12-25
18
 */
19
if (!defined('IS_VALID_PHPMYFAQ')) {
20
    exit();
21
}
22
23
/**
24
 * PMF_Instance_Database.
25
 *
26
 * @category  phpMyFAQ
27
 * @author    Thorsten Rinne <[email protected]>
28
 * @copyright 2015 phpMyFAQ Team
29
 * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
30
 * @link      http://www.phpmyfaq.de
31
 * @since     2015-12-25
32
 */
33
class PMF_Instance_Elasticsearch
34
{
35
    /**
36
     * @var PMF_Configuration
37
     */
38
    protected $config;
39
40
    /**
41
     * Constructor.
42
     *
43
     * @param PMF_Configuration $config
44
     */
45
    public function __construct(PMF_Configuration $config)
46
    {
47
        $this->config = $config;
48
    }
49
50
}