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.

GroupTask   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Test Coverage

Coverage 75%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 32
c 1
b 0
f 0
rs 10
ccs 6
cts 8
cp 0.75
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getGroup() 0 3 1
A __construct() 0 4 1
A run() 0 2 1
1
<?php
2
/* (c) Anton Medvedev <[email protected]>
3
 *
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 */
7
8
namespace Deployer\Task;
9
10
class GroupTask extends Task
11
{
12
    /**
13
     * List of tasks.
14
     *
15
     * @var string[]
16
     */
17
    private $group;
18
19
    /**
20
     * @param string $name
21
     * @param string[] $group
22
     */
23 10
    public function __construct($name, $group)
24
    {
25 10
        parent::__construct($name);
26 10
        $this->group = $group;
27 10
    }
28
29
    public function run(Context $context)
30
    {
31
        // TODO: implement;
32
    }
33
34
    /**
35
     * List of dependent tasks names
36
     *
37
     * @return string[]
38
     */
39 5
    public function getGroup()
40
    {
41 5
        return $this->group;
42
    }
43
}
44